[Asterisk-cvs] asterisk/channels chan_zap.c,1.506,1.507

markster markster
Sun Sep 11 13:01:16 CDT 2005


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

Modified Files:
	chan_zap.c 
Log Message:
Don't allow callwait to happen during initial ringdown (bug #5188)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.506
retrieving revision 1.507
diff -u -d -r1.506 -r1.507
--- chan_zap.c	9 Sep 2005 18:41:17 -0000	1.506
+++ chan_zap.c	11 Sep 2005 17:01:10 -0000	1.507
@@ -7239,7 +7239,7 @@
 	}
 	
 	if ((p->owner->_state != AST_STATE_UP) &&
-		(p->owner->_state != AST_STATE_RINGING)) {
+		((p->owner->_state != AST_STATE_RINGING) || p->outgoing)) {
 		/* If the current call is not up, then don't allow the call */
 		return 0;
 	}




More information about the svn-commits mailing list