[asterisk-bugs] [Asterisk 0010849]: [patch] app_queue tweak for QueueSummary manager event

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 4 17:19:59 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10849 
====================================================================== 
Reported By:                kwakwaversal
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   10849
Category:                   Applications/app_queue
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 84112 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-28-2007 16:59 CDT
Last Modified:              10-04-2007 17:19 CDT
====================================================================== 
Summary:                    [patch] app_queue tweak for QueueSummary manager
event
Description: 
The manager_queues_summary() function doesn't behave correctly when no
queue filter is set.  It's the common mistake of not resetting the
variables inside a loop resulting in available members and calls being
summed up through every queue iteration.

This patch fixes that and also adds another useful statistic giving the
longest hold time (in seconds) for each queue.  Very handy for providing
useful real-time stats.
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 10-04-07 17:19  
---------------------------------------------------------------------- 
Hmmm...

Are you using a patched version of Asterisk? My copy of the 1.4.11 branch
does not have the qmemcount, qmemavail, or qchancount variables in it. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-04-07 17:19  putnopvut      Note Added: 0071491                          
======================================================================




More information about the asterisk-bugs mailing list