This file contains introductory information about the CSTADLL software and release notes about the current release.
Thank you for your interest in this release of the CSTADLL software. CSTADLL is a collection of software that allows a developer using the Microsoft .NET platform (version 2.0 or higher) to work with CSTA messages in any of the three phases. The CSTADLL software allows you to send CSTA messages to a PBX device and receive the responses that the PBX sends back. The collection consists of a DLL, two clients (one in C# and one in VB) along with their source code that show how the DLL can be used, several additional samples, and documentation. The DLL contains all of the classes generated by ASN1C from the ACSE and CSTA ASN.1 specifications plus several additional classes that act as helper classes in working with CSTA messages.
This release of CSTADLL adds the following new capabilities:
- Logging of Decoded and Encoded Messages
The log file created by CSTADLL now includes text representations of messages as they are encoded and decoded in addition to the hexadecimal bytes of sent and received messages.
- Logging of Received Message Length
For PBX devices that prefix CSTA messages with a length, the log file created by CSTADLL now includes these lengths.
- New Signature for Phase 3 AnswerCall()
A new signature for the phase 3 AnswerCall() method has been added that accepts a connection id of an existing call in addition to the device that is to answer the call.
- New Signatures for Transferring Calls in Phase 3()
A new ConsultationCall() method has been added. A consultation call operation is necessary before doing a transfer call operation.
A new TransferCallAfterConsult() method has been added. This method can be invoked after a call to the ConsultationCall() method.
- New Signatures for GetSFDevices()
A new signature for the GetSFDevices() method has been added that accepts a device category as an argument.
A new Panasonic-specific override of the argumentless GetSFDevices() signature has been added. When called, this signature will do the equivalent of calling GetSFDevices() and passing the device category code for station devices (i.e., telephones). Panasonic PBX devices require that the Get Switching Function Devices message specify a device category.
The furnished VB and C# clients have been modified to allow a device category to be specified for GetSFDevices operations.
- New Class for Alcatel OXO Devices
A new AlcatelOXOp1 class has been added to allow phase 1 communication with an Alcatel OXO PBX.
- New Samples
A new phase 3 transfer call sample has been added.
A new phase 3 monitor sample has been added.
In future releases this section will detail any issues related to compatibility with previous releases that the current release introduces.
The CSTADLL kit includes both HTML and PDF documentation that describes the classes that the kit contains. In addition to the classes described in the documentation, the kit also contains all of the ACSE and CSTA classes generated by ASN1C from the ACSE and CSTA ASN.1 specifications.
The steps to install CSTADLL on a Windows system are as follows:
- The software is packaged into a zip archive that can be expanded anywhere on your system. There is no dependency on any particular folder hierarchy.
- After installation is complete, the license file must be installed to allow the product to operate. This was sent in the osyslic.txt file that was attached to the E-mail message that was sent at the time the product was downloaded. If you did not receive a license file, please contact us.
- The osyslic.txt file must be copied to a location where the software can find it. This can be done in one of the following ways:
- a. The file can be copied to a directory that is pointed to by an environment variable named OSLICDIR, or
- b. The file can be copied into any of the directories specified within your PATH environment variable (copying to the c:\windows directory works on most systems), or
- c. The file can be copied to the same directory that an executable that uses the DLL is located in. This would include the csharpclient directory in the kit and the vbclient directory in the kit.
The software should now be operational.
The following subdirectories contain the following files (note: <installdir> refers to the installation directory that was specified during the installation process):
Binaries and Documentation
This file is the Microsoft .NET DLL that contains generated object definitions for the ACSE and CSTA objects as well as additional helper objects. This DLL file is also present in the two client folders and the top-level samples folder.
This file is the ASN1C C# runtime DLL. The ASN1C C# runtime is used by CSTAAllPhasesDLL.dll to do encoding and decoding operations. This DLL file is also present in the two client folders and the top-level samples folder.
This folder contains HTML documentation that describes the helper classes contained within the all-phases DLL. This documentation does not describe the generated classes. Refer to the ASN1C C# Compiler User Manual for documentation about the generated classes.
This folder contains a PDF file that describes the helper classes contained within the all-phases DLL. This documentation does not describe the generated classes. Refer to the ASN1C C# Compiler User Manual for documentation about the generated classes.
This file is the executable image for a console-mode sample client that uses the DLL and is written in C#.
The .cs files in this directory are the source files for the C# console- mode client.
This file is a Visual Studio 2005 C# project file that will allow you to work with the source code for the C# console-mode client from within Visual Studio (2005 or higher).
This file is the executable image for a GUI sample client that uses the DLL and is written in Visual BASIC.
The .vb files in this directory are the source files for the Visual BASIC GUI client.
This file is a Visual Studio 2005 Visual BASIC project file that will allow you to work with the source code for the Visual BASIC GUI client from within Visual Studio (2005 or higher).
This folder contains a C# sample that illustrates how the DLL can be used to work with a CSTA message for which the DLL doesn't expose any explicit helper methods.
These folders contain C# samples that show how the DLL's exposed helper methods can be used for various operations.
Specifications and Generated Files
This folder contains the ACSE and CSTA ASN.1 specifications that were used to generate most of the objects contained within the DLL.
These folders contain the generated C# source files that define most of the objects contained within the DLL. These files were generated using ASN1C from the ASN.1 files contained in the <installdir>\specs folder.
If you're not familiar with CSTA in general, there is some helpful information at this location.
You may first want to spend some with with either the C# console-mode client program or the Visual BASIC GUI client program to familiarize yourself with the types of operations involved with CSTA. Note that these clients only do a small subset of the total number of CSTA operations.
To use one of the clients you will need the IP address (or well-known name) of the PBX device with which you wish to work and the port number that the PBX uses for CSTA communication.
If you wish to use the Visual BASIC GUI client, the README.txt file in that client's folder explains how.
Both clients have their source code included in the kit. You may also want to investigate some of the additional samples to get more ideas about how the all-phases DLL can be used. The DLL should be consumable by any Microsoft .NET programming language. These would include C#, Visual BASIC, and C++/CLI.
The all-phases DLL can log message traffic between a client program and the PBX device if so desired. The logging is controlled by the LoggingEnabled property with the PBXSessionHelper class. The logging is off by default. Both of the provided sample clients enable the logging. The log file used is named cstadll_<program>.log, where <program> is the name of the executable image that is using the DLL. The location of the log file is the folder where the executable image resides. If the log file grows to more than 5 Mb, it is copied to cstadll_<program>.backup.log, and a new log file is opened. If there is already a file with the backup file name, it is overwritten.
Report problems you encounter by sending E-mail to email@example.com. Please provide sample code and indicate where in the code the problem occurs.
If you have any further questions or comments on what you would like to see in the product or what is difficult to use or understand, please communicate them to us. Your feedback is important to us. Please let us know how it works out for you - either good or bad.