[asterisk-users] Order of queue member list
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Mon Mar 17 17:57:05 CDT 2008
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
More information about the asterisk-users
mailing list