[Asterisk-cvs] asterisk/apps app_queue.c,1.96,1.97

markster at lists.digium.com markster at lists.digium.com
Sat Nov 20 10:15:53 CST 2004


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv10552/apps

Modified Files:
	app_queue.c 
Log Message:
Fix app_queue when working in conjunction with anthm's moh patch (bug #2891)


Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- app_queue.c	16 Nov 2004 01:24:31 -0000	1.96
+++ app_queue.c	20 Nov 2004 15:15:51 -0000	1.97
@@ -1968,7 +1968,7 @@
 			}
 		}
 		/* 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);




More information about the svn-commits mailing list