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