[asterisk-bugs] [Asterisk 0017262]: [patch] "queue reset stats" erroneously clears wrapuptime configuration

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 5 10:42:08 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17262 
====================================================================== 
Reported By:                rain
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   17262
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for review
Asterisk Version:           1.6.2.6 
JIRA:                       SWP-1395 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-29 11:48 CDT
Last Modified:              2010-05-05 10:42 CDT
====================================================================== 
Summary:                    [patch] "queue reset stats" erroneously clears
wrapuptime configuration
Description: 
When "queue reset stats" is called, every queue's wrapuptime will be reset
to 0, which is obviously the wrong thing.  The attached patch resets each
member's lastcall to 0 instead, which is probably the intended behavior.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016519 Queue with wrapuptime "call" ...
====================================================================== 

---------------------------------------------------------------------- 
 (0121418) svnbot (reporter) - 2010-05-05 10:42
 https://issues.asterisk.org/view.php?id=17262#c121418 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 261232

U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r261232 | pabelanger | 2010-05-05 10:42:07 -0500 (Wed, 05 May 2010) | 10
lines

'queue reset stats' erroneously clears wrapuptime configuration.

Resets each member's lastcall to 0 now.

(closes issue https://issues.asterisk.org/view.php?id=17262)
Reported by: rain
Patches:
      wrapuptime_reset_fix.diff uploaded by rain (license 327)
Tested by: rain

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-05 10:42 svnbot         Checkin                                      
2010-05-05 10:42 svnbot         Note Added: 0121418                          
======================================================================




More information about the asterisk-bugs mailing list