[Freeswitch-svn] [commit] r10443 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Tue Nov 18 14:15:04 PST 2008


Author: anthm
Date: Tue Nov 18 17:15:02 2008
New Revision: 10443

Log:
let ppl do info dtmf wrong

Modified:
   freeswitch/trunk/src/switch_utils.c

Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c	(original)
+++ freeswitch/trunk/src/switch_utils.c	Tue Nov 18 17:15:02 2008
@@ -1128,6 +1128,9 @@
 SWITCH_DECLARE(char) switch_rfc2833_to_char(int event)
 {
 	if (event > -1 && event < (int32_t) sizeof(RFC2833_CHARS)) {
+		if (is_dtmf(event)) {
+			return (char) event;
+		}
 		return RFC2833_CHARS[event];
 	}
 	return '\0';



More information about the Freeswitch-svn mailing list