QUEUE_MEMBER(..., ready) counts only ready agents, not free agents wrapping up
authorDavid Vossel <dvossel@digium.com>
Wed, 23 Dec 2009 19:14:05 +0000 (19:14 +0000)
committerDavid Vossel <dvossel@digium.com>
Wed, 23 Dec 2009 19:14:05 +0000 (19:14 +0000)
The QUEUE_MEMBER dialplan function can return total members,
logged-in members and "free" members count. A member is counted
as "free" immediately after his call ends, even though its wrap-up
time, if specified in queues.conf, has not yet expired, and the
queue will not actually route a call to it.

This Patch introduces a new "ready" option that only counts
free agents no longer in the wrap up time period.

(closes issue #16240)
Reported by: kkm
Patches:
      appqueue-memberfun-readyoption-trunk.diff uploaded by kkm (license 888)
Tested by: kkm, dvossel

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236308 65c4cc65-6c06-0410-ace0-fbb531ad65f3


No differences found