>> 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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to