[asterisk-commits] oej: branch 1.4 r128912 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 8 04:06:27 CDT 2008


Author: oej
Date: Tue Jul  8 04:06:08 2008
New Revision: 128912

URL: http://svn.digium.com/view/asterisk?view=rev&rev=128912
Log:
Fix issues where repeated messages where ignored, but retransmitted reliably instead of unreliably.
Reported by: johan
Patches: 
      12746.txt uploaded by oej (license 306)
Tested by: johan
(issue #12746)

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=128912&r1=128911&r2=128912
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Tue Jul  8 04:06:08 2008
@@ -14100,7 +14100,8 @@
 			else
 				ast_log(LOG_DEBUG, "Got a SIP re-transmit of INVITE for call %s\n", p->callid);
 		}
-		reinvite = 1;
+		if (!ast_test_flag(req, SIP_PKT_IGNORE))
+			reinvite = 1;
 		c = p->owner;
 	}
 




More information about the asterisk-commits mailing list