]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 128912 via svnmerge from
authorOlle Johansson <oej@edvina.net>
Tue, 8 Jul 2008 09:26:37 +0000 (09:26 +0000)
committerOlle Johansson <oej@edvina.net>
Tue, 8 Jul 2008 09:26:37 +0000 (09:26 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r128912 | oej | 2008-07-08 11:06:08 +0200 (Tis, 08 Jul 2008) | 7 lines

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/trunk@128927 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 83b9a7ebb3a1f5d6c3620290733e3eac35d6299f..df545f8349e0789ba2dcb21b279c560bd0b0ad55 100644 (file)
@@ -17073,8 +17073,8 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, int
                        else
                                ast_debug(2, "Got a SIP re-transmit of INVITE for call %s\n", p->callid);
                }
-
-               reinvite = 1;
+               if (!req->ignore)
+                       reinvite = 1;
                c = p->owner;
        }