]> git.ipfire.org Git - thirdparty/asterisk.git/commit
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:03 +0000 (20:48 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 10 Oct 2014 20:48:03 +0000 (20:48 +0000)
commit743ad196991ab9179b8bcbab963002de92549514
tree4ca01c05cd7f84211fd7a8345b6e5fab25edc4f8
parentb8aed5b14dd34027ba5dcc372f2ca7a013c67837
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

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