GenericCSTAp3 Class Reference
Inheritance diagram for GenericCSTAp3:
Public Member Functions | |
virtual CSTAResponseInfo | AnswerCall (string deviceToLift) |
int | EncodeROSERequestHeader (CSTAResponseInfo response, Asn1BerEncodeBuffer encodeBuffer, Phase3Opcodes.Opcodes opcode, out InvokeId savedInvokeId) |
GenericCSTAp3 () | |
virtual CSTAResponseInfo | GetSFDevices () |
virtual CSTAResponseInfo | MakeACSEAssociation () |
virtual CSTAResponseInfo | MakeCall (string callingDevice, string calledDevice) |
virtual CSTAResponseInfo | MonitorStart (string deviceToMonitor) |
virtual CSTAResponseInfo | MonitorStop (int crossRefId) |
virtual CSTAResponseInfo | ReleaseACSEAssociation () |
virtual CSTAResponseInfo | SingleStepTransfer (SingleStepTransferInfo sstInfo) |
virtual CSTAResponseInfo | TransferCall (TransferCallInfo tcInfo) |
Detailed Description
Implements CSTA phase 3 operations using BER.
Constructor & Destructor Documentation
GenericCSTAp3 | ( | ) |
Default constructor. Indicates that phase 3 is in effect.
Member Function Documentation
virtual CSTAResponseInfo AnswerCall | ( | string | deviceToLift | ) | [virtual] |
Answers a call.
- Parameters:
-
deviceToLift The identification (e.g., phone number) of the device to answer.
- Returns:
- A CSTAResponseInfo object.
int EncodeROSERequestHeader | ( | CSTAResponseInfo | response, | |
Asn1BerEncodeBuffer | encodeBuffer, | |||
Phase3Opcodes.Opcodes | opcode, | |||
out InvokeId | savedInvokeId | |||
) |
This method prepends a ROSE header to an already encoded phase 3 CSTA message.
- Parameters:
-
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. savedInvokeId An InvokeId object variable that will get populated with the reference to the InvokeId object that gets encoded into the ROSE header. This is used when the response is received to match the response with the request.
- Returns:
- The length of the encoded message, including both the CSTA message and the ROSE header, or -1 if the encoding fails.
virtual CSTAResponseInfo GetSFDevices | ( | ) | [virtual] |
Sends a Get Switching Function Devices request to the PBX.
- Returns:
- A CSTAResponseInfo object.
virtual CSTAResponseInfo MakeACSEAssociation | ( | ) | [virtual] |
Establish an ACSE association with the PBX.
- Returns:
- A CSTAResponseInfo object.
Reimplemented in PanasonicKXTDE, SiemensCap, and SiemensHipath3000p3.
virtual CSTAResponseInfo MakeCall | ( | string | callingDevice, | |
string | calledDevice | |||
) | [virtual] |
Instruct the PBX to place a call.
- Parameters:
-
callingDevice Identifier (e.g., phone number) of the device making the call. calledDevice Identifier (e.g., phone number) of the device being called.
- Returns:
- A CSTAResponseInfo object.
virtual CSTAResponseInfo MonitorStart | ( | string | deviceToMonitor | ) | [virtual] |
Issues a MonitorStart request to the PBX.
- Parameters:
-
deviceToMonitor Identifier (e.g., telephone number) of the device to monitor.
- Returns:
- A CSTAResponseInfo object.
virtual CSTAResponseInfo MonitorStop | ( | int | crossRefId | ) | [virtual] |
Stop a previously started PBX monitor request.
- Parameters:
-
crossRefId The cross reference id of the monitor request.
- Returns:
- A CSTAResponseInfo object.
virtual CSTAResponseInfo ReleaseACSEAssociation | ( | ) | [virtual] |
Releases an ACSE association with a PBX device.
- Returns:
- A CSTAResponseInfo object.
virtual CSTAResponseInfo SingleStepTransfer | ( | SingleStepTransferInfo | sstInfo | ) | [virtual] |
Perform a single step transfer.
- Parameters:
-
sstInfo A SingleStepTransferInfo object.
- Returns:
- A CSTAResponseInfo object.
virtual CSTAResponseInfo TransferCall | ( | TransferCallInfo | tcInfo | ) | [virtual] |
Transfers a call from one device to another.
- Parameters:
-
tcInfo A TransferCallInfo object.
- Returns:
- A CSTAResponseInfo object.