[asterisk-users] Cascading queues & calls not joining unavailable queues.

James FitzGibbon james.fitzgibbon at gmail.com
Fri Sep 7 10:47:04 CDT 2007


On 9/7/07, Mark Michelson <mmichelson at digium.com> wrote:
>
> After talking in #asterisk-dev with those who wrote the joinempty
> option, it appears I was mistaken about its use. joinempty=strict will
> only not allow a caller to join the queue if the members are in a
> "permanently" unavailable state. A member being busy is not enough to
> trigger the joinempty=strict option. Since DND on most phones works the
> same way as a phone being busy, DND will not trigger the
> joinempty=strict option either.


It's also important to distinguish between DND-style busy (where in the case
of SIP the INVITE is rejected with a "480 temporarily unavailable") and the
internal channel state AST_CONTROL_BUSY.  For SIP, the latter occurs when
the use count exceeds the configured call-limit, and results in no INVITE
being sent.  The two also have drastically different behaviours when you
have members with penalties.

Assume we have five agents with penalty zero (A-E) and five agents with
penalty 1 (F-J). Assume also that 'ringinuse=no' is set for the queue.  If
A-D are "in use" and E is "available" but their phone is set to DND, then
app_queue will continually attempt to dequeue to agent E, never trying
agents F-J.  If E is busy because they have a call-limit of 2 and they have
two calls active, then app_queue will attempt to dequeue to agents F-J.

This has been a source of confusion for my users on several occasions.  IMO,
It also puts an unrealistic burden on agents to always put themselves on
pause before they walk away from their desk, and since agents are human and
sometimes forget to do this, prevents me from using agent penalties
extensively.  I just can't explain to non-technical people why one phone
keeps ringing while five other agents sit idle.  It makes no sense to them.

Someone developed a new strategy for app_queue they called XRRMEMORY that
will seek to higher-penalty agents after trying all lower-penalty agents.
They posted details about it on voip-info:

http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+Queue

(look at the second comment)

Unfortunately, the patches weren't done against trunk or the head of 1.4,
and the author didn't file a disclaimer with Mantis, so the bug (
http://bugs.digium.com/view.php?id=9165) was recently closed.

-- 
j.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070907/afc01353/attachment.htm 


More information about the asterisk-users mailing list