mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-02 11:29:48 +00:00
FS-4956 --resolve
This commit is contained in:
parent
1ea1773b5d
commit
22efebc301
@ -2003,6 +2003,9 @@ static switch_status_t on_dtmf(switch_core_session_t *session, void *input, swit
|
|||||||
if (!(terminators = switch_channel_get_variable(channel, SWITCH_PLAYBACK_TERMINATORS_VARIABLE))) {
|
if (!(terminators = switch_channel_get_variable(channel, SWITCH_PLAYBACK_TERMINATORS_VARIABLE))) {
|
||||||
terminators = "*";
|
terminators = "*";
|
||||||
}
|
}
|
||||||
|
if (!strcasecmp(terminators, "any")) {
|
||||||
|
terminators = "1234567890*#";
|
||||||
|
}
|
||||||
if (!strcasecmp(terminators, "none")) {
|
if (!strcasecmp(terminators, "none")) {
|
||||||
terminators = NULL;
|
terminators = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user