[Asterisk-Users] equal priority trunks for balancing

Alistair Cunningham acunningham at integrics.com
Fri Dec 2 05:30:58 MST 2005


Alejandro,

You could do something like:

[balance]
exten => _X., 1, Random(50:4)
exten => _X., 2, Dial(Zap/g1/${EXTEN})
exten => _X., 3, Congestion
exten => _X., 4, Dial(Zap/g2/${EXTEN})
exten => _X., 5, Congestion

See http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Random

Alistair Cunningham,
Integrics Ltd,
+44 (0)7870 699 479
http://integrics.com/


Alejandro Vargas wrote:
> Is there any way to create various trunks with the same priority.
> I'm interested on usingo 2 trunks, but balancing the usage in both
> because both has a number of free minutes. If I give preference to one
> over other, this one will exceed the free limit much before the other.
> 
> 
> --
> Alejandro Vargas
> _______________________________________________
> --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