CSTADLL
2.4.0
|
Public Member Functions | |
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 | ClearMessageWaiting (string targetDevice) |
virtual CSTAResponseInfo | ConferenceCall (ConnectionID heldCall, ConnectionID activeCall) |
virtual CSTAResponseInfo | ConsultationCall (ConnectionID existingCall, string targetDevice) |
virtual CSTAResponseInfo | DivertCall (string divertFrom, string divertTo) |
virtual CSTAResponseInfo | DivertCall (ConnectionID callToDivert, string divertTo) |
int | EncodeROSERequestHeader (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, Phase1Opcodes.Opcodes opcode) |
GenericCSTAp1 (string pbxSystem, int port) | |
GenericCSTAp1 (PBXSession sessionObject) | |
virtual CSTAResponseInfo | HoldCall (ConnectionID callToHold) |
virtual CSTAResponseInfo | MakeACSEAssociation () |
virtual CSTAResponseInfo | MakeCall (string callingDevice, string calledDevice) |
virtual CSTAResponseInfo | MonitorStart (string deviceToMonitor) |
virtual CSTAResponseInfo | MonitorStart (ConnectionID callToMonitor) |
virtual CSTAResponseInfo | MonitorStop (MonitorCrossRefID crossRefID) |
virtual CSTAResponseInfo | MonitorStop (string monitoredDevice) |
virtual CSTAResponseInfo | MonitorStop (long monitoredDevice) |
virtual CSTAResponseInfo | QueryDevice (string deviceToQuery) |
virtual CSTAResponseInfo | QueryDevice (string deviceToQuery, QueryDeviceFeature feature) |
virtual CSTAResponseInfo | ReleaseACSEAssociation () |
virtual CSTAResponseInfo | RetrieveCall (ConnectionID callToRetrieve) |
virtual CSTAResponseInfo | SetDoNotDisturb (string targetDevice) |
virtual CSTAResponseInfo | SetMessageWaiting (string targetDevice) |
virtual CSTAResponseInfo | SetOrClearForwarding (string fromDevice, ForwardingType fwdType, string toDevice) |
virtual CSTAResponseInfo | SnapshotDevice (string deviceToSnapshot) |
virtual CSTAResponseInfo | TransferCall (ConnectionID initiatedCall, ConnectionID originalCall) |
virtual CSTAResponseInfo | TransferCall (string heldDevice, string connectedDevice) |
Protected Member Functions | |
virtual int | EncodeACSEConnectionRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer) |
virtual int | EncodeACSEReleaseRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer) |
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) |
virtual int | EncodeDivertCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string divertFrom, string divertTo) |
virtual int | EncodeDivertCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToDivert, string divertTo) |
virtual int | EncodeHoldCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToHold) |
virtual int | EncodeMakeCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string callingDevice, string calledDevice) |
virtual int | EncodeMonitorStartRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string deviceToMonitor) |
virtual int | EncodeMonitorStartRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToMonitor) |
virtual int | EncodeMonitorStopRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, MonitorCrossRefID crossRefObj) |
virtual int | EncodeQueryDeviceRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string deviceToQuery) |
virtual int | EncodeQueryDeviceRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string deviceToQuery, QueryDeviceFeature feature) |
virtual int | EncodeRetrieveCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID callToRetrieve) |
virtual int | EncodeSetOrClearDNDRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice, bool dndOn) |
virtual int | EncodeSetOrClearFwdRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string fromDevice, ForwardingType fwdType, string toDevice) |
virtual int | EncodeSetOrClearMWRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string targetDevice, bool indicatorOn) |
virtual int | EncodeSnapshotDeviceRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string deviceToSnapshot) |
virtual int | EncodeTransferCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, ConnectionID initiatedCall, ConnectionID originalCall) |
virtual int | EncodeTransferCallRequest (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, string heldDevice, string connectedDevice) |
Properties | |
PBXSession | SessionObject [get] |
CSTAContext | ThreadContext [get] |
Implements CSTA phase 1 operations using BER. Note that most PBXes don't support all CSTA messages, so some methods in this class may result in an error status being returned by your PBX.
GenericCSTAp1 | ( | string | pbxSystem, |
int | port | ||
) |
Constructs an instance associated with the given PBX identifier and port.
pbxSystem | Well-known name or IP address of the PBX. |
port | Port on which the PBX listens for CSTA messages. |
GenericCSTAp1 | ( | PBXSession | sessionObject | ) |
Constructs an instance associated with the given PBXSession object.
sessionObject | A PBXSession object. |
|
virtual |
Answers a call.
deviceToLift | The identification (e.g., phone number) of the device to answer. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Answers a call.
callToAnswer | The ConnectionID of the call to answer. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Answers a call.
callToAnswer | The connection id of the call to answer. |
deviceToLift | The device (e.g., extension number) that is to answer the call. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Clears a connection.
connToClear | The ConnectionID of the connection to clear. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Turns off the Do Not Disturb functionality for a phone.
targetDevice | The device for which the Do Not Disturb functionality is to be turned off. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Turns off the message waiting indicator on a device's display.
targetDevice | The device for which the indicator is to be turned off. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Brings a held call into conference with an active call.
heldCall | The held call to be brought into conference. |
activeCall | The active call. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Instruct the PBX to do a consultation call.
existingCall | The connection id of the call for which the consultation call will be made. |
targetDevice | Identifier (e.g., phone number) of the device that is the target of the consultation call. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Diverts a call from a source to a destination.
divertFrom | Identifier (e.g., phone number) of the call to be diverted. |
divertTo | Identifier (e.g., phone number) of the location to which the call is to be diverted. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Diverts a call to a destination.
callToDivert | ConnectionID of the call to be diverted. |
divertTo | Identifier (e.g., phone number) of the location to which the call is to be diverted. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
protectedvirtual |
Encodes an ACSE Association Request message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
Reimplemented in AlcatelOXO.
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes an ACSE Release Request message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
References CSTAResponseInfo.ResponseFromPBX, CSTAResponseInfo.StatusCode, and CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes an AnswerCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
deviceToLift | The identification (e.g., phone number) of the device to answer. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes an AnswerCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
callToAnswer | The ConnectionID of the call to answer. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes an AnswerCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
callToAnswer | The ConnectionID of the call to answer. |
deviceToLift | The identification (e.g., phone number) of the device to answer. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a ClearConnection message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
connToClear | The ConnectionID of the connection to clear. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a ConferenceCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
heldCall | ConnectionID of the held call to be retrieved. |
activeCall | ConnectionID of the active call. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a ConsultationCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
existingCall | The connection id of the call for which the consultation call will be made. |
targetDevice | Identifier (e.g., phone number) of the device that is the target of the consultation call. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a DivertCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
divertFrom | Identifier (e.g., phone number) of the device from which the call is to be diverted. |
divertTo | Identifier (e.g., phone number) of the device to which the call is to be diverted. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a DivertCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
callToDivert | ConnectionID of the call to be diverted. |
divertTo | Identifier (e.g., phone number) of the device to which the call is to be diverted. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a HoldCall message.
response | A CSTAResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
callToHold | The ConnectionID of the call to be held. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a MakeCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
callingDevice | Identifier (e.g., phone number) of the device making the call. |
calledDevice | Identifier (e.g., phone number) of the device being called. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a MonitorStart message to monitor a device.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
deviceToMonitor | Identifier (e.g., telephone number) of the device to monitor. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a MonitorStart message to monitor a call.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
callToMonitor | The call to monitor. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a MonitorStop message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
crossRefObj | The cross reference id of the monitor request as a MonitorCrossRefID object. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a QueryDevice message with deviceInfo as the feature.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
deviceToQuery | The identification (e.g., phone number) of the device to query. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a QueryDevice message with the feature specified.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
deviceToQuery | The identification (e.g., phone number) of the device to query. |
feature | The feature that identifies what about the device is being requested. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a RetrieveCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
callToRetrieve | The ConnectionID of the call to retrieve. |
References CSTAResponseInfo.StatusMessage.
int EncodeROSERequestHeader | ( | CSTAResponseInfo | response, |
Asn1BerEncodeBuffer | encodeBuffer, | ||
Phase1Opcodes.Opcodes | opcode | ||
) |
This method prepends a ROSE header to an already encoded phase 1 CSTA message.
response | A CSTAResponseInfo object, used to communicate any exception information back to the caller. |
encodeBuffer | An Asn1BerEncodeBuffer instance containing the already encoded CSTA message. |
opcode | The opcode enumeration for the operation that the encoded CSTA message describes. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a SetFeture message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
targetDevice | The device for which Do Not Disturb is to be set or cleared. |
dndOn | If true, DoNotDisturb will be turned on. If false, DoNotDisturb will be turned off. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a SetFeature message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
fromDevice | The device for which forwarding is to be turned on or off. |
fwdType | A ForwardingType object. This object specifies the type of forwarding and whether it is to be turned on or off. |
toDevice | If fwdType indicates that forwarding is to be turned on, then this argument is the device to which calls are to be forwarded. Otherwise, this argument is ignored and can be null. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a SetFeature message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
targetDevice | The device for which the message waiting indicator is to be turned on or off. |
indicatorOn | If true, the message waiting indicator is turned on. If false, the message waiting indicator is turned off. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a SnapshotDevice message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
deviceToSnapshot | Identifier (e.g., phone number) of the device for which the snapshot is desired. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a TransferCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
initiatedCall | ConnectionID of the new call initiated by the consultation call. The initiatedCall member of the ConsultationCallResult class, for example, contains this ConnectionID. |
originalCall | ConnectionID of the original call. The somewhat confusingly named callingDevice member of the MakeCallResult class contains this ConnectionID, as does the establishedConnection member of the EstablishedEvent class. |
References CSTAResponseInfo.StatusMessage.
|
protectedvirtual |
Encodes a TransferCall message.
response | A CSTA ResponseInfo object. |
encodeBuffer | An encode buffer object into which the message will be encoded. |
heldDevice | Identifier (e.g., phone number) of the device from which the call is transferred. |
connectedDevice | Identifier (e.g., phone number) of the device to which the call is transferred. |
References CSTAResponseInfo.StatusMessage.
|
virtual |
Instruct the PBX to hold a call.
callToHold | The ConnectionID of the call to be held. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Establish an ACSE association with the PBX.
Reimplemented in AlcatelOXO, and PhilipsSopho.
References PBXSession.Close(), SocketState.ReadBuffer, CSTAResponseInfo.ResponseFromPBX, PBXSession.SendACSEMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and SocketState.TotalLength.
|
virtual |
Instruct the PBX to place a call.
callingDevice | Identifier (e.g., phone number) of the device making the call. |
calledDevice | Identifier (e.g., phone number) of the device being called. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Issues a MonitorStart request to the PBX to monitor a device.
deviceToMonitor | Identifier (e.g., telephone number) of the device to monitor. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Issues a MonitorStart request to the PBX to monitor a call.
callToMonitor | The call to monitor. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Stop a previously started PBX monitor request.
crossRefID | The cross reference id of the monitor request as a MonitorCrossRefID object. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
This method stops all monitors active against the indicated device, regardless of what thread started the monitor. The method will only stop monitors started through the MonitorStart() method.
monitoredDevice | The monitored device (e.g., extension). |
References PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
This method stops all monitors active against the indicated device, regardless of what thread started the monitor. The method will only stop monitors started through the MonitorStart() method.
monitoredDevice | The device number of the monitored device. |
References PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Queries a device using the deviceInfo feature.
deviceToQuery | The identification (e.g., phone number) of the device to query. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Queries a device using the feature specified.
deviceToQuery | The identification (e.g., phone number) of the device to query. |
feature | The feature that identifies what about the device is being requested. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Releases an ACSE association with a PBX device.
References PBXSession.SendACSEMessage(), CSTAResponseInfo.StatusCode, and CSTAResponseInfo.StatusMessage.
|
virtual |
Retrieves a held call.
callToRetrieve | The ConnectionID of the call to retrieve. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Sets the Do Not Disturb feature for a phone.
targetDevice | The device for which Do Not Disturb is to be set. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Turns on the message waiting indicator on a device's display.
targetDevice | The device for which the indicator is to be turned on. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Sets or clears forwarding for a device.
fromDevice | The device for which forwarding is to be turned on or off. |
fwdType | A ForwardingType object. This object specifies the type of forwarding and whether it is to be turned on or off. |
toDevice | If fwdType indicates that forwarding is to be turned on, then this argument is the device to which calls are to be forwarded. Otherwise, this argument is ignored and can be null. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Instruct the PBX to take a snapshot of calls active at a device.
deviceToSnapshot | Identifier (e.g., phone number) of the device for which the snapshot is desired. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Transfers a call. A consultation call must be done before calling this method.
initiatedCall | ConnectionID of the new call initiated by the consultation call. This ConnectionID can be mined out of the ConsultationCallResult class. |
originalCall | ConnectionID of the original call. This ConnectionID can be mined out of the MakeCallResult class or out of a monitor event message. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
virtual |
Transfers a call from one device to another.
heldDevice | Identifier (e.g., phone number) of the device from which the call is transferred. |
connectedDevice | Identifier (e.g., phone number) of the device to which the call is transferred. |
References CSTAResponseInfo.ResponseFromPBX, PBXSession.SendMessage(), CSTAResponseInfo.StatusCode, CSTAResponseInfo.StatusMessage, and PBXSession.WaitForROSEResponse().
|
get |
The PBXSession object associated with this instance.
|
get |
The CSTAContext structure for this thread.