aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-20 15:15:51 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-11-20 15:15:51 +0000
commit8db377702b2556ae406a27f0ab021838681f12bc (patch)
treef903fdd52b2033787c2414f9316f0548559d6909 /apps
parentb4febd4073db9b651ce7c099a7c55365ba0da252 (diff)
Fix app_queue when working in conjunction with anthm's moh patch (bug #2891)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4301 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index d620fb480..118c9a508 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);