mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 12:37:26 +00:00
FS-9486 #resolve [uuid_drop_dtmf switch between tone replace and digit]
This commit is contained in:
parent
34bff55ffd
commit
baccbea1f1
@ -3112,6 +3112,9 @@ SWITCH_STANDARD_API(uuid_drop_dtmf)
|
|||||||
int is_on = 0;
|
int is_on = 0;
|
||||||
const char *file, *digits;
|
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 (!zstr(mask_action) && !zstr(mask_arg)) {
|
||||||
if (!strcasecmp(mask_action, "mask_digits")) {
|
if (!strcasecmp(mask_action, "mask_digits")) {
|
||||||
switch_channel_set_variable(channel, "drop_dtmf_masking_digits", mask_arg);
|
switch_channel_set_variable(channel, "drop_dtmf_masking_digits", mask_arg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user