From: Anthony Minessale Date: Thu, 8 Sep 2016 20:10:14 +0000 (-0500) Subject: FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit] X-Git-Tag: v1.6.11~9^2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baccbea1f1470e0e9a6d9bd6450a85d89a3f672a;p=thirdparty%2Ffreeswitch.git FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit] --- diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 64d25dd315..39bffd58ab 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -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);