]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix issues where repeated messages where ignored, but retransmitted reliably instead...
authorOlle Johansson <oej@edvina.net>
Tue, 8 Jul 2008 09:06:08 +0000 (09:06 +0000)
committerOlle Johansson <oej@edvina.net>
Tue, 8 Jul 2008 09:06:08 +0000 (09:06 +0000)
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

index 0cafa796b3f2678999c9495c2684fbcc05e25a97..7a73bf2c5a3c32d8d838e90d1f8f98fc8a9f0f3e 100644 (file)
@@ -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;
        }