aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);