[Asterisk-Users] RE: still no solution for me, if one provider

Ronald Wiplinger ronald at elmit.com
Mon Apr 10 10:22:39 MST 2006


Brent Torrenga wrote:
>> 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.
>   

Brent,

you mean, I could just remove the remark signs and number it 103, 104, 
105, .... since it does not matter why it failed (busy, congestions)
(maybe for statistic purpose to add a log entry for the move to the next 
provider).

bye

Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ronald.vcf
Type: text/x-vcard
Size: 319 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060410/43b971ae/ronald.vcf


More information about the asterisk-users mailing list