From: Olle Johansson Date: Tue, 8 Jul 2008 09:06:08 +0000 (+0000) Subject: Fix issues where repeated messages where ignored, but retransmitted reliably instead... X-Git-Tag: 1.4.22-rc1~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a253f3fe628624860806196ce49f463562066c9;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@128912 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0cafa796b3..7a73bf2c5a 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -14100,7 +14100,8 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int 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; }