From cfe1d50b1a5924182b2068b2264f92966ecc2c04 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Fri, 13 Jun 2003 08:09:43 +0000
Subject: [PATCH] Fix transfer to parking

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_queue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/app_queue.c b/apps/app_queue.c
index 098cd4e099..ae475530bc 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);
-- 
GitLab