[asterisk-commits] branch oej/t38passthrough r13389 - /team/oej/t38passthrough/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Mar 18 04:03:43 MST 2006


Author: oej
Date: Sat Mar 18 05:03:40 2006
New Revision: 13389

URL: http://svn.digium.com/view/asterisk?rev=13389&view=rev
Log:
Fixing the flags that could not be set properly for udptl (Thanks, George Pajari!)

Modified:
    team/oej/t38passthrough/channels/chan_sip.c

Modified: team/oej/t38passthrough/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/t38passthrough/channels/chan_sip.c?rev=13389&r1=13388&r2=13389&view=diff
==============================================================================
--- team/oej/t38passthrough/channels/chan_sip.c (original)
+++ team/oej/t38passthrough/channels/chan_sip.c Sat Mar 18 05:03:40 2006
@@ -653,10 +653,10 @@
 #define SIP_PAGE2_DYNAMIC		(1 << 7)	/*!< Dynamic Peers register with Asterisk */
 #define SIP_PAGE2_SELFDESTRUCT		(1 << 8)	/*!< Automatic peers need to destruct themselves */
 /* GAP for other patches in the bug tracker */
-#define SIP_PAGE2_T38SUPPORT		(3 << 15)	/*!< T38 Fax Passthrough Support */
-#define SIP_PAGE2_T38SUPPORT_UDPTL	(0 << 15)	/*!< 15: T38 Fax Passthrough Support */
-#define SIP_PAGE2_T38SUPPORT_RTP	(1 << 15)	/*!< 16: T38 Fax Passthrough Support */
-#define SIP_PAGE2_T38SUPPORT_TCP	(2 << 15)	/*!< 17: T38 Fax Passthrough Support */
+#define SIP_PAGE2_T38SUPPORT		(7 << 14)	/*!< T38 Fax Passthrough Support */
+#define SIP_PAGE2_T38SUPPORT_UDPTL	(1 << 14)	/*!< 15: T38 Fax Passthrough Support */
+#define SIP_PAGE2_T38SUPPORT_RTP	(2 << 14)	/*!< 16: T38 Fax Passthrough Support */
+#define SIP_PAGE2_T38SUPPORT_TCP	(4 << 14)	/*!< 17: T38 Fax Passthrough Support */
 
 #define SIP_PAGE2_FLAGS_TO_COPY \
 	(SIP_PAGE2_T38SUPPORT)



More information about the asterisk-commits mailing list