Fix transfer to parking
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1087 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
4e2c1d74ec
commit
25a590576a
|
@ -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);
|
||||
|
|
Reference in New Issue