summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-06-13 08:09:43 +0000
committerMark Spencer <markster@digium.com>2003-06-13 08:09:43 +0000
commitcfe1d50b1a5924182b2068b2264f92966ecc2c04 (patch)
treee155e98ae036413fca85e5d4168967204a44332c /apps/app_queue.c
parent615a463e231c4ffa014819f636f06609237f1f6a (diff)
Fix transfer to parking
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 098cd4e09..ae475530b 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -718,7 +718,7 @@ static int queue_exec(struct ast_channel *chan, void *data)
}
}
/* Don't allow return code > 0 */
- if (res > 0)
+ if (res > 0 && res != AST_PBX_KEEPALIVE)
res = 0;
ast_moh_stop(chan);
leave_queue(&qe);