[asterisk-users] Failover Configuration

Steve Totaro stotaro at totarotechnologies.com
Thu Aug 9 14:45:32 CDT 2007


John Meksavan wrote:
> Asterisk Users,
>
>  The more I work with the Asterisk 1.2.13 on the Debian Etch, the more 
> realize there is no real reliable SIP provider.  Having two Sip 
> Providers is smartest thing to do, one being your main provider, while 
> the other being the failover/safety.
>
>  Ideally, I would like it to failover automatically when there is 
> congestion/busy or sip channel dead lock.  If I have to press "9" or 
> some random digit just to make a call out on the 2nd Sip provider, it 
> would be fine also.
>
>  What would be the best way of to doing this?
>
>  Trying dialing 9 first to use the netlogic trunk did not work, so I 
> commented it out and tried doing the following way.  This does not 
> work.  Any Suggestions?
>
> [bv-outbound]
> exten => _1NXXNXXXXXX,1,Macro(dialout|SIP/${EXTEN}@bvoice-out,30)
> ;exten => _91NXXNXXXXXX.,1,Macro(dialout|SIP/${EXTEN}@bvoice-out,30)
> exten => _1NXXNXXXXXX,2,Congestion
> exten => _1NXXNXXXXXX,3,Macro(dialout|SIP/${EXTEN}@netlogic,30)
>
>
> Best Regards,
> John
Try losing the congestion line first.

Try enabling priority jumping and change this line
exten => _1NXXNXXXXXX,3,Macro(dialout|SIP/${EXTEN}@netlogic,30)
to
exten => _1NXXNXXXXXX,102,Macro(dialout|SIP/${EXTEN}@netlogic,30)


Thanks,
Steve Totaro



More information about the asterisk-users mailing list