From c0c3e2cde97a22598e592fe2bc69e6b27b76501b Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 18 Jun 2008 15:09:19 +0000 Subject: [PATCH] Merged revisions 123652 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r123652 | mmichelson | 2008-06-18 10:08:56 -0500 (Wed, 18 Jun 2008) | 7 lines 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/branches/1.6.0@123653 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 1b08165fda..79d67690d4 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -4597,8 +4597,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);