From: Michael Jerris Date: Sat, 10 Feb 2007 23:28:19 +0000 (+0000) Subject: be more flexible in what we accept for char based dtmf (ABCD and abcd), patch from... X-Git-Tag: v1.0-beta1~1170 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16ab18935c3c3d2659a1464a86988429d4fec554;p=thirdparty%2Ffreeswitch.git be more flexible in what we accept for char based dtmf (ABCD and abcd), patch from George Shaw. Thanks. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4197 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_utils.c b/src/switch_utils.c index 689c79f536..3f02c135bd 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -397,6 +397,7 @@ SWITCH_DECLARE(unsigned char) switch_char_to_rfc2833(char key) char *c; unsigned char counter = 0; + key = (char)toupper(key); for (c = RFC2833_CHARS; *c ; c++) { if (*c == key) { return counter;