chan_sip: Fix so asterisk won't send reINVITE after a BYE.
authorWalter Doekes <walter+asterisk@wjd.nu>
Sun, 12 Oct 2014 08:17:08 +0000 (08:17 +0000)
committerWalter Doekes <walter+asterisk@wjd.nu>
Sun, 12 Oct 2014 08:17:08 +0000 (08:17 +0000)
commit9e72c74db50025a0b7c6795c34fcf94baabe00ac
tree11e19ff92233035da6ad5d5ea3eaa4e9e7bfd1a5
parentc0ac87410648955f7630a850d849c274483b82e4
chan_sip: Fix so asterisk won't send reINVITE after a BYE.

After a reINVITE glare situation, Asterisk would re-send the reINVITE
even though the call had been hung up in the mean time.  This patch
unschedules the reinvite when handling the BYE.

ASTERISK-22791 #close
Reported by: Paolo Compagnini
Tested by: Paolo Compagnini

Review: https://reviewboard.asterisk.org/r/4056/
(testcase is in review r4055)
........

Merged revisions 425296 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 425297 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 425298 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 425299 from http://svn.asterisk.org/svn/asterisk/branches/13

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