[Asterisk-bugs] [Asterisk 0010117]: A ServicelevelPerf value is not initialized correctly.

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 5 08:07:56 CDT 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10117 
====================================================================== 
Reported By:                noriyuki
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10117
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 73127 
Disclaimer on File?:        No 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             07-05-2007 03:49 CDT
Last Modified:              07-05-2007 08:07 CDT
====================================================================== 
Summary:                    A ServicelevelPerf value is not initialized
correctly.
Description: 
QueueParams event packet has a ServicelevelPerf header.
This value is not initialized correctly.
A sl variable must be set to 0 each time.

--- app_queue.c.old     2007-07-05 17:22:11.000000000 +0900
+++ app_queue.c 2007-07-05 17:41:52.000000000 +0900
@@ -4351,6 +4351,7 @@

                /* List queue properties */
                if (ast_strlen_zero(queuefilter) || !strcmp(q->name,
queuefilter)) {
+                        sl = 0;
                        if (q->callscompleted > 0)
                                sl = 100 * ((float) q->callscompletedinsl
/ (float) q->callscompleted);
                        astman_append(s, "Event: QueueParams\r\n"

====================================================================== 

---------------------------------------------------------------------- 
 file - 07-05-07 08:07  
---------------------------------------------------------------------- 
Fixed in 1.2 as of revision 73315, 1.4 as of revision 73316, and trunk as
of revision 73317. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-05-07 08:07  file           Status                   new => resolved     
07-05-07 08:07  file           Resolution               open => fixed       
07-05-07 08:07  file           Assigned To               => file            
07-05-07 08:07  file           Note Added: 0066511                          
======================================================================




More information about the Asterisk-bugs mailing list