He 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/${exten:1},30)<br>exten = _0.,n,Hangup<br>
<br>Thanks,<br clear="all"><br>-- <br>--<br>Mariano Lecuona<br>