let ppl do info dtmf wrong
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10443 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c71d8268ad
commit
03a9bbe63a
|
@ -1128,6 +1128,9 @@ SWITCH_DECLARE(int) switch_build_uri(char *uri,
|
||||||
SWITCH_DECLARE(char) switch_rfc2833_to_char(int event)
|
SWITCH_DECLARE(char) switch_rfc2833_to_char(int event)
|
||||||
{
|
{
|
||||||
if (event > -1 && event < (int32_t) sizeof(RFC2833_CHARS)) {
|
if (event > -1 && event < (int32_t) sizeof(RFC2833_CHARS)) {
|
||||||
|
if (is_dtmf(event)) {
|
||||||
|
return (char) event;
|
||||||
|
}
|
||||||
return RFC2833_CHARS[event];
|
return RFC2833_CHARS[event];
|
||||||
}
|
}
|
||||||
return '\0';
|
return '\0';
|
||||||
|
|
Loading…
Reference in New Issue