[asterisk-users] Dealing with 2 SIP providers

Lee Jenkins lee at datatrakpos.com
Fri May 11 19:22:39 MST 2007


Mike wrote:
> Yeah ok.  That doesn't help.
> 
> What I mean is I want a call to go out on ProviderA, UNLESS it's down and
> then go to ProviderB.
> 
> I want it to ring 30 seconds and then Hangup if nobody has answers.
> 
> I DON'T want to dial both, only one or the other.  
> 
> Mike
> 

Mike,

You had it correct in your original post.

exten=>s,1,Dial(Sip/111|30|m)   ; <=== Try this one.  If it answers,
exten=>s,2,Dial(Sip/112|30|m)     you don't go to s,2.
-- 

Warm Regards,

Lee





More information about the asterisk-users mailing list