diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-18 15:08:56 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-06-18 15:08:56 +0000 |
commit | 6210051816f6994b69e6dcacd8b2c1a6bd5542b9 (patch) | |
tree | 2b36c30ecf7bb1025f97f0481bfb361ab489549e /apps | |
parent | de84383ace5d986c3d55eb9ce3df3e9508852476 (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: http://svn.digium.com/svn/asterisk/trunk@123652 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 5 |
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); |