]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_channel.c: Ignore role setup failure in channel push. 27/2627/2
authorRichard Mudgett <rmudgett@digium.com>
Fri, 15 Apr 2016 16:41:49 +0000 (11:41 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 18 Apr 2016 15:51:56 +0000 (10:51 -0500)
commitf4693d1897614faf5631051f9f6616bf99b940b3
tree2b19170a98dd20e4bf820c02172f4d25774bdb65
parent22335fe18af85b8086899740cef436b5a59a2ae4
bridge_channel.c: Ignore role setup failure in channel push.

We have to setup the channel roles after the bridge class push is called
because the bridge class push callback may have set roles on the incoming
channel.  Since we have already partially pushed the channel into the
bridge and reversing what we have already done could be problematic, the
only thing we can do is press on to complete pushing the channel into the
bridge.

* Ignore any channel role setup errors after pushing the channel into a
bridge.  The channel may behave incorrectly in the bridge but we can no
longer abort the push at this time.

Change-Id: I08a97082b729052ee65cdca6bb730cf1289ede00
main/bridge_channel.c