mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
bridge_native_rtp: Handle case where channel joins already suspended.
The bridge_native_rtp module did not properly handle the case where a smart bridge operation occurs while a channel is suspended. In this scenario the module would incorrectly set up local or remote RTP bridging despite the media having to flow through Asterisk. The remote endpoint would see two media streams and experience wonky audio. The module has been changed so that it ensures both channels are not suspended when performing the native RTP bridging and this requirement has been documented in the bridge technology. ASTERISK-26781 Change-Id: Id4022d73ace837d4a293106445e3ade10dbc7c7c
This commit is contained in:
@@ -110,6 +110,9 @@ struct ast_bridge_technology {
|
||||
*
|
||||
* \note The bridge technology must tollerate a failed to join channel
|
||||
* until it can be kicked from the bridge.
|
||||
*
|
||||
* \note A channel may be in a suspended state already when joining a bridge
|
||||
* technology. The technology must handle this case.
|
||||
*/
|
||||
int (*join)(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel);
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user