[Asterisk-Users] Failover Registration

Rich Adamson radamson at routers.com
Sun Dec 4 15:39:25 MST 2005


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

Just be aware there can be lots of different reasons for calls not be 
processed that will not be detected and handled with the above.




More information about the asterisk-users mailing list