[Asterisk-cvs] asterisk/channels chan_sip.c,1.800,1.801

markster markster
Wed Aug 3 00:27:54 CDT 2005


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

Modified Files:
	chan_sip.c 
Log Message:
Revert a portion of oej's patch...


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.800
retrieving revision 1.801
diff -u -d -r1.800 -r1.801
--- chan_sip.c	3 Aug 2005 04:26:10 -0000	1.800
+++ chan_sip.c	3 Aug 2005 04:32:09 -0000	1.801
@@ -9617,7 +9617,7 @@
 	if (option_debug > 2)
 		ast_log(LOG_DEBUG, "**** Received %s (%d) - Command in SIP %s\n", sip_methods[p->method].text, sip_methods[p->method].id, cmd); 
 
-	if (p->icseq && (p->icseq > seqno) && req->method != SIP_ACK) {
+	if (p->icseq && (p->icseq > seqno)) {
 		ast_log(LOG_DEBUG, "Ignoring too old SIP packet packet %d (expecting >= %d)\n", seqno, p->icseq);
 		return -1;
 	} else if (p->icseq && (p->icseq == seqno) && req->method != SIP_ACK &&(p->method != SIP_CANCEL|| ast_test_flag(p, SIP_ALREADYGONE))) {




More information about the svn-commits mailing list