mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-11 01:33:41 +00:00
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:
parent
edbc5594af
commit
16ab18935c
@ -397,6 +397,7 @@ SWITCH_DECLARE(unsigned char) switch_char_to_rfc2833(char key)
|
|||||||
char *c;
|
char *c;
|
||||||
unsigned char counter = 0;
|
unsigned char counter = 0;
|
||||||
|
|
||||||
|
key = (char)toupper(key);
|
||||||
for (c = RFC2833_CHARS; *c ; c++) {
|
for (c = RFC2833_CHARS; *c ; c++) {
|
||||||
if (*c == key) {
|
if (*c == key) {
|
||||||
return counter;
|
return counter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user