[Asterisk-cvs] asterisk/channels chan_sip.c,1.461,1.462

markster at lists.digium.com markster at lists.digium.com
Tue Jul 27 15:14:02 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv12901/channels

Modified Files:
	chan_sip.c 
Log Message:
Make ACK sticky too (bug #2134)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.461
retrieving revision 1.462
diff -u -d -r1.461 -r1.462
--- chan_sip.c	27 Jul 2004 04:04:45 -0000	1.461
+++ chan_sip.c	27 Jul 2004 19:00:06 -0000	1.462
@@ -3105,7 +3105,7 @@
 		else /* Some implementations (e.g. Uniden UIP200) can't handle rport being in the message!! */
 			snprintf(p->via, sizeof(p->via), "SIP/2.0/UDP %s:%d;branch=z9hG4bK%08x", ast_inet_ntoa(iabuf, sizeof(iabuf), p->ourip), ourport, p->branch);
 	}
-	if (!strcasecmp(msg, "CANCEL")) {
+	if (!strcasecmp(msg, "CANCEL") || !strcasecmp(msg, "ACK")) {
 		/* MUST use original URI */
 		c = p->initreq.rlPart2;
 	} else if (!ast_strlen_zero(p->uri)) {




More information about the svn-commits mailing list