[Asterisk-Users] Failover Registration

Eric "ManxPower" Wieling eric at fnords.org
Sun Dec 4 14:13:25 MST 2005


With this setup Asterisk will also dial out using carrier2 even if the 
call via carrier1 does NOT fail.  It will dial out via carrier2 if the 
number is busy, disconnected, answered then ended, etc.  This is BAD BAD 
BAD.

Try looking at std-exten for an example of how to handle stuff when Dial 
exits.

Script Head wrote:
> You can simply put then in order in your dial plan:
> 
> exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@carrier1}
> exten => _1NXXNXXXXXX,2,Dial(SIP/${EXTEN}@carrier2}
> 
> and so on. if carrier1 returns an error, * will dial out using carrier2.
> 
> SciptHead
> 
> 
> On 12/2/05, *Max Clark* <max at clarksys.com <mailto:max at clarksys.com>> wrote:
> 
>     Hi all,
> 
>     I would like to have two asterisk servers in a "cluster". From what I
>     understand using a mysql database I can store all of my peer/user
>     information in the db and share this between servers. I can then
>     take my
>     polycom phone and register it to both of the asterisk servers at the
>     same time - so if one were to go offline traffic would be redirected to
>     the second.
> 
>     This works in theory for the end user - but how do I provide redundancy
>     with my upstream providers? I.e. how do I fail over my registration to
>     an upstream sip provider?
> 
>     Thanks in advance,
>     Max
> 
>     --
>        Max Clark
>        max [at] clarksys.com <http://clarksys.com>
>        http://www.clarksys.com
>     _______________________________________________
>     --Bandwidth and Colocation provided by Easynews.com
>     <http://Easynews.com> --
> 
>     Asterisk-Users mailing list
>     To UNSUBSCRIBE or update options visit:
>        http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> --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




More information about the asterisk-users mailing list