> Rich Adamson [EMAIL PROTECTED] wrote: > > Kevin Walsh wrote: > > > You can apparently use the SPA-3000 dialplan to specify that the > > > call should go via its FXO port, without going via Asterisk. This > > > could be useful for emergency services. I don't have a SPA-3000 yet, > > > so I can't say what happens if you try to route an emergency call via > > > the FXO port and that port is in use. Perhaps it sends the call to > > > Asterisk instead. I'll find out when I get mine and play with it. > > > > > Yes, the dialplan for the fxs line can look like: > > (*xx|[34569]11<:@gw0>|0|00|[2-9]xxxxxx<:@gw0>|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) > > where 911 is sent to gw0 (the fxo port), > > calls to Nxxxxxx (local calls) go to gw0, > > and 1+ calls (long distance) go to a voip box (* in my case) > > > As I said, I don't have one of these yet. Do you happen to know what > the box would do if the dialplan said to route the call to <:@gw0> > and that port was already in use?
The purpose for mentioning the above was simply to indicate the dialplan includes a fair amount of flexibility. > If the call simply fails then that's a wasted facility, and I wouldn't > use it; If Asterisk was in charge then it could loop the call back to > the FXO or sent it via another route. I suspect that the SPA would > try the <:gw0> first and then fall back to the SIP link, either > automatically or as an option, before giving up. The options are there to allow that config as well. It's totally up to the individual configuring the box and not artifically limited by the manufacturer. However, I've not seen anything as yet that would allow 'if "a" is down/busy, use a secondary "b" for call completion'. > > Rather sophisticated little box. :) > > > So it would seem. I can't wait to get my hands on one in September. _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
