AFAIK, unfortunatelly it's not the same as with ZAP channels where you can group multiple lines together.<br> I ended up using slightly modified superdial macro:<br><a href="http://www.voip-info.org/wiki/view/Superdial+macro">http://www.voip-info.org/wiki/view/Superdial+macro</a>.<br>
if you add new gateway it's not necesarry to edit the macro, just add new line in dialing context.<br><br>[out_via_superdial]<br>exten => s,1,Macro(superdial,IAX2/voip1/${tfnumber},,,,voip,1,yourname,8005551234,voipjet) <br>
exten => s,2,Macro(superdial,IAX2/alpeh-com/${tfnumber},,,,voip,1,yourname,8005551234,aleph)<br>...<br>exten => s,9,Macro(superdial,IAX2/orange/${tfnumber},,,,voip,1,yourname,8005551234,orange)<br><br><br><div><span class="gmail_quote">On 5/27/09, <b class="gmail_sendername">Mariano Lecuona</b> <<a href="mailto:mlecuona@gmail.com">mlecuona@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Hey all,<br><br>I have 2 GSM to Voip gateways and probably we will grow up to 4 more gateways. I already created a macro to make failover happen between gateways, but can imagine that everytime I add a new gateway I will need to modify the macro. The initial intention of this macro was to failover between different techonolgies.<br>
So I was hoping to create a Sip Trunk group using the same idea as truckgroup under dahdi but for sip trunks.<br><br>Is that possible?, have you ever done this before?<br><br>My Idea is:<br><br>sip_trunk1 = SIP/gateway1<br>
sip_trunk2 = SIP/gateway2<br>sip_trunk3 = SIP/gateway3<br><br>gsm_trunkgoup = sip_trunk1 ; sip_trunk2 ; sip_trunk3<br><br><br>[user]<br><br>exten = _0.,1,wait()<br>exten = _0.,n,Dial(gsm_trunkgoup/${<div> exten:1},30)<br>
exten = _0.,n,Hangup<br><br>Thanks,<br clear="all"><br>-- <br>--<br><b><font color="#888888">Mariano Lecuona</font></b></div><br><br>_______________________________________________<br> -- Bandwidth and Colocation Provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br> asterisk-users mailing list<br> To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Mvh,<br>Aurimas Skirgaila