Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

H323EndPoint Class Reference

#include <h323ep.h>

Inheritance diagram for H323EndPoint:

OpalEndPoint List of all members.

Member variable access

enum  TerminalTypes {
  e_TerminalOnly = 50, e_TerminalAndMC = 70, e_GatewayOnly = 60, e_GatewayAndMC = 80,
  e_GatewayAndMCWithDataMP = 90, e_GatewayAndMCWithAudioMP = 100, e_GatewayAndMCWithAVMP = 110, e_GatekeeperOnly = 120,
  e_GatekeeperWithDataMP = 130, e_GatekeeperWithAudioMP = 140, e_GatekeeperWithAVMP = 150, e_MCUOnly = 160,
  e_MCUWithDataMP = 170, e_MCUWithAudioMP = 180, e_MCUWithAVMP = 190
}
virtual void SetLocalUserName (const PString &name)
virtual const PString & GetLocalUserName () const
BOOL AddAliasName (const PString &name)
BOOL RemoveAliasName (const PString &name)
const PStringList & GetAliasNames () const
const PString & GetDefaultILSServer () const
void SetDefaultILSServer (const PString &server)
BOOL IsFastStartDisabled () const
void DisableFastStart (BOOL mode)
BOOL IsH245TunnelingDisabled () const
void DisableH245Tunneling (BOOL mode)
BOOL IsH245inSetupDisabled () const
void DisableH245inSetup (BOOL mode)
BOOL IsH245Disabled () const
void DisableH245 (BOOL bH245Disabled)
BOOL CanDisplayAmountString () const
void SetCanDisplayAmountString (BOOL mode)
BOOL CanEnforceDurationLimit () const
void SetCanEnforceDurationLimit (BOOL mode)
unsigned GetCallIntrusionProtectionLevel () const
void SetCallIntrusionProtectionLevel (unsigned level)
virtual void OnReceivedInitiateReturnError ()
BOOL CanAutoStartReceiveVideo () const
BOOL CanAutoStartTransmitVideo () const
BOOL CanAutoStartReceiveFax () const
BOOL CanAutoStartTransmitFax () const
BOOL IsH224Enabled () const
void SetIsH224Enabled (BOOL flag)
BOOL CanAutoCallForward () const
const H323CapabilitiesGetCapabilities () const
TerminalTypes GetTerminalType () const
BOOL IsTerminal () const
BOOL IsGateway () const
BOOL IsGatekeeper () const
BOOL IsMCU () const
unsigned GetMinAudioJitterDelay () const
unsigned GetMaxAudioJitterDelay () const
void SetAudioJitterDelay (unsigned minDelay, unsigned maxDelay)
unsigned GetInitialBandwidth () const
void SetInitialBandwidth (unsigned bandwidth)
virtual BOOL OnSendFeatureSet (unsigned, H225_FeatureSet &)
virtual void OnReceiveFeatureSet (unsigned, const H225_FeatureSet &)
PSTUNClient * GetSTUN (const PIPSocket::Address &address=0) const
void SetSTUNServer (const PString &server)
virtual BOOL IsLocalAddress (const PIPSocket::Address &remoteAddress) const
virtual void TranslateTCPAddress (PIPSocket::Address &localAddr, const PIPSocket::Address &remoteAddr)
WORD GetTCPPortBase () const
WORD GetTCPPortMax () const
void SetTCPPorts (unsigned tcpBase, unsigned tcpMax)
WORD GetNextTCPPort ()
WORD GetUDPPortBase () const
WORD GetUDPPortMax () const
void SetUDPPorts (unsigned udpBase, unsigned udpMax)
WORD GetNextUDPPort ()
WORD GetRtpIpPortBase () const
WORD GetRtpIpPortMax () const
void SetRtpIpPorts (unsigned udpBase, unsigned udpMax)
WORD GetRtpIpPortPair ()
BYTE GetRtpIpTypeofService () const
void SetRtpIpTypeofService (unsigned tos)
const PTimeInterval & GetSignallingChannelCallTimeout () const
const PTimeInterval & GetControlChannelStartTimeout () const
const PTimeInterval & GetEndSessionTimeout () const
const PTimeInterval & GetMasterSlaveDeterminationTimeout () const
unsigned GetMasterSlaveDeterminationRetries () const
const PTimeInterval & GetCapabilityExchangeTimeout () const
const PTimeInterval & GetLogicalChannelTimeout () const
const PTimeInterval & GetRequestModeTimeout () const
const PTimeInterval & GetRoundTripDelayTimeout () const
const PTimeInterval & GetRoundTripDelayRate () const
BOOL ShouldClearCallOnRoundTripFail () const
const PTimeInterval & GetNoMediaTimeout () const
BOOL SetNoMediaTimeout (const PTimeInterval &newInterval)
const PTimeInterval & GetGatekeeperRequestTimeout () const
unsigned GetGatekeeperRequestRetries () const
const PTimeInterval & GetRasRequestTimeout () const
unsigned GetRasRequestRetries () const
const PTimeInterval & GetGatekeeperTimeToLive () const
void SetGatekeeperTimeToLive (const PTimeInterval &ttl)
const PString & GetGkAccessTokenOID () const
void SetGkAccessTokenOID (const PString &token)
BOOL GetSendGRQ () const
void SetSendGRQ (BOOL v)
const PTimeInterval & GetCallTransferT1 () const
const PTimeInterval & GetCallTransferT2 () const
const PTimeInterval & GetCallTransferT3 () const
const PTimeInterval & GetCallTransferT4 () const
const PTimeInterval & GetCallIntrusionT1 () const
const PTimeInterval & GetCallIntrusionT2 () const
const PTimeInterval & GetCallIntrusionT3 () const
const PTimeInterval & GetCallIntrusionT4 () const
const PTimeInterval & GetCallIntrusionT5 () const
const PTimeInterval & GetCallIntrusionT6 () const
H323CallIdentityDict & GetCallIdentityDictionary ()
unsigned GetNextH450CallIdentityValue () const

Public Types

enum  { DefaultTcpPort = 1720 }

Public Methods

Construction
 H323EndPoint (OpalManager &manager)
 ~H323EndPoint ()
Overrides from OpalEndPoint
virtual BOOL MakeConnection (OpalCall &call, const PString &party, void *userData=NULL)
virtual OpalMediaFormatList GetMediaFormats () const
Set up functions
virtual void SetEndpointTypeInfo (H225_EndpointType &info) const
virtual void SetVendorIdentifierInfo (H225_VendorIdentifier &info) const
virtual void SetH221NonStandardInfo (H225_H221NonStandard &info) const
Capabilities
void AddCapability (H323Capability *capability)
PINDEX SetCapability (PINDEX descriptorNum, PINDEX simultaneous, H323Capability *cap)
PINDEX AddAllCapabilities (PINDEX descriptorNum, PINDEX simultaneous, const PString &name)
void AddAllUserInputCapabilities (PINDEX descriptorNum, PINDEX simultaneous)
void RemoveCapabilities (const PStringArray &codecNames)
void ReorderCapabilities (const PStringArray &preferenceOrder)
H323CapabilityFindCapability (const H245_Capability &cap) const
H323CapabilityFindCapability (const H245_DataType &dataType) const
H323CapabilityFindCapability (H323Capability::MainTypes mainType, unsigned subType) const
Gatekeeper management
BOOL UseGatekeeper (const PString &address=PString::Empty(), const PString &identifier=PString::Empty(), const PString &localAddress=PString::Empty())
BOOL SetGatekeeper (const PString &address, H323Transport *transport=NULL)
BOOL SetGatekeeperZone (const PString &address, const PString &identifier, H323Transport *transport=NULL)
BOOL LocateGatekeeper (const PString &identifier, H323Transport *transport=NULL)
BOOL DiscoverGatekeeper (H323Transport *transport=NULL)
virtual H323GatekeeperCreateGatekeeper (H323Transport *transport)
H323GatekeeperGetGatekeeper () const
BOOL IsRegisteredWithGatekeeper () const
BOOL RemoveGatekeeper (int reason=-1)
virtual void SetGatekeeperPassword (const PString &password, const PString &username=PString::Empty())
virtual const PString & GetGatekeeperUsername () const
virtual const PString & GetGatekeeperPassword () const
virtual H235Authenticators CreateAuthenticators ()
virtual void OnGatekeeperConfirm ()
virtual void OnGatekeeperReject ()
virtual void OnRegistrationConfirm ()
virtual void OnRegistrationReject ()
Connection management
virtual BOOL NewIncomingConnection (OpalTransport *transport)
virtual H323ConnectionCreateConnection (OpalCall &call, const PString &token, void *userData, OpalTransport &transport, const PString &alias, const H323TransportAddress &address, H323SignalPDU *setupPDU)
virtual BOOL SetupTransfer (const PString &token, const PString &callIdentity, const PString &remoteParty, void *userData=NULL)
void TransferCall (const PString &token, const PString &remoteParty, const PString &callIdentity=PString::Empty())
void ConsultationTransfer (const PString &primaryCallToken, const PString &secondaryCallToken)
void HoldCall (const PString &token, BOOL localHold)
BOOL IntrudeCall (const PString &remoteParty, unsigned capabilityLevel, void *userData=NULL)
BOOL ParsePartyName (const PString &party, PString &alias, H323TransportAddress &address)
PSafePtr< H323ConnectionFindConnectionWithLock (const PString &token, PSafetyMode mode=PSafeReadWrite)
virtual BOOL OnSendSignalSetup (H323Connection &connection, H323SignalPDU &setupPDU)
virtual BOOL OnSendCallProceeding (H323Connection &connection, H323SignalPDU &callProceedingPDU)
virtual BOOL OnSendConnect (H323Connection &connection, H323SignalPDU &connectPDU)
virtual BOOL OnIncomingCall (H323Connection &connection, const H323SignalPDU &setupPDU, H323SignalPDU &alertingPDU)
virtual BOOL OnOutgoingCall (H323Connection &conn, const H323SignalPDU &connectPDU)
virtual BOOL OnCallTransferInitiate (H323Connection &connection, const PString &remoteParty)
virtual BOOL OnCallTransferIdentify (H323Connection &connection)
virtual void OnSendARQ (H323Connection &conn, H225_AdmissionRequest &arq)
virtual OpalConnection::AnswerCallResponse OnAnswerCall (H323Connection &connection, const PString &callerName, const H323SignalPDU &setupPDU, H323SignalPDU &connectPDU, H323SignalPDU &progressPDU)
virtual OpalConnection::AnswerCallResponse OnAnswerCall (OpalConnection &connection, const PString &caller)
virtual BOOL OnAlerting (H323Connection &connection, const H323SignalPDU &alertingPDU, const PString &user)
virtual BOOL OnSendAlerting (H323Connection &connection, H323SignalPDU &alerting, const PString &calleeName, BOOL withMedia)
virtual BOOL OnSentAlerting (H323Connection &connection)
virtual BOOL OnConnectionForwarded (H323Connection &connection, const PString &forwardParty, const H323SignalPDU &pdu)
virtual BOOL ForwardConnection (H323Connection &connection, const PString &forwardParty, const H323SignalPDU &pdu)
virtual void OnConnectionEstablished (H323Connection &connection, const PString &token)
virtual BOOL IsConnectionEstablished (const PString &token)
virtual void OnConnectionCleared (H323Connection &connection, const PString &token)
Logical Channels management
virtual BOOL OnStartLogicalChannel (H323Connection &connection, H323Channel &channel)
virtual void OnClosedLogicalChannel (H323Connection &connection, const H323Channel &channel)
virtual void OnRTPStatistics (const H323Connection &connection, const RTP_Session &session) const
virtual void OnGatekeeperNATDetect (PIPSocket::Address publicAddr, PString &gkIdentifier, H323TransportAddress &gkRouteAddress)
Service Control
virtual void OnHTTPServiceControl (unsigned operation, unsigned sessionId, const PString &url)
virtual void OnCallCreditServiceControl (const PString &amount, BOOL mode)
virtual void OnServiceControlSession (unsigned type, unsigned sessionid, const H323ServiceControlSession &session, H323Connection *connection)
virtual H323ServiceControlSessionCreateServiceControlSession (const H225_ServiceControlDescriptor &contents)
Additional call services
virtual BOOL OnConferenceInvite (const H323SignalPDU &setupPDU)
virtual BOOL OnCallIndependentSupplementaryService (const H323SignalPDU &setupPDU)
virtual BOOL OnNegotiateConferenceCapabilities (const H323SignalPDU &setupPDU)

Static Public Attributes

BYTE defaultT35CountryCode
BYTE defaultT35Extension
WORD defaultManufacturerCode

Protected Methods

H323GatekeeperInternalCreateGatekeeper (H323Transport *transport)
BOOL InternalRegisterGatekeeper (H323Gatekeeper *gk, BOOL discovered)
BOOL InternalMakeCall (OpalCall &call, const PString &existingToken, const PString &callIdentity, unsigned capabilityLevel, const PString &remoteParty, void *userData)

Protected Attributes

PStringList localAliasNames
BOOL autoStartReceiveFax
BOOL autoStartTransmitFax
BOOL isH224Enabled
BOOL autoCallForward
BOOL disableFastStart
BOOL disableH245Tunneling
BOOL disableH245inSetup
BOOL m_bH245Disabled
BOOL canDisplayAmountString
BOOL canEnforceDurationLimit
unsigned callIntrusionProtectionLevel
BYTE t35CountryCode
BYTE t35Extension
WORD manufacturerCode
TerminalTypes terminalType
BOOL clearCallOnRoundTripFail
PTimeInterval signallingChannelCallTimeout
PTimeInterval controlChannelStartTimeout
PTimeInterval endSessionTimeout
PTimeInterval masterSlaveDeterminationTimeout
unsigned masterSlaveDeterminationRetries
PTimeInterval capabilityExchangeTimeout
PTimeInterval logicalChannelTimeout
PTimeInterval requestModeTimeout
PTimeInterval roundTripDelayTimeout
PTimeInterval roundTripDelayRate
PTimeInterval gatekeeperRequestTimeout
unsigned gatekeeperRequestRetries
PTimeInterval rasRequestTimeout
unsigned rasRequestRetries
PTimeInterval registrationTimeToLive
PString gkAccessTokenOID
BOOL sendGRQ
PTimeInterval callTransferT1
PTimeInterval callTransferT2
PTimeInterval callTransferT3
PTimeInterval callTransferT4
PTimeInterval callIntrusionT1
PTimeInterval callIntrusionT2
PTimeInterval callIntrusionT3
PTimeInterval callIntrusionT4
PTimeInterval callIntrusionT5
PTimeInterval callIntrusionT6
H323Capabilities capabilities
H323Gatekeepergatekeeper
PString gatekeeperUsername
PString gatekeeperPassword
H323CallIdentityDict secondaryConnectionsActive
PAtomicInteger nextH450CallIdentity

Detailed Description

This class manages the H323 endpoint. An endpoint may have zero or more listeners to create incoming connections or zero or more outgoing connections initiated via the MakeCall() function. Once a conection exists it is managed by this class instance.

The main thing this class embodies is the capabilities of the application, that is the codecs and protocols it is capable of.

An application may create a descendent off this class and overide the CreateConnection() function, if they require a descendent of H323Connection to be created. This would be quite likely in most applications.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
DefaultTcpPort 

enum H323EndPoint::TerminalTypes
 

Endpoint types.

Enumeration values:
e_TerminalOnly 
e_TerminalAndMC 
e_GatewayOnly 
e_GatewayAndMC 
e_GatewayAndMCWithDataMP 
e_GatewayAndMCWithAudioMP 
e_GatewayAndMCWithAVMP 
e_GatekeeperOnly 
e_GatekeeperWithDataMP 
e_GatekeeperWithAudioMP 
e_GatekeeperWithAVMP 
e_MCUOnly 
e_MCUWithDataMP 
e_MCUWithAudioMP 
e_MCUWithAVMP 


Constructor & Destructor Documentation

H323EndPoint::H323EndPoint OpalManager   manager
 

Create a new endpoint.

H323EndPoint::~H323EndPoint  
 

Destroy endpoint.


Member Function Documentation

BOOL H323EndPoint::AddAliasName const PString &    name
 

Add an alias name to be used for the local end of any connections. If the alias name already exists in the list then is is not added again.

The list defaults to the value set in the SetLocalUserName() function. Note that calling SetLocalUserName() will clear the alias list.

Parameters:
name  New alias name to add

PINDEX H323EndPoint::AddAllCapabilities PINDEX    descriptorNum,
PINDEX    simultaneous,
const PString &    name
 

Add all matching capabilities in list. All capabilities that match the specified name are added. See the capabilities code for details on the matching algorithm.

Parameters:
descriptorNum  The member of the capabilityDescriptor to add
simultaneous  The member of the SimultaneousCapabilitySet to add
name  New capabilities name, if using "known" one.

void H323EndPoint::AddAllUserInputCapabilities PINDEX    descriptorNum,
PINDEX    simultaneous
 

Add all user input capabilities to this endpoints capability table.

Parameters:
descriptorNum  The member of the capabilityDescriptor to add
simultaneous  The member of the SimultaneousCapabilitySet to add

void H323EndPoint::AddCapability H323Capability   capability
 

Add a codec to the capabilities table. This will assure that the assignedCapabilityNumber field in the codec is unique for all codecs installed on this endpoint.

If the specific instnace of the capability is already in the table, it is not added again. Ther can be multiple instances of the same capability class however.

Parameters:
capability  New codec specification

BOOL H323EndPoint::CanAutoCallForward   const [inline]
 

See if should automatically do call forward of connection.

BOOL H323EndPoint::CanAutoStartReceiveFax   const [inline]
 

See if should auto-start receive fax channels on connection.

BOOL H323EndPoint::CanAutoStartReceiveVideo   const [inline]
 

See if should auto-start receive video channels on connection.

BOOL H323EndPoint::CanAutoStartTransmitFax   const [inline]
 

See if should auto-start transmit fax channels on connection.

BOOL H323EndPoint::CanAutoStartTransmitVideo   const [inline]
 

See if should auto-start transmit video channels on connection.

BOOL H323EndPoint::CanDisplayAmountString   const [inline]
 

Get the flag indicating the endpoint can display an amount string.

BOOL H323EndPoint::CanEnforceDurationLimit   const [inline]
 

Get the flag indicating the call will automatically clear after a time.

void H323EndPoint::ConsultationTransfer const PString &    primaryCallToken,
const PString &    secondaryCallToken
 

Transfer the call through consultation so the remote party in the primary call is connected to the called party in the second call using H.450.2. This sends a Call Transfer Identify Invoke message from the A-Party (transferring endpoint) to the C-Party (transferred-to endpoint).

Parameters:
primaryCallToken  Token of primary call
secondaryCallToken  Token of secondary call

virtual H235Authenticators H323EndPoint::CreateAuthenticators   [virtual]
 

Create a list of authenticators for gatekeeper.

virtual H323Connection* H323EndPoint::CreateConnection OpalCall   call,
const PString &    token,
void *    userData,
OpalTransport   transport,
const PString &    alias,
const H323TransportAddress   address,
H323SignalPDU   setupPDU
[virtual]
 

Create a connection that uses the specified call.

Parameters:
call  Call object to attach the connection to
token  Call token for new connection
userData  Arbitrary user data from MakeConnection
transport  Transport for connection
alias  Alias for outgoing call
address  Address for outgoing call
setupPDU  Setup PDU for incoming call

virtual H323Gatekeeper* H323EndPoint::CreateGatekeeper H323Transport   transport [virtual]
 

Create a gatekeeper. This allows the application writer to have the gatekeeper as a descendent of the H323Gatekeeper in order to add functionality to the base capabilities in the library.

The default creates an instance of the H323Gatekeeper class.

Parameters:
transport  Transport over which gatekeepers communicates.

virtual H323ServiceControlSession* H323EndPoint::CreateServiceControlSession const H225_ServiceControlDescriptor   contents [virtual]
 

Create the service control session object.

void H323EndPoint::DisableFastStart BOOL    mode [inline]
 

Set the default fast start mode.

Parameters:
mode  New default mode

void H323EndPoint::DisableH245 BOOL    bH245Disabled [inline]
 

Disable/Enable H.245, used at least for h450.7 calls

Parameters:
bH245Disabled  TRUE if h245 has to be disabled

void H323EndPoint::DisableH245inSetup BOOL    mode [inline]
 

Set the default H.245 tunneling mode.

Parameters:
mode  New default mode

void H323EndPoint::DisableH245Tunneling BOOL    mode [inline]
 

Set the default H.245 tunneling mode.

Parameters:
mode  New default mode

BOOL H323EndPoint::DiscoverGatekeeper H323Transport   transport = NULL
 

Discover and select gatekeeper. This function will use the automatic gatekeeper discovery methods to locate the first gatekeeper on a particular transport.

Note the transport being passed in will be deleted becomes owned by the H323Gatekeeper created by this function and will be deleted by it. Also if transport is NULL then a H323TransportUDP is created.

Parameters:
transport  Transport over which to talk to gatekeeper.

H323Capability* H323EndPoint::FindCapability H323Capability::MainTypes    mainType,
unsigned    subType
const
 

Find a capability that has been registered.

Parameters:
mainType  Main type of codec
subType  Subtype of codec

H323Capability* H323EndPoint::FindCapability const H245_DataType   dataType const
 

Find a capability that has been registered.

Parameters:
dataType  H245 data type of codec

H323Capability* H323EndPoint::FindCapability const H245_Capability   cap const
 

Find a capability that has been registered.

Parameters:
cap  H245 capability table entry

PSafePtr<H323Connection> H323EndPoint::FindConnectionWithLock const PString &    token,
PSafetyMode    mode = PSafeReadWrite
 

Find a connection that uses the specified token. This searches the endpoint for the connection that contains the token as provided by functions such as MakeCall(). if not found it will then search for the string representation of the CallIdentifier for the connection, and finally try for the string representation of the ConferenceIdentifier.

Note the caller of this function MUSt call the H323Connection::Unlock() function if this function returns a non-NULL pointer. If it does not then a deadlock can occur.

Parameters:
token  Token to identify connection

virtual BOOL H323EndPoint::ForwardConnection H323Connection   connection,
const PString &    forwardParty,
const H323SignalPDU   pdu
[virtual]
 

Forward the call using the same token as the specified connection. Return TRUE if the call is being redirected.

The default behaviour will replace the current call in the endpoints call list using the same token as the call being redirected. Not that even though the same token is being used the actual object is completely mad anew.

Parameters:
connection  Connection to be forwarded
forwardParty  Remote party to forward to
pdu  Full PDU initiating forwarding

const PStringList& H323EndPoint::GetAliasNames   const [inline]
 

Get the user name to be used for the local end of any connections. This defaults to the logged in user as obtained from the PProcess::GetUserName() function.

H323CallIdentityDict& H323EndPoint::GetCallIdentityDictionary   [inline]
 

Get the dictionary of <callIdentities, connections>

unsigned H323EndPoint::GetCallIntrusionProtectionLevel   const [inline]
 

Get Call Intrusion Protection Level of the end point.

const PTimeInterval& H323EndPoint::GetCallIntrusionT1   const [inline]
 

Get Call Intrusion timers timeout

const PTimeInterval& H323EndPoint::GetCallIntrusionT2   const [inline]
 

const PTimeInterval& H323EndPoint::GetCallIntrusionT3   const [inline]
 

const PTimeInterval& H323EndPoint::GetCallIntrusionT4   const [inline]
 

const PTimeInterval& H323EndPoint::GetCallIntrusionT5   const [inline]
 

const PTimeInterval& H323EndPoint::GetCallIntrusionT6   const [inline]
 

const PTimeInterval& H323EndPoint::GetCallTransferT1   const [inline]
 

Get the default timeout for Call Transfer Timer CT-T1.

const PTimeInterval& H323EndPoint::GetCallTransferT2   const [inline]
 

Get the default timeout for Call Transfer Timer CT-T2.

const PTimeInterval& H323EndPoint::GetCallTransferT3   const [inline]
 

Get the default timeout for Call Transfer Timer CT-T3.

const PTimeInterval& H323EndPoint::GetCallTransferT4   const [inline]
 

Get the default timeout for Call Transfer Timer CT-T4.

const H323Capabilities& H323EndPoint::GetCapabilities  
 

Get the current capability table for this endpoint.

const PTimeInterval& H323EndPoint::GetCapabilityExchangeTimeout   const [inline]
 

Get the default timeout for H245 capability exchange negotiations.

const PTimeInterval& H323EndPoint::GetControlChannelStartTimeout   const [inline]
 

Get the default timeout for incoming H.245 connection.

const PString& H323EndPoint::GetDefaultILSServer   const [inline]
 

Get the default ILS server to use for user lookup.

const PTimeInterval& H323EndPoint::GetEndSessionTimeout   const [inline]
 

Get the default timeout for waiting on an end session.

H323Gatekeeper* H323EndPoint::GetGatekeeper   const [inline]
 

Get the gatekeeper we are registered with.

virtual const PString& H323EndPoint::GetGatekeeperPassword   const [inline, virtual]
 

Get the H.235 password for the gatekeeper.

unsigned H323EndPoint::GetGatekeeperRequestRetries   const [inline]
 

Get the default retries for GatekeeperRequest and Gatekeeper discovery.

const PTimeInterval& H323EndPoint::GetGatekeeperRequestTimeout   const [inline]
 

Get the default timeout for GatekeeperRequest and Gatekeeper discovery.

const PTimeInterval& H323EndPoint::GetGatekeeperTimeToLive   const [inline]
 

Get the default time for gatekeeper to reregister. A value of zero disables the keep alive facility.

virtual const PString& H323EndPoint::GetGatekeeperUsername   const [inline, virtual]
 

Get the H.235 username for the gatekeeper.

const PString& H323EndPoint::GetGkAccessTokenOID   const [inline]
 

Get the iNow Gatekeeper Access Token OID.

unsigned H323EndPoint::GetInitialBandwidth   const [inline]
 

Get the initial bandwidth parameter.

Reimplemented from OpalEndPoint.

virtual const PString& H323EndPoint::GetLocalUserName   const [inline, virtual]
 

Get the user name to be used for the local end of any connections. This defaults to the logged in user as obtained from the PProcess::GetUserName() function.

const PTimeInterval& H323EndPoint::GetLogicalChannelTimeout   const [inline]
 

Get the default timeout for H245 logical channel negotiations.

unsigned H323EndPoint::GetMasterSlaveDeterminationRetries   const [inline]
 

Get the default retries for H245 master slave negotiations.

const PTimeInterval& H323EndPoint::GetMasterSlaveDeterminationTimeout   const [inline]
 

Get the default timeout for master slave negotiations.

unsigned H323EndPoint::GetMaxAudioJitterDelay   const [inline]
 

Get the default maximum audio delay jitter parameter. Defaults to 250ms.

virtual OpalMediaFormatList H323EndPoint::GetMediaFormats   [virtual]
 

Get the data formats this endpoint is capable of operating. This provides a list of media data format names that may be used by an OpalMediaStream may be created by a connection from this endpoint.

Note that a specific connection may not actually support all of the media formats returned here, but should return no more.

The default behaviour is pure.

Implements OpalEndPoint.

unsigned H323EndPoint::GetMinAudioJitterDelay   const [inline]
 

Get the default maximum audio jitter delay parameter. Defaults to 50ms

unsigned H323EndPoint::GetNextH450CallIdentityValue   const [inline]
 

Get the next available invoke Id for H450 operations

WORD H323EndPoint::GetNextTCPPort   [inline]
 

Get the next TCP port number for H.245 channels

WORD H323EndPoint::GetNextUDPPort   [inline]
 

Get the next UDP port number for RAS channels

const PTimeInterval& H323EndPoint::GetNoMediaTimeout   const [inline]
 

Get the amount of time with no media that should cause call to clear

unsigned H323EndPoint::GetRasRequestRetries   const [inline]
 

Get the default retries for RAS protocol transations.

const PTimeInterval& H323EndPoint::GetRasRequestTimeout   const [inline]
 

Get the default timeout for RAS protocol transactions.

const PTimeInterval& H323EndPoint::GetRequestModeTimeout   const [inline]
 

Get the default timeout for H245 request mode negotiations.

const PTimeInterval& H323EndPoint::GetRoundTripDelayRate   const [inline]
 

Get the default rate H245 round trip delay is calculated by connection.

const PTimeInterval& H323EndPoint::GetRoundTripDelayTimeout   const [inline]
 

Get the default timeout for H245 round trip delay negotiations.

WORD H323EndPoint::GetRtpIpPortBase   const [inline]
 

Get the UDP port number base for RTP channels.

WORD H323EndPoint::GetRtpIpPortMax   const [inline]
 

Get the max UDP port number for RTP channels.

WORD H323EndPoint::GetRtpIpPortPair   [inline]
 

Get the UDP port number pair for RTP channels.

BYTE H323EndPoint::GetRtpIpTypeofService   const [inline]
 

Get the IP Type Of Service byte for RTP channels.

BOOL H323EndPoint::GetSendGRQ   const [inline]
 

Get flag to indicate whether to send GRQ on gatekeeper registration

const PTimeInterval& H323EndPoint::GetSignallingChannelCallTimeout   const [inline]
 

Get the default timeout for calling another endpoint.

PSTUNClient* H323EndPoint::GetSTUN const PIPSocket::Address &    address = 0 const [inline]
 

Return the STUN server to use. Returns NULL if address is a local address as per IsLocalAddress(). Always returns the STUN server if address is zero. Note, the pointer is NOT to be deleted by the user.

WORD H323EndPoint::GetTCPPortBase   const [inline]
 

Get the TCP port number base for H.245 channels