]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Handle a SIP race condition (reinvite before an ACK) properly.
authorMark Michelson <mmichelson@digium.com>
Thu, 9 Apr 2009 18:51:20 +0000 (18:51 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 9 Apr 2009 18:51:20 +0000 (18:51 +0000)
commita4e46eb871f61a3da9de2169db8ea99b91f2cb4a
treeae1c5ebffc5d9ad337b548361db9598b7989c727
parent200db931579ec70ebf5566f64eb03c6e1b6c8fe5
Handle a SIP race condition (reinvite before an ACK) properly.

RFC 5047 explains the proper course of action to take if a
reINVITE is received before the ACK from a previous invite
transaction. What we are to do is to treat the reINVITE as
if it were both an ACK and a reINVITE and process it normally.

Later, when we receive the ACK we had been expecting, we will
ignore it since its CSeq is less than the current iseqno of
the sip_pvt representing this dialog.

(closes issue #13849)
Reported by: klaus3000
Patches:
      13849_v2.patch uploaded by mmichelson (license 60)
Tested by: mmichelson, klaus3000

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@187484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c