bridge: During a smart bridge operation provide a more complete bridge to the old...
authorJoshua Colp <jcolp@digium.com>
Fri, 10 Oct 2014 20:48:46 +0000 (20:48 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 10 Oct 2014 20:48:46 +0000 (20:48 +0000)
commit98d5b7090d5fb03be4934b297afc16ef0fc23928
tree664059f0d0359c6b54484a5cd9005882da1e5931
parentc3ff212caeacbf972593002d9e7a426db4b1c105
bridge: During a smart bridge operation provide a more complete bridge to the old technology.

When a smart bridge operation occurs and a bridge transitions from one
technology to another the old technology is provided the channels formerly
in it and told that they are leaving. Unfortunately the bridge provided
along with them is incomplete. The bridge, despite there being channels in it,
contains none. This forces technology implementations to have additional
logic when channels are leaving or to store their own duplicated
state.

This change makes the bridge more complete so it contains the expected
channels. Now that the bridge is complete special logic within
bridge_native_rtp is no longer needed and has been removed.

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

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

Merged revisions 425243 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@425244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
bridges/bridge_native_rtp.c
main/bridge.c