ARI: Make mixing bridges propagate linkedids and accountcodes.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 9 Jul 2014 16:34:51 +0000 (16:34 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 9 Jul 2014 16:34:51 +0000 (16:34 +0000)
commitf962448eee1a2dee763e90441edd79cd99842ef6
tree3c8b026758db2317294d301a3eb58975a32d7fc6
parent5a3023a114af06a41bcea9cf4cf883939270e997
ARI: Make mixing bridges propagate linkedids and accountcodes.

* Create a Stasis bridge sub-class to propagate linkedids and
accountcodes.

* Fixed the basic bridge sub-class to update peeraccount codes when the
number of channels in the bridge drops back down to two parties.

* Refactored ast_bridge_channel_update_accountcodes() to handle channels
joining/leaving the bridge.

* Fixed the basic bridge sub-class to not call the base bridge class pull
method twice.

AFS-105 #close
ASTERISK-23852 #close
Reported by: Richard Mudgett

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/bridge_channel.h
main/bridge_basic.c
main/bridge_channel.c
res/res_stasis.c
res/stasis/stasis_bridge.c [new file with mode: 0644]
res/stasis/stasis_bridge.h [new file with mode: 0644]