[asterisk-commits] pcadach: trunk r43590 - /trunk/channels/h323/ast_h323.cxx

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Sep 25 00:50:26 MST 2006


Author: pcadach
Date: Mon Sep 25 02:50:25 2006
New Revision: 43590

URL: http://svn.digium.com/view/asterisk?rev=43590&view=rev
Log:
Disable fastStart if requested by remote side

Modified:
    trunk/channels/h323/ast_h323.cxx

Modified: trunk/channels/h323/ast_h323.cxx
URL: http://svn.digium.com/view/asterisk/trunk/channels/h323/ast_h323.cxx?rev=43590&r1=43589&r2=43590&view=diff
==============================================================================
--- trunk/channels/h323/ast_h323.cxx (original)
+++ trunk/channels/h323/ast_h323.cxx Mon Sep 25 02:50:25 2006
@@ -37,6 +37,7 @@
 #include <ptlib.h>
 #include <h323.h>
 #include <h323pdu.h>
+#include <h323neg.h>
 #include <mediafmt.h>
 #include <lid.h>
 
@@ -1105,6 +1106,14 @@
 
 	SetCallOptions(res, TRUE);
 
+	/* Disable fastStart if requested by remote side */
+	if (h245Tunneling && !setupPDU.m_h323_uu_pdu.m_h245Tunneling) {
+		masterSlaveDeterminationProcedure->Stop();
+		capabilityExchangeProcedure->Stop();
+		PTRACE(3, "H225\tFast Start DISABLED!");
+		h245Tunneling = FALSE;
+	}
+
 	return H323Connection::OnReceivedSignalSetup(setupPDU);
 }
 



More information about the asterisk-commits mailing list