]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4956 --resolve
authorBrian West <brian@freeswitch.org>
Fri, 21 Dec 2012 02:49:36 +0000 (20:49 -0600)
committerBrian West <brian@freeswitch.org>
Fri, 21 Dec 2012 02:49:36 +0000 (20:49 -0600)
src/mod/applications/mod_dptools/mod_dptools.c

index 0cee93928680e2bc170e4f16905a586ce19cf50b..e45f7215bc18d95c6839cfaa8c15da7935b76fc7 100755 (executable)
@@ -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;
                        }