From 9a253f3fe628624860806196ce49f463562066c9 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Tue, 8 Jul 2008 09:06:08 +0000 Subject: [PATCH] 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 --- channels/chan_sip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }