summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJean Aunis <jean.aunis@prescom.fr>2017-09-07 11:41:09 +0200
committerRichard Mudgett <rmudgett@digium.com>2017-09-20 10:19:26 -0500
commit47b41bd3ae200d546a6664352f35eb34579e4bf9 (patch)
tree3b882dbbd68fbeffdf63b818ade24f8237f4fd77 /include
parent5ac8b9fcc24410e190da5d0d71b4b78b42203995 (diff)
bridge : Fix one-way direct-media when early bridging with native_rtp
When two channels were early bridged in a native_rtp bridge, the RTP description on one side was not updated when the other side answered. This patch forbids non-answered channels to enter a native_rtp bridge, and triggers a bridge reconfiguration when an ANSWER frame is received. ASTERISK-27257 Change-Id: If1aaee1b4ed9658a1aa91ab715ee0a6413b878df
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/bridge_technology.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/bridge_technology.h b/include/asterisk/bridge_technology.h
index def7b1933..eaea28de5 100644
--- a/include/asterisk/bridge_technology.h
+++ b/include/asterisk/bridge_technology.h
@@ -108,11 +108,13 @@ struct ast_bridge_technology {
*
* \note On entry, bridge is already locked.
*
- * \note The bridge technology must tollerate a failed to join channel
+ * \note The bridge technology must tolerate 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.
+ *
+ * \note A channel may not be answered when joining a bridge technology.
*/
int (*join)(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel);
/*!