[Asterisk-Users] still no solution for me, if one provider fails.
Noah Miller
noahisaacmiller at gmail.com
Tue Apr 11 14:53:03 MST 2006
>> I am still looking for a solution and I am sure that I am not the only
>> one having that problem:
>>
>> If provider A fails for any reason, the next provider should be taken.
> exten => s,n,GotoIf($["${DIALSTATUS}" : "(CHANUNAVAIL|CONGESTION)"]?
> tryiax02:Hangup)
Yes, this is exactly how I've been doing it. I qualify each iax peer
in iax.conf (or sip.conf for sip peers) , and then use a GotoIf
statement using the DIALSTATUS variable in the dialplan. If your
"primary" link is down, it does put a slight pause before your call
goes out, but it works.
- Noah
More information about the asterisk-users
mailing list