diff --git a/channels/h323/ast_h323.cxx b/channels/h323/ast_h323.cxx index cc0211974e..61634aea9e 100644 --- a/channels/h323/ast_h323.cxx +++ b/channels/h323/ast_h323.cxx @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -1105,6 +1106,14 @@ BOOL MyH323Connection::OnReceivedSignalSetup(const H323SignalPDU & setupPDU) 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); }