aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 54573599f..797b08787 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1246,7 +1246,6 @@ static void clear_queue(struct call_queue *q)
q->callscompleted = 0;
q->callsabandoned = 0;
q->callscompletedinsl = 0;
- q->wrapuptime = 0;
q->talktime = 0;
if (q->members) {
@@ -1254,6 +1253,7 @@ static void clear_queue(struct call_queue *q)
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);