[asterisk-users] Round robin behavior for dialing SIP trunks...

Brian West brian.west at mac.com
Thu Aug 30 19:53:27 CDT 2007


http://www.freeswitch.org/asterisk_stuff/app_distributor.c

/b

On Aug 30, 2007, at 7:38 PM, Paul Hales wrote:

>
> 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
>
>
> _______________________________________________
> --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




More information about the asterisk-users mailing list