Merge "ARI: Ability to inhibit COLP frames when adding channels to a bridge"

This commit is contained in:
Friendly Automation
2020-01-10 12:03:35 -06:00
committed by Gerrit Code Review
8 changed files with 47 additions and 1 deletions

View File

@@ -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;
};
/*!

View File

@@ -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.