mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
ari/bridge: Add mute, dtmf suppression controls
Add bridge_features structure to bridge creation. Specifically, this implements mute and DTMF suppression, but others should be able to be easily added to the same structure. ASTERISK-27322 #close Reported by: Darren Sessions Sponsored by: AVOXI Change-Id: Id4002adfb65c9a8027ee9e1a5f477e0f01cf9d61
This commit is contained in:
@@ -218,6 +218,12 @@ void ast_ari_bridges_add_channel(struct ast_variable *headers,
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/* Apply bridge features to each of the channel controls */
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < list->count; ++i) {
|
||||
|
Reference in New Issue
Block a user