FS-5322 stable equiv
This commit is contained in:
parent
40eda54cfe
commit
01e06b601e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue