>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:[EMAIL PROTECTED]) >;exten => _9011Z.,103,Dial(SIP/011${EXTEN:[EMAIL PROTECTED]) >;exten => _9011Z.,103,Dial(SIP/011${EXTEN:[EMAIL PROTECTED]) >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 [EMAIL PROTECTED] Torrenga Engineering, Inc. 907 Ridge Road Munster, Indiana 46321-1771 219.836.8918x325 Voice 219.836.1138 Facsimile www.torrenga.com _______________________________________________ --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