On Monday 17 March 2008 15:44, C. Chad Wallace wrote:
> Is there a way to control the order in which the ao2_iterator returns
> the items?  Even a random distribution would be better than the
> current--which always favours some agents over others.

In the source, find the line matching ao2_container_alloc, and change
the first argument from 37 to 1.  This will make the container behave exactly
like a linked list.

-- 
Tilghman

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

Reply via email to