Version 6.6 437 October 2014
Installation & Operation Manual 37. Using Auxiliary Files
37.5 CAS Files
CAS files contain the state machine that fully defines the entire CAS protocol message
exchange. It consists of States, pre-defined Actions/Events and pre-defined functions,
and allows the fully customization of the CAS protocol implementation.
CAS files must be uploaded to the Media Gateway boards in binary format. You can
edit the "source" CAS file in any text editor (as described 'CAS File Syntax' on page
437) and convert it to the binary format using the DConvert utility (as described in
Converting CAS File to Binary Format).
To associate a CAS file with a Media Gateway board:
1. Click
to access the Media Gateway status screen.
2. In the Navigation pane, select PSTN
CAS Files Setup and in the Configuration
pane, click CAS Files Settings; the CAS Files Settings screen is displayed.
3. Configure CAS File X Name parameters to match the desired CAS file.
4. Click Gateway to access the Media Gateway status screen.
5. Select the desired Media Gateway board.
6. In the Navigation pane, select PSTN and in the Configuration pane, click PSTN
Settings; The PSTN Settings screen is displayed.
7. In the CAS/ISDN Settings tab, configure No. of CAS Config Files parameter to
match the number of CAS files.
8. In the Navigation pane, select PSTN
DS1 Trunks; The DS1 Trunks list is
displayed.
9. Select the desired trunk and in the Configuration pane, select Trunk Setting; The
Trunk Settings screen is displayed.
10. In the CAS tab, configure CAS File Index parameter to match the index of the
specific CAS file configured at the Media Gateway level.
37.5.1 CAS File Syntax
This section describes syntax of the text-based "source" CAS file. Two files must be
created by the user:
Specific protocol/script text file (xxx.txt)
Numeric values file (xxx.h)
Both of these files must be converted to binary format via DConvert utility prior to
uploading them to the Media Gateway.
The CASSetup.h file, provided on the Media Gateway Software Installation CD,
includes all of the pre-defined tools needed to build a new "source" CAS protocol file
or modify an existing one.