On Fri, 2 Apr 2010, JR Richardson wrote:
I have a special requirement that insist an Asterisk server, 1.6.1.x, is
used. I will have 2 SIP trunks coming into the server and I will have
to send calls to these SIP trunks with a round robin distribution
pattern. I was thinking of using a group count function, if call count
is even send call to SIP Trunk 1, if call count is odd, send call to SIP
Trunk 2.
The "decimal" portion of ${UNIQUEID} is incremented every time Asterisk
creates a channel. Applying your even/odd logic to this should work fine.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards [email protected] Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users