From 1c76c72ccb1b3e6900b8b7594065f556429673d1 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sat, 20 Nov 2004 15:15:51 +0000 Subject: [PATCH] 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 --- 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 d620fb4804..118c9a508f 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -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);