summaryrefslogtreecommitdiff
path: root/main/stasis_config.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2013-07-03 20:41:00 +0000
committerMark Michelson <mmichelson@digium.com>2013-07-03 20:41:00 +0000
commit0f725bd5d9646dc04db390b94e6c1a5ece9bf628 (patch)
tree72a06063b17503ac2b7f0bc4493fc1bc36248aa7 /main/stasis_config.c
parentdbc588b02f0da1caffc53faffd0a91b8f3047907 (diff)
Publish a bridge enter before pulling on a push-and-swap operation.
Prior to this patch, the order of procedures on a bridge push was * Add new bridge channel to bridge's array. * Pull the swap channel out of the bridge * Publish a bridge enter event. The problem is that when the swap channel was pulled from the bridge, a bridge leave event would be published. The bridge snapshot published during the bridge leave showed the new channel that had been added to the bridge, but there had been no bridge enter event for that channel. The fix provided here was to change the order a bit * Add new bridge channel to bridge's array. * Publish bridge enter event. * Pull the swap channel out of the bridge. This makes it so that the bridge snapshots during the stasis events are accurate. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/stasis_config.c')
0 files changed, 0 insertions, 0 deletions