|
Construction |
| enum | Options {
FastStartOptionDisable = 0x0001,
FastStartOptionEnable = 0x0002,
FastStartOptionMask = 0x0003,
H245TunnelingOptionDisable = 0x0004,
H245TunnelingOptionEnable = 0x0008,
H245TunnelingOptionMask = 0x000c,
H245inSetupOptionDisable = 0x0010,
H245inSetupOptionEnable = 0x0020,
H245inSetupOptionMask = 0x0030,
DetectInBandDTMFOptionDisable = 0x0040,
DetectInBandDTMFOptionEnable = 0x0080,
DetectInBandDTMFOptionMask = 0x00c0
} |
| | H323Connection (OpalCall &call, H323EndPoint &endpoint, const PString &token, const PString &alias, const H323TransportAddress &address, unsigned options=0) |
| | ~H323Connection () |
Control Channel |
| enum | ControlProtocolErrors {
e_MasterSlaveDetermination,
e_CapabilityExchange,
e_LogicalChannel,
e_ModeRequest,
e_RoundTripDelay
} |
| virtual BOOL | CreateOutgoingControlChannel (const H225_TransportAddress &h245Address) |
| virtual BOOL | CreateIncomingControlChannel (H225_TransportAddress &h245Address) |
| BOOL | WriteControlPDU (const H323ControlPDU &pdu) |
| BOOL | StartControlNegotiations () |
| virtual void | HandleControlChannel () |
| virtual BOOL | HandleControlData (PPER_Stream &strm) |
| virtual BOOL | HandleControlPDU (const H323ControlPDU &pdu) |
| virtual BOOL | OnUnknownControlPDU (const H323ControlPDU &pdu) |
| virtual BOOL | OnH245Request (const H323ControlPDU &pdu) |
| virtual BOOL | OnH245Response (const H323ControlPDU &pdu) |
| virtual BOOL | OnH245Command (const H323ControlPDU &pdu) |
| virtual BOOL | OnH245Indication (const H323ControlPDU &pdu) |
| virtual BOOL | OnH245_SendTerminalCapabilitySet (const H245_SendTerminalCapabilitySet &pdu) |
| virtual BOOL | OnH245_FlowControlCommand (const H245_FlowControlCommand &pdu) |
| virtual BOOL | OnH245_MiscellaneousCommand (const H245_MiscellaneousCommand &pdu) |
| virtual BOOL | OnH245_MiscellaneousIndication (const H245_MiscellaneousIndication &pdu) |
| virtual BOOL | OnH245_JitterIndication (const H245_JitterIndication &pdu) |
| virtual BOOL | OnControlProtocolError (ControlProtocolErrors errorSource, const void *errorData=NULL) |
| virtual void | OnSendCapabilitySet (H245_TerminalCapabilitySet &pdu) |
| virtual BOOL | OnReceivedCapabilitySet (const H323Capabilities &remoteCaps, const H245_MultiplexCapability *muxCap, H245_TerminalCapabilitySetReject &reject) |
| virtual void | SendCapabilitySet (BOOL empty) |
| virtual void | OnSetLocalCapabilities () |
| BOOL | IsH245Master () const |
| void | StartRoundTripDelay () |
| PTimeInterval | GetRoundTripDelay () const |
Public Types |
Public Methods |
| virtual BOOL | OnSendFeatureSet (unsigned, H225_FeatureSet &) const |
| virtual void | OnReceiveFeatureSet (unsigned, const H225_FeatureSet &) const |
| H4507Handler & | getH4507handler () |
|
| virtual BOOL | SetUpConnection () |
| virtual BOOL | SetAlerting (const PString &calleeName, BOOL withMedia) |
| virtual BOOL | SetConnected () |
| virtual void | OnSendARQ (H225_AdmissionRequest &arq) |
| virtual BOOL | SetProgressed () |
| virtual void | OnEstablished () |
| virtual void | OnReleased () |
| virtual PString | GetDestinationAddress () |
| virtual OpalMediaFormatList | GetMediaFormats () const |
| virtual BOOL | OpenSourceMediaStream (const OpalMediaFormatList &mediaFormats, unsigned sessionID) |
| virtual OpalMediaStream * | CreateMediaStream (const OpalMediaFormat &mediaFormat, unsigned sessionID, BOOL isSource) |
| virtual BOOL | IsMediaBypassPossible (unsigned sessionID) const |
| virtual BOOL | GetMediaInformation (unsigned sessionID, MediaInformation &info) const |
|
| virtual void | OnCleared () |
| BOOL | IsEstablished () const |
| virtual void | CleanUpOnCallEnd () |
|
| void | AttachSignalChannel (const PString &token, H323Transport *channel, BOOL answeringCall) |
| BOOL | WriteSignalPDU (H323SignalPDU &pdu) |
| virtual void | HandleSignallingChannel () |
| virtual BOOL | HandleSignalPDU (H323SignalPDU &pdu) |
| virtual void | HandleTunnelPDU (H323SignalPDU *txPDU) |
| virtual BOOL | OnReceivedSignalSetup (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedSignalSetupAck (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedSignalInformation (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedCallProceeding (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedProgress (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedAlerting (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedSignalConnect (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedFacility (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedSignalNotify (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedSignalStatus (const H323SignalPDU &pdu) |
| virtual BOOL | OnReceivedStatusEnquiry (const H323SignalPDU &pdu) |
| virtual void | OnReceivedReleaseComplete (const H323SignalPDU &pdu) |
| virtual BOOL | OnUnknownSignalPDU (const H323SignalPDU &pdu) |
| virtual BOOL | OnIncomingCall (const H323SignalPDU &setupPDU, H323SignalPDU &alertingPDU) |
| virtual BOOL | ForwardCall (const PString &forwardParty) |
| void | TransferCall (const PString &remoteParty, const PString &callIdentity=PString::Empty()) |
| void | ConsultationTransfer (const PString &primaryCallToken) |
| virtual void | HandleConsultationTransfer (const PString &callIdentity, H323Connection &incoming) |
| BOOL | IsTransferringCall () const |
| BOOL | IsTransferredCall () const |
| virtual void | HandleTransferCall (const PString &token, const PString &identity) |
| int | GetCallTransferInvokeId () |
| virtual void | HandleCallTransferFailure (const int returnError) |
| void | SetAssociatedCallToken (const PString &token) |
| virtual void | OnConsultationTransferSuccess (H323Connection &secondaryCall) |
| virtual void | TransferConnection (const PString &remoteParty, const PString &callIdentity=PString::Empty()) |
| virtual void | HoldConnection () |
| virtual void | RetrieveConnection () |
| virtual BOOL | IsConnectionOnHold () |
| void | HoldCall (BOOL localHold) |
| void | RetrieveCall () |
| void | SetHoldMedia (PChannel *audioChannel) |
| BOOL | IsMediaOnHold () const |
| BOOL | IsLocalHold () const |
| BOOL | IsRemoteHold () const |
| BOOL | IsCallOnHold () const |
| virtual void | IntrudeCall (unsigned capabilityLevel) |
| virtual void | HandleIntrudeCall (const PString &token, const PString &identity) |
| void | SetCallIntrusion () |
| BOOL | IsCallIntrusion () |
| unsigned | GetLocalCallIntrusionProtectionLevel () |
| virtual BOOL | GetRemoteCallIntrusionProtectionLevel (const PString &callToken, unsigned callIntrusionProtectionLevel) |
| virtual void | SetIntrusionImpending () |
| virtual void | SetForcedReleaseAccepted () |
| virtual void | SetIntrusionNotAuthorized () |
| void | SendCallWaitingIndication (const unsigned nbOfAddWaitingCalls=0) |
| virtual AnswerCallResponse | OnAnswerCall (const PString &callerName, const H323SignalPDU &setupPDU, H323SignalPDU &connectPDU, H323SignalPDU &progressPDU) |
| virtual AnswerCallResponse | OnAnswerCall (const PString &callerName) |
| void | AnsweringCall (AnswerCallResponse response) |
| virtual CallEndReason | SendSignalSetup (const PString &alias, const H323TransportAddress &address) |
| virtual BOOL | OnSendSignalSetup (H323SignalPDU &setupPDU) |
| virtual BOOL | OnSendCallProceeding (H323SignalPDU &callProceedingPDU) |
| virtual BOOL | OnSendReleaseComplete (H323SignalPDU &releaseCompletePDU) |
| virtual BOOL | OnAlerting (const H323SignalPDU &alertingPDU, const PString &user) |
| virtual BOOL | OnInsufficientDigits () |
| virtual void | SendMoreDigits (const PString &digits) |
| virtual BOOL | OnOutgoingCall (const H323SignalPDU &connectPDU) |
| virtual BOOL | SendFastStartAcknowledge (H225_ArrayOf_PASN_OctetString &array) |
| virtual BOOL | HandleFastStartAcknowledge (const H225_ArrayOf_PASN_OctetString &array) |
|
| virtual void | OnSelectLogicalChannels () |
| virtual void | SelectDefaultLogicalChannel (unsigned sessionID) |
| virtual void | SelectFastStartChannels (unsigned sessionID, BOOL transmitter, BOOL receiver) |
| virtual void | StartFastStartChannel (unsigned sessionID, H323Channel::Directions direction) |
| virtual BOOL | OpenLogicalChannel (const H323Capability &capability, unsigned sessionID, H323Channel::Directions dir) |
| virtual BOOL | OnOpenLogicalChannel (const H245_OpenLogicalChannel &openPDU, H245_OpenLogicalChannelAck &ackPDU, unsigned &errorCode) |
| virtual BOOL | OnConflictingLogicalChannel (H323Channel &channel) |
| virtual H323Channel * | CreateLogicalChannel (const H245_OpenLogicalChannel &open, BOOL startingFast, unsigned &errorCode) |
| virtual H323Channel * | CreateRealTimeLogicalChannel (const H323Capability &capability, H323Channel::Directions dir, unsigned sessionID, const H245_H2250LogicalChannelParameters *param, RTP_QOS *rtpqos=NULL) |
| virtual BOOL | OnCreateLogicalChannel (const H323Capability &capability, H323Channel::Directions dir, unsigned &errorCode) |
| virtual BOOL | OnStartLogicalChannel (H323Channel &channel) |
| virtual void | CloseLogicalChannel (unsigned number, BOOL fromRemote) |
| virtual void | CloseLogicalChannelNumber (const H323ChannelNumber &number) |
| virtual void | CloseAllLogicalChannels (BOOL fromRemote) |
| virtual void | OnClosedLogicalChannel (const H323Channel &channel) |
| virtual BOOL | OnClosingLogicalChannel (H323Channel &channel) |
| virtual void | OnLogicalChannelFlowControl (H323Channel *channel, long bitRateRestriction) |
| virtual void | OnLogicalChannelJitter (H323Channel *channel, DWORD jitter, int skippedFrameCount, int additionalBuffer) |
| H323Channel * | GetLogicalChannel (unsigned number, BOOL fromRemote) const |
| H323Channel * | FindChannel (unsigned sessionId, BOOL fromRemote) const |
|
| virtual BOOL | SetBandwidthAvailable (unsigned newBandwidth, BOOL force=FALSE) |
| virtual unsigned | GetBandwidthUsed () const |
|
| virtual SendUserInputModes | GetRealSendUserInputMode () const |
| virtual BOOL | SendUserInputString (const PString &value) |
| virtual BOOL | SendUserInputTone (char tone, unsigned duration=0) |
| virtual BOOL | SendUserInputIndicationQ931 (const PString &value) |
| virtual BOOL | SendUserInputIndicationString (const PString &value) |
| virtual BOOL | SendUserInputIndicationTone (char tone, unsigned duration=0, unsigned logicalChannel=0, unsigned rtpTimestamp=0) |
| virtual BOOL | SendUserInputIndication (const H245_UserInputIndication &pdu) |
| virtual void | OnUserInputIndication (const H245_UserInputIndication &pdu) |
|
| virtual RTP_Session * | GetSession (unsigned sessionID) const |
| virtual H323_RTP_Session * | GetSessionCallbacks (unsigned sessionID) const |
| virtual RTP_Session * | UseSession (const OpalTransport &transport, unsigned sessionID, RTP_QOS *rtpqos=NULL) |
| virtual void | ReleaseSession (unsigned sessionID) |
| virtual void | OnRTPStatistics (const RTP_Session &session) const |
| virtual PString | GetSessionCodecNames (unsigned sessionID) const |
| BOOL | IsBehindNAT () const |
|
| virtual BOOL | RequestModeChange (const PString &newModes) |
| virtual BOOL | RequestModeChange (const H245_ArrayOf_ModeDescription &newModes) |
| virtual BOOL | OnRequestModeChange (const H245_RequestMode &pdu, H245_RequestModeAck &ack, H245_RequestModeReject &reject, PINDEX &selectedMode) |
| virtual void | OnModeChanged (const H245_ModeDescription &newMode) |
| virtual void | OnAcceptModeChange (const H245_RequestModeAck &pdu) |
| virtual void | OnRefusedModeChange (const H245_RequestModeReject *pdu) |
|
| virtual BOOL | RequestModeChangeT38 (const char *capabilityNames="T.38\nT38FaxUDP") |
| virtual BOOL | GetAdmissionRequestAuthentication (const H225_AdmissionRequest &arq, H235Authenticators &authenticators) |
|
| H323EndPoint & | GetEndPoint () const |
| BOOL | HadAnsweredCall () const |
| BOOL | IsGatekeeperRouted () const |
| unsigned | GetDistinctiveRing () const |
| void | SetDistinctiveRing (unsigned pattern) |
| const PString & | GetCallToken () const |
| unsigned | GetCallReference () const |
| const OpalGloballyUniqueID & | GetCallIdentifier () const |
| const OpalGloballyUniqueID & | GetConferenceIdentifier () const |
| void | SetLocalPartyName (const PString &name) |
| const PStringList & | GetLocalAliasNames () const |
| void | SetRemotePartyInfo (const H323SignalPDU &pdu) |
| void | SetRemoteApplication (const H225_EndpointType &pdu) |
| const PString | GetRemotePartyCallbackURL () const |
| const H323Capabilities & | GetLocalCapabilities () const |
| const H323Capabilities & | GetRemoteCapabilities () const |
| unsigned | GetRemoteMaxAudioDelayJitter () const |
| const H323Transport * | GetSignallingChannel () const |
| unsigned | GetSignallingVersion () const |
| const H323Transport & | GetControlChannel () const |
| OpalTransport & | GetTransport () const |
| unsigned | GetControlVersion () const |
| unsigned | GetUUIEsRequested () const |
| void | SetUUIEsRequested (unsigned mask) |
| const PString | GetGkAccessTokenOID () const |
| void | SetGkAccessTokenOID (const PString &oid) |
| const PBYTEArray & | GetGkAccessTokenData () const |
| void | SetDestExtraCallInfo (const PString &info) |
| void | SetRemotCallWaiting (const unsigned value) |
| const int | GetRemoteCallWaiting () const |
| void | SetEnforcedDurationLimit (unsigned seconds) |
Protected Types |
| enum | ConnectionStates {
NoConnectionActive,
AwaitingGatekeeperAdmission,
AwaitingTransportConnect,
AwaitingSignalConnect,
AwaitingLocalAnswer,
HasExecutedSignalConnect,
EstablishedConnection,
ShuttingDownConnection,
NumConnectionStates
} |
| enum | FastStartStates {
FastStartDisabled,
FastStartInitiate,
FastStartResponse,
FastStartAcknowledged,
NumFastStartStates
} |
Protected Methods |
| virtual void | InternalEstablishedConnectionCheck () |
| BOOL | InternalEndSessionCheck (PPER_Stream &strm) |
| void | SetRemoteVersions (const H225_ProtocolIdentifier &id) |
| void | MonitorCallStatus () |
| | PDECLARE_NOTIFIER (PThread, H323Connection, StartOutgoing) |
| | PDECLARE_NOTIFIER (PThread, H323Connection, NewOutgoingControlChannel) |
| | PDECLARE_NOTIFIER (PThread, H323Connection, NewIncomingControlChannel) |
Protected Attributes |
| H323EndPoint & | endpoint |
| int | remoteCallWaiting |
| BOOL | gatekeeperRouted |
| unsigned | distinctiveRing |
| unsigned | callReference |
| OpalGloballyUniqueID | conferenceIdentifier |
| PString | localDestinationAddress |
| PStringList | localAliasNames |
| H323Capabilities | localCapabilities |
| PString | destExtraCallInfo |
| H323Capabilities | remoteCapabilities |
| unsigned | remoteMaxAudioDelayJitter |
| PTimer | roundTripDelayTimer |
| WORD | maxAudioDelayJitter |
| unsigned | uuiesRequested |
| PString | gkAccessTokenOID |
| PBYTEArray | gkAccessTokenData |
| BOOL | addAccessTokenToSetup |
| BOOL | alertDone |
| H323Transport * | signallingChannel |
| H323Transport * | controlChannel |
| OpalListener * | controlListener |
| BOOL | h245Tunneling |
| H323SignalPDU * | h245TunnelRxPDU |
| H323SignalPDU * | h245TunnelTxPDU |
| H323SignalPDU * | alertingPDU |
| H323SignalPDU * | connectPDU |
| H323SignalPDU * | progressPDU |
| enum H323Connection::ConnectionStates | connectionState |
| unsigned | h225version |
| unsigned | h245version |
| BOOL | h245versionSet |
| BOOL | doH245inSETUP |
| BOOL | lastPDUWasH245inSETUP |
| BOOL | mustSendDRQ |
| BOOL | mediaWaitForConnect |
| BOOL | transmitterSidePaused |
| BOOL | earlyStart |
| BOOL | startT120 |
| BOOL | startH224 |
| PString | t38ModeChangeCapabilities |
| PSyncPoint | digitsWaitFlag |
| BOOL | endSessionNeeded |
| PSyncPoint | endSessionReceived |
| PTimer | enforcedDurationLimit |
| PChannel * | holdMediaChannel |
| BOOL | isConsultationTransfer |
| BOOL | isCallIntrusion |
| unsigned | callIntrusionProtectionLevel |
| FastStartStates | fastStartState |
| H323LogicalChannelList | fastStartChannels |
| OpalMediaStream * | transmitterMediaStream |
| H245NegMasterSlaveDetermination * | masterSlaveDeterminationProcedure |
| H245NegTerminalCapabilitySet * | capabilityExchangeProcedure |
| H245NegLogicalChannels * | logicalChannels |
| H245NegRequestMode * | requestModeProcedure |
| H245NegRoundTripDelay * | roundTripDelayProcedure |
| H450xDispatcher * | h450dispatcher |
| H4502Handler * | h4502handler |
| H4504Handler * | h4504handler |
| H4506Handler * | h4506handler |
| H4507Handler * | h4507handler |
| H45011Handler * | h45011handler |
| BOOL | remoteIsNAT |