[asterisk-users] maximum simultaneous calls

Kevin P. Fleming kpfleming at digium.com
Tue Apr 10 09:38:46 MST 2007


James FitzGibbon wrote:

> Were your problems limited to queue weights, or are agent "penalties"
> likely to cause this as well?  I'm about to embark down the ACD path,
> and still unsure as to whether AgentCallbackLogin (on 1.2) or
> AddQueueMember (on 1.4) is the better solution to go with.

Queue member penalties (there are no 'agent' penalties as agents are
concept provided by chan_agent and it does not handle penalties) are not
known to cause any problems.

Weights (between queues) are definitely problematic, primarily because
they cause a great deal of extra locking/unlocking operations as all the
queues and their callers are traversed trying to make a decision which
member should get which call. The 'autofill' behavior that has been
recently added only makes this worse.

We plan on rebuilding the queuing system from scratch, using a
state-driven rather than polling model, which will pretty much eliminate
this issue as there will be a lot less 'work' involved in delivering
calls to queue members. Most of the design work for that will happen at
next month's DevCon, and then you will see the code begin to appear in
the following weeks. It is possible that the code will be backportable
to Asterisk 1.4, although obviously we won't be doing that as part of
any official releases.


More information about the asterisk-users mailing list