CSTADLL  2.5.0
Public Member Functions | List of all members
VodiaSNOMOne Class Reference
Inheritance diagram for VodiaSNOMOne:
GenericXMLed3

Public Member Functions

override CSTAResponseInfo MonitorStart (string deviceToMonitor)
 
CSTAResponseInfo StartSession (string userName, string password)
 
CSTAResponseInfo StartSession (string applicationID, string userName, string password)
 
 VodiaSNOMOne (string pbxSystem, int port)
 
 VodiaSNOMOne (PBXSession sessionObject)
 
- Public Member Functions inherited from GenericXMLed3
virtual CSTAResponseInfo AcceptCall (ConnectionID callToAccept)
 
virtual CSTAResponseInfo AnswerCall (ConnectionID callToAnswer)
 
virtual CSTAResponseInfo AnswerCall (ConnectionID callToAnswer, string deviceToLift)
 
virtual CSTAResponseInfo ClearConnection (ConnectionID connectionToClear)
 
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 string EncodeInvokeID (string initialMessage)
 
 GenericXMLed3 (string pbxSystem, int port)
 
 GenericXMLed3 (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 (ReqDeviceCategory deviceCategory)
 
virtual CSTAResponseInfo GetSFDevices ()
 
virtual CSTAResponseInfo HoldCall (ConnectionID callToHold)
 
virtual CSTAResponseInfo MakeCall (string callingDevice, string calledDevice)
 
virtual CSTAResponseInfo MakeCall (string callingDevice, string calledDevice, bool autoOriginate)
 
virtual CSTAResponseInfo MonitorStart (ConnectionID callToMonitor)
 
virtual CSTAResponseInfo MonitorStop (string crossRefID)
 
virtual CSTAResponseInfo MonitorStopAtDevice (string monitoredDevice)
 
virtual CSTAResponseInfo RequestSystemStatus ()
 
virtual CSTAResponseInfo RetrieveCall (ConnectionID callToRetrieve)
 
virtual CSTAResponseInfo RingDevice (string targetDevice, string targetRinger, long ringPattern)
 
virtual CSTAResponseInfo SendData (IOCrossRefID xref, string text)
 
virtual CSTAResponseInfo SendStoredCDR (string cdrCrossRefID)
 
virtual CSTAResponseInfo SetAgentState (string agentDevice, ReqAgentState agentState, string agentID)
 
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 SnapshotCall (ConnectionID callToSnapshot)
 
virtual CSTAResponseInfo SnapshotDevice (string deviceToSnapshot)
 
virtual CSTAResponseInfo StartCDRTransmission (CDRTransferMode transferMode)
 
virtual CSTAResponseInfo StartDataPath (string targetDevice)
 
virtual CSTAResponseInfo StartSession ()
 
virtual CSTAResponseInfo StartSession (string applicationID)
 
virtual CSTAResponseInfo StopCDRTransmission (string cdrCrossRefID)
 
virtual CSTAResponseInfo StopDataPath (IOCrossRefID xref)
 
virtual CSTAResponseInfo StopRing (string targetDevice, string targetRinger, long ringPattern)
 
virtual CSTAResponseInfo StopSession ()
 
virtual CSTAResponseInfo TransferCall (ConnectionID initiatedCall, ConnectionID originalCall)
 

Additional Inherited Members

- Protected Member Functions inherited from GenericXMLed3
virtual string EncodeAcceptCall (CSTAResponseInfo response, ConnectionID callToAccept)
 
virtual string EncodeAnswerCall (CSTAResponseInfo response, ConnectionID callToAnswer)
 
virtual string EncodeAnswerCall (CSTAResponseInfo response, ConnectionID callToAnswer, string deviceToLift)
 
virtual string EncodeClearConnection (CSTAResponseInfo response, ConnectionID connectionToClear)
 
virtual string EncodeConferenceCall (CSTAResponseInfo response, ConnectionID heldCall, ConnectionID activeCall)
 
virtual string EncodeConsultationCall (CSTAResponseInfo response, ConnectionID existingCall, string targetDevice, ConsultOptions options)
 
virtual string EncodeGetAgentState (CSTAResponseInfo response, string targetDevice)
 
virtual string EncodeGetDND (CSTAResponseInfo response, string targetDevice)
 
virtual string EncodeGetLogicalDevInfo (CSTAResponseInfo response, string targetDevice)
 
virtual string EncodeGetPhysicalDevInfo (CSTAResponseInfo response, string targetDevice)
 
virtual string EncodeGetSFDevices (CSTAResponseInfo response, ReqDeviceCategory category)
 
virtual string EncodeHoldCall (CSTAResponseInfo response, ConnectionID callToHold)
 
virtual string EncodeMakeCall (CSTAResponseInfo response, string callingDevice, string calledDevice, bool autoOriginate)
 
virtual string EncodeMonitorStart (CSTAResponseInfo response, string targetDevice)
 
virtual string EncodeMonitorStart (CSTAResponseInfo response, ConnectionID targetCall)
 
virtual string EncodeMonitorStop (CSTAResponseInfo response, string xref)
 
virtual string EncodeRequestSystemStatus (CSTAResponseInfo response)
 
virtual string EncodeRetrieveCall (CSTAResponseInfo response, ConnectionID callToRetrieve)
 
virtual string EncodeSendData (CSTAResponseInfo response, IOCrossRefID xref, string strText)
 
virtual string EncodeSendStoredCDR (CSTAResponseInfo response, string cdrCrossRefID)
 
virtual string EncodeSetAgentState (CSTAResponseInfo response, string agentDevice, ReqAgentState agentState, string agentID)
 
virtual string EncodeSetDisplay (CSTAResponseInfo response, string targetDevice, string text)
 
virtual string EncodeSetDND (CSTAResponseInfo response, string targetDevice, bool dndOn)
 
virtual string EncodeSetMsgWaiting (CSTAResponseInfo response, string targetDevice, bool indicatorOn)
 
virtual string EncodeSetOrClearFwdRequest (CSTAResponseInfo response, string fromDevice, bool fwdOn, ForwardingType fwdType, string toDevice)
 
virtual string EncodeSetRingerStatus (CSTAResponseInfo response, string targetDevice, string targetRinger, RingMode rm, long ringPattern)
 
virtual string EncodeSingleStepTransfer (CSTAResponseInfo response, ConnectionID callToTransfer, string transferToDevice)
 
virtual string EncodeSnapshotCall (CSTAResponseInfo response, ConnectionID callToSnapshot)
 
virtual string EncodeSnapshotDevice (CSTAResponseInfo response, string targetDevice)
 
virtual string EncodeStartCDRTrans (CSTAResponseInfo response, CDRTransferMode transferMode)
 
virtual string EncodeStartDataPath (CSTAResponseInfo response, string targetDevice)
 
virtual string EncodeStartSession (CSTAResponseInfo response, string applicationID)
 
virtual string EncodeStopCDRTrans (CSTAResponseInfo response, string cdrCrossRefID)
 
virtual string EncodeStopDataPath (CSTAResponseInfo response, IOCrossRefID xref)
 
virtual string EncodeStopSession (CSTAResponseInfo response)
 
virtual string EncodeTransferCall (CSTAResponseInfo response, ConnectionID initiatedCall, ConnectionID originalCall)
 
- Properties inherited from GenericXMLed3
PBXSession SessionObject [get]
 
CSTAContext ThreadContext [get]
 

Detailed Description

Implements CSTA XML operations for the Vodia SNOMOne PBX device.

Constructor & Destructor Documentation

◆ VodiaSNOMOne() [1/2]

VodiaSNOMOne ( 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.

◆ VodiaSNOMOne() [2/2]

VodiaSNOMOne ( PBXSession  sessionObject)

Constructs an instance associated with the given PBXSession object.

Parameters
sessionObjectA PBXSession object.

Member Function Documentation

◆ MonitorStart()

override CSTAResponseInfo MonitorStart ( string  deviceToMonitor)
virtual

Issues a MonitorStart request to the PBX.

Parameters
deviceToMonitorIdentifier (e.g., telephone number) of the device to monitor.
Returns
A CSTAResponseInfo object.

Reimplemented from GenericXMLed3.

References CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and CSTAResponseInfo.XMLResponseFromPBX.

◆ StartSession() [1/2]

CSTAResponseInfo StartSession ( string  userName,
string  password 
)

Establish a session with the PBX, using "CSTADLL" as the application identifier.

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

◆ StartSession() [2/2]

CSTAResponseInfo StartSession ( string  applicationID,
string  userName,
string  password 
)

Establish a session with the PBX.

Parameters
applicationIDA free text string to identify the application.
userNameThe user name to send to the PBX.
passwordThe password for the specified user name.
Returns
A CSTAResponseInfo object.

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