Do not send a BYE when a provisional response arrives during a re-INVITE
authorMatthew Jordan <mjordan@digium.com>
Thu, 5 Jul 2012 17:03:43 +0000 (17:03 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 5 Jul 2012 17:03:43 +0000 (17:03 +0000)
commit4b3476d01627511362c2a783ad228ca0c3e85993
treef31d93d31ebd8a5572d7df61ddefafd5eac588af
parentf719be6054ccb655cb019750d40c8cc18343e7d3
Do not send a BYE when a provisional response arrives during a re-INVITE

Commits r369557 and r369579 were done to improve handling of re-INVITEs
when the UA that was supposed to receive the re-INVITE fails to respond.
A limitation of those patches occurred when a UA sent a provisional
response to the re-INVITE.  This triggered a sending of a BYE in
check_pending.  This patch tweaks the handling of the re-INVITE such that
a BYE is not sent in response to those messages.

(issue ASTERISK-19992)
Reported by: Steve Davies
Tested by: Steve Davies
patches:
  (reinvite_tweak.diff license #5012 by Steve Davies)
........

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

Merged revisions 369627 from http://svn.asterisk.org/svn/asterisk/branches/10

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