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

2006-04-10 Thread Brent Torrenga

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


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

2006-04-10 Thread Ronald Wiplinger

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:[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.
  


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
begin:vcard
fn:Ronald Wiplinger
n:Wiplinger;Ronald
org:ELMIT Co., Ltd.
adr:Shilin District;;5F., No.8, Alley 2, Lane 92, Dexing W. Road;Taipei;;11158;Taiwan
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+886.2.2835.7765
tel;cell:+886.939.775.516
x-mozilla-html:TRUE
url:http://www.elmit.net
version:2.1
end:vcard

___
--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