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
This commit is contained in:
Michael Jerris 2007-02-10 23:28:19 +00:00
parent edbc5594af
commit 16ab18935c
1 changed files with 1 additions and 0 deletions

View 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;