PDA

View Full Version : Setting up T1 CAS



alaing
07-08-10, 09:29 AM
To setup up CAS, the network protocol for the board needs to be set to CAS.

http://outgoingftp.pikatech.com/IMAGES/CASSetup1.JPG

http://outgoingftp.pikatech.com/IMAGES/CASSetup2.JPG

Next a CAS protocol file must be selected. These are XML files which represent state machines. This files are located in the "protocol" directory.

http://outgoingftp.pikatech.com/IMAGES/CASSetup3.JPG

In this instance we select the CAS state machine E&M Wink-Wink ("cas_em_winkstart.xml").

http://outgoingftp.pikatech.com/IMAGES/CASSetup4.JPG

Finally CAS DSP resources must be selected. This is usually done on Stream 1 outside of the voice resources on Stream 0 because CAS resources are the only application that can run on a DSP stream. In other words they must be isolated. Normally, 24 timeslots are configured o that one DSP services one span (timeslots 0-5, 32-37, etc.).
Once the configuration has been saved. Pikatest can be used to test calls. The commands 'make' and 'clear' are useful for this.

The API reference guide has two sections of interest concerning CAS. The CAS Index section detailing the API and Appendix D which explains the state machine fields.
As well there is sample code on website under the 'Sample Code' section. The sample is named "CasProtocol.zip".