FS-4956 --resolve

This commit is contained in:
Brian West 2012-12-20 20:49:36 -06:00
parent 1ea1773b5d
commit 22efebc301
1 changed files with 3 additions and 0 deletions

View File

@ -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))) {
terminators = "*";
}
if (!strcasecmp(terminators, "any")) {
terminators = "1234567890*#";
}
if (!strcasecmp(terminators, "none")) {
terminators = NULL;
}