]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix dialog leak resulting from missing ACK to re-INVITE.
authorWalter Doekes <walter+asterisk@wjd.nu>
Fri, 10 Oct 2014 07:24:24 +0000 (07:24 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Fri, 10 Oct 2014 07:24:24 +0000 (07:24 +0000)
commit56a5bccb3b35966cd553c579c89053c6e11d1d9d
tree3b5fb7e16939fa174923576987e4b867cc05c23a
parent2ed08f84ef791bab9f0bbec964e98ddd370c90f9
chan_sip: Fix dialog leak resulting from missing ACK to re-INVITE.

If a device re-INVITEs at the same time as the dialog is hung up, and
if then the ACK to the re-INVITE never reaches Asterisk, chan_sip would
fail to destroy the dialog after a while.  This resulted in (most
prominently) file handle leaks.

(Patch reindented by me.)

ASTERISK-20784 #close
ASTERISK-15879 #close
Reported by: Torrey Searle, Nitesh Bansal
Patches:
  reinvite_ack_timeout.patch uploaded by Torrey Searle (License #5334)
  patch_asterisk_20784.txt uploaded by Nitesh Bansal (License #6418)

Reviewboard: https://reviewboard.asterisk.org/r/4052/
(testcase can be found at r4051)

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