[Asterisk-Users] dialout redunancy.

Brent Franks mwless at mindworks.net
Sun Feb 8 13:14:34 MST 2004


You will need to set priorities for each one.

For example:

exten => _91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
exten => _91NXXNXXXXXX,2,Playback(pstnallbusy)
exten =>
_91NXXNXXXXXX,3,Dial,IAX2/[PROTECTED]@voicepulse/${EXTEN:${TRUNKMSD}}
exten => _91NXXNXXXXXX,4,Congestion

Basically what happens here, is I try to put it out on the Verizon POTS
lines first, then if that doesn't work, I play a message saying all the
lines are busy, hold if the call is important (it's now billable), the
user holds, and it goes to voicepulse.

You could get rid of the All Busy message if you wanted, I just like to
know that the call is going to be billed (since I have unlimited LD on
my POTS lines).  If that fails, It plays a fast busy.

You can also do a qualify in your iax.conf and sip entries to know
whether they are reachable before trying the call. Read up on qualify to
find out how to do it for your needs.

Brent



-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of John Bittner
Sent: Sunday, February 08, 2004 2:37 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] dialout redunancy.

Hi,
 
How do I get asterisk to use an alternate outbound provider in the event
my primary IAX provider goes down. I currently have an IAX provider that
is having issues, so I signed up with a sip provider for a backup. I
added the sip provider info into the extensions.conf file as the second
outbound entry, but asterisk still tries to call the iax provider
1st and since the call is incomplete the end-user hangs up. Any ideas
would be helpful.
 
Thanks
 
John Bittner
Simlab.net
 




More information about the asterisk-users mailing list