bridge_channel: Support the lonely flag and make ARI use it.
authorJonathan Rose <jrose@digium.com>
Fri, 9 Aug 2013 17:22:28 +0000 (17:22 +0000)
committerJonathan Rose <jrose@digium.com>
Fri, 9 Aug 2013 17:22:28 +0000 (17:22 +0000)
commit6fe21ef48eede571957863484a203124a6118d9f
treea267da3dde4b48ff8065f552958de2026bf9a086
parent6eec8a44e7a9158fff224957ffe93260f513835c
bridge_channel: Support the lonely flag and make ARI use it.

The lonely flag is an optional flag for bridge channels that will
make them leave a bridge when a channel leaves if only lonely
channels are in the bridge at that point. This is useful for things
like ending recording and playback channels when they cease to be
interacting with other channels in the bridge.

(closes issue ASTERISK-22117)
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/2721/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/bridge.h
include/asterisk/core_unreal.h
main/bridge_channel.c
main/core_unreal.c
res/ari/resource_bridges.c