[asterisk-commits] branch oej/test-this-branch r13390 - /team/oej/test-this-branch/channels/

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


Author: oej
Date: Sat Mar 18 05:04:21 2006
New Revision: 13390

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

Modified:
    team/oej/test-this-branch/channels/chan_sip.c

Modified: team/oej/test-this-branch/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/test-this-branch/channels/chan_sip.c?rev=13390&r1=13389&r2=13390&view=diff
==============================================================================
--- team/oej/test-this-branch/channels/chan_sip.c (original)
+++ team/oej/test-this-branch/channels/chan_sip.c Sat Mar 18 05:04:21 2006
@@ -687,10 +687,10 @@
 #define SIP_PAGE2_PEER_REGISTER		(1 << 11)	/*!< Register this peer with service */
 #define SIP_PAGE2_ALLOWOVERLAP		(1 << 12)	/*!< Allow overlap dialing */
 #define SIP_PAGE2_ALLOWSUBSCRIBE	(1 << 13)	/*!< Allow SUBSCRIBE */
-#define SIP_PAGE2_T38SUPPORT          (3 << 14)       /*!< T38 Fax Passthrough Support */
-#define SIP_PAGE2_T38SUPPORT_UDPTL    (0 << 14)       /*!< 15: T38 Fax Passthrough Support */
-#define SIP_PAGE2_T38SUPPORT_RTP      (1 << 14)       /*!< 16: T38 Fax Passthrough Support */
-#define SIP_PAGE2_T38SUPPORT_TCP      (2 << 14)       /*!< 17: T38 Fax Passthrough Support */
+#define SIP_PAGE2_T38SUPPORT		(7 << 14)       /*!< T38 Fax Passthrough Support, need three bits */
+#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_VIDEOSUPPORT | SIP_PAGE2_ALLOWOVERLAP | SIP_PAGE2_ALLOWSUBSCRIBE  \



More information about the asterisk-commits mailing list