]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_native_rtp: Fix audio issues when moving from remote bridge to softmix
authorMatthew Jordan <mjordan@digium.com>
Fri, 17 Oct 2014 01:55:31 +0000 (01:55 +0000)
committerMatthew Jordan <mjordan@digium.com>
Fri, 17 Oct 2014 01:55:31 +0000 (01:55 +0000)
commit87c4318e86d7578d581b4f85045b301d1f5fd86b
tree8940b54c351a2d45dbbee25668308c72b0aa2e3e
parent5a1a21afc2719a7357bdef8d6c5b9e1316bfd5df
bridge_native_rtp: Fix audio issues when moving from remote bridge to softmix

When a native RTP bridge that is remotely bridging its participants switches
to a softmix bridge, it may not properly re-INVITE the media for one or both
participants back to Asterisk. This is due to the current bridge_native_rtp
code only re-INVITEs if it believes the channel will survive the bridge
operation. Currently, that code is failing, as it expects the channels to
have a soft hangup flag set on it indicating that a redirect has occurred
or that the channel is going to leave the bridge. (The code did not take into
account a smart bridge operation).

This patch also renames a few things to be more reflective of the underlying
types.

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

ASTERISK-24327 #close

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