mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merge "ARI: Ability to inhibit COLP frames when adding channels to a bridge"
This commit is contained in:
@@ -277,6 +277,8 @@ struct ast_bridge_features {
|
||||
unsigned int mute:1;
|
||||
/*! TRUE if DTMF should be passed into the bridge tech. */
|
||||
unsigned int dtmf_passthrough:1;
|
||||
/*! TRUE to avoid generating COLP frames when joining the bridge */
|
||||
unsigned int inhibit_colp:1;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
@@ -837,6 +837,16 @@ void stasis_app_control_absorb_dtmf_in_bridge(
|
||||
void stasis_app_control_mute_in_bridge(
|
||||
struct stasis_app_control *control, int mute);
|
||||
|
||||
/*!
|
||||
* \since 18
|
||||
* \brief Set whether COLP frames should be generated when joining the bridge
|
||||
*
|
||||
* \param control Control whose channel should have its COLP frames inhibited when bridged
|
||||
* \param mute Whether COLP frames should be generated (0) or not (1).
|
||||
*/
|
||||
void stasis_app_control_inhibit_colp_in_bridge(
|
||||
struct stasis_app_control *control, int inhibit_colp);
|
||||
|
||||
/*!
|
||||
* \since 12
|
||||
* \brief Gets the bridge currently associated with a control object.
|
||||
|
Reference in New Issue
Block a user