summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-06-18 15:08:56 +0000
committerMark Michelson <mmichelson@digium.com>2008-06-18 15:08:56 +0000
commiteaa14309ddf4c8b3c5090150969b3b7c5aeff20b (patch)
tree2b36c30ecf7bb1025f97f0481bfb361ab489549e
parent103a94c6c4dc415e7248112ce1a2a0eae7cded46 (diff)
A portion of the code which handled the 'c' queue option had been
removed. No telling when it happened. Anyway, it's back in now and works properly. (Based on issue reported on mailing list) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--apps/app_queue.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 51fadd92a..ea4a8a013 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -4752,8 +4752,11 @@ stop:
ast_queue_log(args.queuename, chan->uniqueid, "NONE", "ABANDON",
"%d|%d|%ld", qe.pos, qe.opos,
(long) time(NULL) - qe.start);
+ res = -1;
+ } else if (qcontinue) {
+ reason = QUEUE_CONTINUE;
+ res = 0;
}
- res = -1;
} else if (qe.valid_digits) {
ast_queue_log(args.queuename, chan->uniqueid, "NONE", "EXITWITHKEY",
"%s|%d", qe.digits, qe.pos);