From 03a9bbe63ae4801da3eb152dac1878645f0f3fe6 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 18 Nov 2008 22:15:02 +0000 Subject: [PATCH] let ppl do info dtmf wrong git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10443 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/switch_utils.c b/src/switch_utils.c index ae3c6acc6e..8d3b23a274 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -1128,6 +1128,9 @@ SWITCH_DECLARE(int) switch_build_uri(char *uri, SWITCH_DECLARE(char) switch_rfc2833_to_char(int event) { if (event > -1 && event < (int32_t) sizeof(RFC2833_CHARS)) { + if (is_dtmf(event)) { + return (char) event; + } return RFC2833_CHARS[event]; } return '\0';