Bridging: Fix a behavioral change when checking if a channel is leaving a bridge
authorJonathan Rose <jrose@digium.com>
Fri, 15 Aug 2014 17:26:12 +0000 (17:26 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 15 Aug 2014 17:26:12 +0000 (17:26 +0000)
commit9b658b7c60c2f6257fc8c1da93fa71e4ebd615ae
tree6885cd2ac7a5d36dfaf2e04d9dfc1614fc81abec
parent0d0a616e1abffafe26fbd69252f49c2a98960a12
Bridging: Fix a behavioral change when checking if a channel is leaving a bridge

r420934 introduced some failures in the test suite.  Upon investigating, it was
discovered that differences in the way we were evaluating whether a channel was in
the process of leaving a bridge were causing some reinvites not to occur (mostly
reinvites back to Asterisk when ending a call). This patch fixes that behavioral
change.

ASTERISK-24027 #close
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/3910/
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@421195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c