Checkout
Commit Bot
committed
2 years and 3 months ago
Merged revisions 360089 via svnmerge from
file:///srv/subversion/repos/asterisk/trunk

................
r360089 | mjordan | 2012-03-21 08… Show more
Merged revisions 360089 via svnmerge from

file:///srv/subversion/repos/asterisk/trunk

................

 r360089 | mjordan | 2012-03-21 08:31:09 -0500 (Wed, 21 Mar 2012) | 28 lines

 

 Ensure Asterisk sends a BYE when pending on the final response to a re-INVITE

 

 When Asterisk detects a hangup and cannot send a BYE due to a pending

 INVITE, it sets the pendingbye flag and waits for the final response to that

 INVITE.  When the response is received, it transmits the BYE.  If, however,

 that INVITE request is a pending re-INVITE, it needs to first send a CANCEL

 request to terminate the pending re-INVITE.  In that circumstance, Asterisk

 was, in some scenarios, clearing the pendingbye flag after processing the

 CANCEL request and not checking for a pending BYE when receiving the final

 487 response to the INVITE.

 

 This patch ensures that if the pendingbye flag is set, it is honored

 regardless of the nature of the INVITE request currently in flight.

 

 (closes issue ASTERISK-19365)

 Reported by: Thomas Arimont

 Tested by: Thomas Arimont

 Patches:

   bugASTERISK-19365_2012_03_08.patch uploaded by mjordan (license 6283)

 

 Review: https://reviewboard.asterisk.org/r/1807

 ........

 

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

 ........

 

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

................

Show less