[asterisk-commits] pcadach: trunk r43571 - in /trunk/channels: chan_h323.c h323/chan_h323.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Sep 24 11:12:36 MST 2006


Author: pcadach
Date: Sun Sep 24 13:12:35 2006
New Revision: 43571

URL: http://svn.digium.com/view/asterisk?rev=43571&view=rev
Log:
Define DTMF payload types

Modified:
    trunk/channels/chan_h323.c
    trunk/channels/h323/chan_h323.h

Modified: trunk/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_h323.c?rev=43571&r1=43570&r2=43571&view=diff
==============================================================================
--- trunk/channels/chan_h323.c (original)
+++ trunk/channels/chan_h323.c Sun Sep 24 13:12:35 2006
@@ -2728,7 +2728,7 @@
 	memset(&global_options, 0, sizeof(global_options));
 	global_options.fastStart = 1;
 	global_options.h245Tunneling = 1;
-	global_options.dtmfcodec = 101;
+	global_options.dtmfcodec = H323_DTMF_RFC2833_PT;
 	global_options.dtmfmode = H323_DTMF_RFC2833;
 	global_options.capability = GLOBAL_CAPABILITY;
 	global_options.bridge = 1;		/* Do native bridging by default */

Modified: trunk/channels/h323/chan_h323.h
URL: http://svn.digium.com/view/asterisk/trunk/channels/h323/chan_h323.h?rev=43571&r1=43570&r2=43571&view=diff
==============================================================================
--- trunk/channels/h323/chan_h323.h (original)
+++ trunk/channels/h323/chan_h323.h Sun Sep 24 13:12:35 2006
@@ -190,6 +190,9 @@
 #define H323_DTMF_RFC2833	(1 << 0)
 #define H323_DTMF_INBAND	(1 << 1)
 
+#define H323_DTMF_RFC2833_PT	101
+#define H323_DTMF_CISCO_PT		121
+
 #ifndef BOOL
 #define BOOL int
 #endif



More information about the asterisk-commits mailing list