CSTADLL  2.4.0
Public Member Functions | Protected Member Functions | List of all members
UnifyOpenscape4000BER Class Reference
Inheritance diagram for UnifyOpenscape4000BER:
IETF_CSTAp3 GenericCSTAp3

Public Member Functions

virtual CSTAResponseInfo MakeACSEAssociation (string userName, string password)
 
 UnifyOpenscape4000BER (string pbxSystem, int port)
 
 UnifyOpenscape4000BER (PBXSession sessionObject)
 
- Public Member Functions inherited from IETF_CSTAp3
 IETF_CSTAp3 (string pbxSystem, int port)
 
 IETF_CSTAp3 (PBXSession sessionObject)
 
- Public Member Functions inherited from GenericCSTAp3
virtual CSTAResponseInfo AcceptCall (ConnectionID callToAccept)
 
virtual CSTAResponseInfo AlternateCall (ConnectionID heldCall, ConnectionID activeCall)
 
virtual CSTAResponseInfo AnswerCall (string deviceToLift)
 
virtual CSTAResponseInfo AnswerCall (ConnectionID callToAnswer)
 
virtual CSTAResponseInfo AnswerCall (ConnectionID callToAnswer, string deviceToLift)
 
virtual CSTAResponseInfo ClearConnection (ConnectionID connToClear)
 
virtual CSTAResponseInfo ClearDoNotDisturb (string targetDevice)
 
virtual CSTAResponseInfo ClearForwarding (string fromDevice, ForwardingType fwdType)
 
virtual CSTAResponseInfo ClearMessageWaiting (string targetDevice)
 
virtual CSTAResponseInfo ConferenceCall (ConnectionID heldCall, ConnectionID activeCall)
 
virtual CSTAResponseInfo ConsultationCall (ConnectionID existingCall, string targetDevice)
 
virtual CSTAResponseInfo ConsultationCall (ConnectionID existingCall, string targetDevice, ConsultOptions options)
 
virtual int EncodeROSERequestHeader (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, Phase3Opcodes.Opcodes opcode)
 
 GenericCSTAp3 (string pbxSystem, int port)
 
 GenericCSTAp3 (PBXSession sessionObject)
 
virtual CSTAResponseInfo GetAgentState (string agentDevice)
 
virtual CSTAResponseInfo GetDoNotDisturb (string targetDevice)
 
virtual CSTAResponseInfo GetLogicalDevInfo (string targetDevice)
 
virtual CSTAResponseInfo GetPhysicalDevInfo (string targetDevice)
 
virtual CSTAResponseInfo GetSFDevices ()
 
virtual CSTAResponseInfo GetSFDevices (ReqDeviceCategory deviceCategory)
 
virtual CSTAResponseInfo HoldCall (ConnectionID callToHold)
 
virtual CSTAResponseInfo MakeACSEAssociation ()
 
virtual CSTAResponseInfo MakeCall (string callingDevice, string calledDevice)
 
virtual CSTAResponseInfo MakeCall (string callingDevice, string calledDevice, bool autoOriginate)
 
virtual CSTAResponseInfo MonitorStart (string deviceToMonitor)
 
virtual CSTAResponseInfo MonitorStart (long deviceToMonitor)
 
virtual CSTAResponseInfo MonitorStart (ConnectionID callToMonitor)
 
virtual CSTAResponseInfo MonitorStop (MonitorCrossRefID crossRefID)
 
virtual CSTAResponseInfo MonitorStop (string monitoredDevice)
 
virtual CSTAResponseInfo MonitorStop (long monitoredDevice)
 
virtual CSTAResponseInfo ReleaseACSEAssociation ()
 
virtual CSTAResponseInfo RequestSystemStatus ()
 
virtual CSTAResponseInfo RetrieveCall (ConnectionID callToRetrieve)
 
virtual CSTAResponseInfo RingDevice (string targetDevice, string targetRinger, long ringPattern)
 
virtual CSTAResponseInfo SendData (IOCrossRefID ioCrossRef, string text)
 
virtual CSTAResponseInfo SendStoredCDR (CDRCrossRefID cdrCrossRefID)
 
virtual CSTAResponseInfo SetAgentState (string agentDevice, ReqAgentState agentState, AgentID aid)
 
virtual CSTAResponseInfo SetAgentState (string agentDevice, ReqAgentState agentState)
 
virtual CSTAResponseInfo SetDisplay (string targetDevice, string text)
 
virtual CSTAResponseInfo SetDoNotDisturb (string targetDevice)
 
virtual CSTAResponseInfo SetForwarding (string fromDevice, ForwardingType fwdType, string toDevice)
 
virtual CSTAResponseInfo SetMessageWaiting (string targetDevice)
 
virtual CSTAResponseInfo SingleStepTransfer (ConnectionID callToTransfer, string transferToDevice)
 
virtual CSTAResponseInfo SingleStepTransfer (SingleStepTransferInfo sstInfo)
 
virtual CSTAResponseInfo SnapshotCall (ConnectionID callToSnapshot)
 
virtual CSTAResponseInfo SnapshotDevice (string deviceToSnapshot)
 
virtual CSTAResponseInfo StartCDRTransmission (CDRTransferMode transferMode)
 
virtual CSTAResponseInfo StartDataPath (string targetDevice)
 
virtual CSTAResponseInfo StopCDRTransmission (CDRCrossRefID cdrCrossRefID)
 
virtual CSTAResponseInfo StopDataPath (IOCrossRefID ioCrossRef)
 
virtual CSTAResponseInfo StopRing (string targetDevice, string targetRinger, long ringPattern)
 
virtual CSTAResponseInfo TransferCall (ConnectionID initiatedCall, ConnectionID originalCall)
 
virtual CSTAResponseInfo TransferCall (TransferCallInfo tcInfo)
 

Protected Member Functions

override int EncodeACSEConnectionRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer)
 
- Protected Member Functions inherited from GenericCSTAp3
virtual int EncodeAcceptCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToAccept)
 
virtual int EncodeACSEReleaseRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer)
 
virtual int EncodeAlternateCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID heldCall, ConnectionID activeCall)
 
virtual int EncodeAnswerCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string deviceToLift)
 
virtual int EncodeAnswerCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToAnswer)
 
virtual int EncodeAnswerCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToAnswer, string deviceToLift)
 
virtual int EncodeClearConnectionRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID connToClear)
 
virtual int EncodeConferenceCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID heldCall, ConnectionID activeCall)
 
virtual int EncodeConsultationCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID existingCall, string targetDevice, ConsultOptions options)
 
virtual int EncodeGetAgentStateRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string agentDevice)
 
virtual int EncodeGetDNDRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice)
 
virtual int EncodeGetLogicalDevInfoRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice)
 
virtual int EncodeGetPhysicalDevInfoRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice)
 
virtual int EncodeGetSFDevicesRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ReqDeviceCategory deviceCategory)
 
virtual int EncodeHoldCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToHold)
 
virtual int EncodeMakeCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string callingDevice, string calledDevice, bool autoOriginate)
 
virtual int EncodeMonitorStartRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string deviceToMonitor)
 
virtual int EncodeMonitorStartRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, long deviceToMonitor)
 
virtual int EncodeMonitorStartRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToMonitor)
 
virtual int EncodeMonitorStopRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, MonitorCrossRefID crossRefObj)
 
virtual int EncodeRequestSysStatRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer)
 
virtual int EncodeRetrieveCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToRetrieve)
 
virtual int EncodeSendDataRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, IOCrossRefID ioCrossRef, string text)
 
virtual int EncodeSendStoredCDRRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, CDRCrossRefID cdrCrossRefID)
 
virtual int EncodeSetAgentStateRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string agentDevice, ReqAgentState agentState, AgentID aid)
 
virtual int EncodeSetDisplayRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice, string text)
 
virtual int EncodeSetOrClearDNDRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice, bool dndOn)
 
virtual int EncodeSetOrClearFwdRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string fromDevice, bool fwdOn, ForwardingType fwdType, string toDevice)
 
virtual int EncodeSetOrClearMWRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice, bool indicatorOn)
 
virtual int EncodeSetRingerStatusRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice, string targetRinger, RingMode mode, long ringPattern)
 
virtual int EncodeSingleStepTransferRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToTransfer, string transferToDevice)
 
virtual int EncodeSingleStepTransferRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, SingleStepTransferInfo sstInfo)
 
virtual int EncodeSnapshotCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToSnapshot)
 
virtual int EncodeSnapshotDeviceRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string deviceToSnapshot)
 
virtual int EncodeStartCDRTransRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, CDRTransferMode transferMode)
 
virtual int EncodeStartDataPathRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice)
 
virtual int EncodeStopCDRTransRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, CDRCrossRefID cdrCrossRefID)
 
virtual int EncodeStopDataPathRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, IOCrossRefID ioCrossRef)
 
virtual int EncodeTransferCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID initiatedCall, ConnectionID originalCall)
 
virtual int EncodeTransferCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, TransferCallInfo tcInfo)
 

Additional Inherited Members

- Properties inherited from GenericCSTAp3
PBXSession SessionObject [get]
 
CSTAContext ThreadContext [get]
 

Detailed Description

Implements CSTA phase 3 BER operations for the Unify Openscape 4000 device.

Constructor & Destructor Documentation

◆ UnifyOpenscape4000BER() [1/2]

UnifyOpenscape4000BER ( string  pbxSystem,
int  port 
)

Constructs an instance associated with the given PBX identifier and port.

Parameters
pbxSystemWell-known name or IP address of the PBX.
portPort on which the PBX listens for CSTA messages.

◆ UnifyOpenscape4000BER() [2/2]

UnifyOpenscape4000BER ( PBXSession  sessionObject)

Constructs an instance associated with the given PBXSession object.

Parameters
sessionObjectA PBXSession object.

Member Function Documentation

◆ EncodeACSEConnectionRequest()

override int EncodeACSEConnectionRequest ( CSTAResponseInfo  response,
Asn1BerEncodeBuffer  encodeBuffer 
)
protectedvirtual

Encodes an ACSE Association Request message.

Parameters
responseA CSTA ResponseInfo object.
encodeBufferAn encode buffer object into which the message will be encoded.
Returns
The length of the encoded message, or -1 if an error occurred.

Reimplemented from GenericCSTAp3.

References CSTAResponseInfo.StatusMessage.

◆ MakeACSEAssociation()

virtual CSTAResponseInfo MakeACSEAssociation ( string  userName,
string  password 
)
virtual

Establish an ACSE association with the PBX.

Parameters
userNameThe user name to send to the PBX.
passwordThe password to send to the PBX.
Returns
A CSTAResponseInfo object.

References SocketState.ReadBuffer, CSTAResponseInfo.ResponseFromPBX, CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and SocketState.TotalLength.