Fix transfer to parking

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-06-13 08:09:43 +00:00
parent 615a463e23
commit cfe1d50b1a

View File

@@ -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);