]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
A portion of the code which handled the 'c' queue option had been
authorMark Michelson <mmichelson@digium.com>
Wed, 18 Jun 2008 15:08:56 +0000 (15:08 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 18 Jun 2008 15:08:56 +0000 (15:08 +0000)
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

apps/app_queue.c

index 51fadd92a06c9c14d881596ca64058ffb66d0d20..ea4a8a0130aae196788028840b08f8358d09d5d2 100644 (file)
@@ -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);