Carlos Chavez
2007-Aug-30 22:38 UTC
[asterisk-users] Round robin behavior for dialing SIP trunks...
I was wondering if anyone has an easy way to emulate dialing in a round robin fashion like when you use Zap/r1 for Zap trunks. At the moment what I do is simply make a macro that will dial the sip trunks in order so if the first one fails it goes to the second and so on. The problem with this approach is that the first few SIP trunks will always be busy because of outgoing traffic. Is there an easy way to randomize the trunks? I am guessing this will only be possible using AGI? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070830/fd12657a/attachment.pgp
Paul Hales
2007-Aug-31 00:38 UTC
[asterisk-users] Round robin behavior for dialing SIP trunks...
We found the 'random' dialplan function worked quite well for something similar a while ago. PaulH On Thu, 2007-08-30 at 17:38 -0500, Carlos Chavez wrote:> I was wondering if anyone has an easy way to emulate dialing in a round > robin fashion like when you use Zap/r1 for Zap trunks. At the moment > what I do is simply make a macro that will dial the sip trunks in order > so if the first one fails it goes to the second and so on. The problem > with this approach is that the first few SIP trunks will always be busy > because of outgoing traffic. Is there an easy way to randomize the > trunks? I am guessing this will only be possible using AGI? > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users