]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit]
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 8 Sep 2016 20:10:14 +0000 (15:10 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 8 Sep 2016 20:10:14 +0000 (15:10 -0500)
src/mod/applications/mod_commands/mod_commands.c

index 64d25dd3158a175dd0e40033b2725322da9db807..39bffd58ab422a7e9443fab92392d180e3431fac 100644 (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);