Fix app_queue when working in conjunction with anthm's moh patch (bug #2891)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-11-20 15:15:51 +00:00
parent 877dcd1aa5
commit 1c76c72ccb
1 changed files with 1 additions and 1 deletions

View File

@ -1968,7 +1968,7 @@ check_turns:
}
}
/* Don't allow return code > 0 */
if (res > 0 && res != AST_PBX_KEEPALIVE) {
if (res >= 0 && res != AST_PBX_KEEPALIVE) {
res = 0;
if (ringing) {
ast_indicate(chan, -1);