[Home]

Summary:ASTERISK-04570: [patch] ACF QUEUEAGENTCOUNT() and multi-digit exits
Reporter:Tilghman Lesher (tilghman)Labels:
Date Opened:2005-07-12 15:21:15Date Closed:2008-01-15 15:41:11.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
is related toASTERISK-24631 Incorrect description of option "context" in queues.conf.sample
Environment:Attachments:( 0) 20050712__queue_agent_count__2.diff.txt
Description:Two features:

a) A new function QUEUEAGENTCOUNT(<queuename>) which returns the number of valid agents currently logged into a queue.

b) Currently, you can only escape a queue by entering a single-digit escape code which must be a valid extension.  This patch allows you to enter a multi-digit escape code (but still must be a valid extension).
Comments:By: Kevin P. Fleming (kpfleming) 2005-07-12 15:37:54

I like this patch, but I'm concerned about the effect on the EXITWITHKEY entries in the queue_log... they will only show the final digit used to exit, I guess.

What would you think about making the whole exit extension available so EXITWITHKEY could report the actual extension being exited to?

By: Tilghman Lesher (tilghman) 2005-07-12 16:38:15

Sounds good to me.  New patch uploaded.

By: Kevin P. Fleming (kpfleming) 2005-07-12 18:21:21

Committed to CVS HEAD, nice work!

By: Digium Subversion (svnbot) 2008-01-15 15:41:11.000-0600

Repository: asterisk
Revision: 6114

U   trunk/UPGRADE.txt
U   trunk/apps/app_queue.c
U   trunk/include/asterisk/module.h

------------------------------------------------------------------------
r6114 | kpfleming | 2008-01-15 15:41:11 -0600 (Tue, 15 Jan 2008) | 3 lines

add support for multiple-digit extensions in queue exit contexts (bug ASTERISK-4570)
add QUEUEAGENTCOUNT dialplan function (bug ASTERISK-4570)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6114