mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Disable fastStart if requested by remote side
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
#include <ptlib.h>
|
#include <ptlib.h>
|
||||||
#include <h323.h>
|
#include <h323.h>
|
||||||
#include <h323pdu.h>
|
#include <h323pdu.h>
|
||||||
|
#include <h323neg.h>
|
||||||
#include <mediafmt.h>
|
#include <mediafmt.h>
|
||||||
#include <lid.h>
|
#include <lid.h>
|
||||||
|
|
||||||
@@ -1105,6 +1106,14 @@ BOOL MyH323Connection::OnReceivedSignalSetup(const H323SignalPDU & setupPDU)
|
|||||||
|
|
||||||
SetCallOptions(res, TRUE);
|
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);
|
return H323Connection::OnReceivedSignalSetup(setupPDU);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user