res_stasis: Ensure the channel is always departed from the bridge when it leaves.
authorJoshua Colp <jcolp@digium.com>
Fri, 1 Nov 2013 12:13:09 +0000 (12:13 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 1 Nov 2013 12:13:09 +0000 (12:13 +0000)
commitd17a780333fc007fdfcd75282a9c4ee032894f2c
tree3974f0a252d28c3cfa9d6d4671c84cc13931fb96
parentdd221c74c53113b0109f1ca1b392d43dd768cef5
res_stasis: Ensure the channel is always departed from the bridge when it leaves.

This change adds a command to the command queue to explicitly depart the channel
from the bridge when it is told it has left. If the channel has already been departed
or has entered a different bridge this command will become a no-op.

(closes issue ASTERISK-22703)
Reported by: John Bigelow

(closes issue ASTERISK-22634)
Reported by: Kevin Harwell

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402337 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/stasis/control.c