FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit]

This commit is contained in:
Anthony Minessale 2016-09-08 15:10:14 -05:00
parent 34bff55ffd
commit baccbea1f1
1 changed files with 3 additions and 0 deletions

View File

@ -3112,6 +3112,9 @@ SWITCH_STANDARD_API(uuid_drop_dtmf)
int is_on = 0;
const char *file, *digits;
switch_channel_set_variable(channel, "drop_dtmf_masking_digits", NULL);
switch_channel_set_variable(channel, "drop_dtmf_masking_file", NULL);
if (!zstr(mask_action) && !zstr(mask_arg)) {
if (!strcasecmp(mask_action, "mask_digits")) {
switch_channel_set_variable(channel, "drop_dtmf_masking_digits", mask_arg);