FS-5322 stable equiv

This commit is contained in:
Anthony Minessale 2013-04-18 16:29:06 -05:00
parent 40eda54cfe
commit 01e06b601e
1 changed files with 7 additions and 0 deletions

View File

@ -1522,6 +1522,13 @@ static switch_status_t sofia_send_dtmf(switch_core_session_t *session, const swi
switch_assert(tech_pvt != NULL);
if (sofia_test_flag(tech_pvt, TFLAG_DROP_DTMF)) {
const char *file = switch_channel_get_variable_dup(tech_pvt->channel, "drop_dtmf_masking_file", SWITCH_FALSE, -1);
if (!zstr(file)) {
switch_ivr_broadcast(switch_core_session_get_uuid(session), file, SMF_ECHO_ALEG);
}
return SWITCH_STATUS_SUCCESS;
}