]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Bridging: Fix orphaned bridge if neither of the joining channels can join.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 22 Oct 2013 17:05:14 +0000 (17:05 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 22 Oct 2013 17:05:14 +0000 (17:05 +0000)
commitaa94b9c148d2d9227aa1d611d3bed15fecb0248f
tree19aa83b165809ff02f8dab2c7cd649e92599ca62
parent420b5e27db26a66e0d48fb16d18ab387af0dc520
Bridging: Fix orphaned bridge if neither of the joining channels can join.

The original issue noted that the bridge is orphaned when res_parking.so
is not loaded and a call uses the dial kK flags.

A similar issue happens when only one of the park flags is used.  In this
case you have the bridge with one or the other channel left in it.  The
channel and bridge will stay around until the channel hangs up.

* Fixed the initial bridge channel push failure to act as if the channel
were kicked out of the bridge.  The bridge then decides if it needs to be
dissolved.

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@401424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/bridge_channel_internal.h
main/bridge.c
main/bridge_channel.c