[svn-commits] pabelanger: trunk r261232 - /trunk/apps/app_queue.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed May 5 10:42:12 CDT 2010
Author: pabelanger
Date: Wed May 5 10:42:07 2010
New Revision: 261232
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=261232
Log:
'queue reset stats' erroneously clears wrapuptime configuration.
Resets each member's lastcall to 0 now.
(closes issue #17262)
Reported by: rain
Patches:
wrapuptime_reset_fix.diff uploaded by rain (license 327)
Tested by: rain
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_queue.c?view=diff&rev=261232&r1=261231&r2=261232
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed May 5 10:42:07 2010
@@ -1543,7 +1543,6 @@
q->callscompleted = 0;
q->callsabandoned = 0;
q->callscompletedinsl = 0;
- q->wrapuptime = 0;
q->talktime = 0;
if (q->members) {
@@ -1551,6 +1550,7 @@
struct ao2_iterator mem_iter = ao2_iterator_init(q->members, 0);
while ((mem = ao2_iterator_next(&mem_iter))) {
mem->calls = 0;
+ mem->lastcall = 0;
ao2_ref(mem, -1);
}
ao2_iterator_destroy(&mem_iter);
More information about the svn-commits
mailing list