mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
ARI: Ability to inhibit COLP frames when adding channels to a bridge
This patch adds a new flag "inhibitConnectedLineUpdates" to the 'addChannel' operation in the Bridges REST API. When set, this flag avoids generating COLP frames when the specified channels enter the bridge. ASTERISK-28629 Change-Id: Ib995d4f0c6106279aa448b34b042b68f0f2ca5dc
This commit is contained in:
committed by
Joshua C. Colp
parent
987e10c75f
commit
034ac357ad
@@ -221,6 +221,7 @@ void ast_ari_bridges_add_channel(struct ast_variable *headers,
|
||||
if (!stasis_app_control_bridge_features_init(list->controls[i])) {
|
||||
stasis_app_control_absorb_dtmf_in_bridge(list->controls[i], args->absorb_dtmf);
|
||||
stasis_app_control_mute_in_bridge(list->controls[i], args->mute);
|
||||
stasis_app_control_inhibit_colp_in_bridge(list->controls[i], args->inhibit_connected_line_updates);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -154,6 +154,8 @@ struct ast_ari_bridges_add_channel_args {
|
||||
int absorb_dtmf;
|
||||
/*! Mute audio from this channel, preventing it to pass through to the bridge */
|
||||
int mute;
|
||||
/*! Do not present the identity of the newly connected channel to other bridge members */
|
||||
int inhibit_connected_line_updates;
|
||||
};
|
||||
/*!
|
||||
* \brief Body parsing function for /bridges/{bridgeId}/addChannel.
|
||||
|
Reference in New Issue
Block a user