]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
be more flexible in what we accept for char based dtmf (ABCD and abcd), patch from...
authorMichael Jerris <mike@jerris.com>
Sat, 10 Feb 2007 23:28:19 +0000 (23:28 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 10 Feb 2007 23:28:19 +0000 (23:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4197 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_utils.c

index 689c79f536b16438b3ae66c7c14760f10a26790d..3f02c135bd54ea85c7f9d3f22d3ffe177f875b88 100644 (file)
@@ -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;