[Asterisk-cvs] asterisk/channels chan_sip.c,1.566,1.567

markster at lists.digium.com markster at lists.digium.com
Mon Nov 15 22:58:07 CST 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Fix double ring...


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.566
retrieving revision 1.567
diff -u -d -r1.566 -r1.567
--- chan_sip.c	15 Nov 2004 13:39:40 -0000	1.566
+++ chan_sip.c	16 Nov 2004 03:58:46 -0000	1.567
@@ -1910,7 +1910,7 @@
 				/* Send 180 ringing if out-of-band seems reasonable */
 				transmit_response(p, "180 Ringing", &p->initreq);
 				p->ringing = 1;
-				if (p->progressinband > 1)
+				if (p->progressinband < 2)
 					break;
 			} else {
 				/* Well, if it's not reasonable, just send in-band */




More information about the svn-commits mailing list