[Asterisk-Users] RE: still no solution for me, if one provider
Brent Torrenga
lists at torrenga.com
Mon Apr 10 09:54:00 MST 2006
>Our user places a call, the gateway responds with no sound at all, or
>hangs up, or gives busy tone.
>
>How can we get to the next provider?
>
>I have now:
>exten => _9011Z.,103,Dial(SIP/011${EXTEN:4}@provider-a)
>;exten => _9011Z.,103,Dial(SIP/011${EXTEN:4}@provider-b)
>;exten => _9011Z.,103,Dial(SIP/011${EXTEN:4}@provider-c)
>exten => _9011Z.,104,NoOp(${DIALSTATUS})
>
>by hand I move the remark sign around!!!
>
>How are you handling such situations?
>
>bye
>
>Ronald Wiplinger
I first try to dial provider-a, as you have, then do a gotoif on
${DIALSTATUS}, where if ${DIALSTATUS} is BUSY, then goto a priority that
does Busy(), and if it is anything else (like CONGESTION, indicating that
the provider is down or whatever), then just move on to the next priority
and dial provider-b. Repeat the steps until you have no more providers - for
me, the last step is to dial a Zap channel. Remember, if Dial() doesn't
bridge the call, the dialplan will just keep processing.
Sincerely,
Brent A. Torrenga
brent.torrenga at torrenga.com
Torrenga Engineering, Inc.
907 Ridge Road
Munster, Indiana 46321-1771
219.836.8918x325 Voice
219.836.1138 Facsimile
www.torrenga.com
More information about the asterisk-users
mailing list