521
Chapter 8, Programming the Call Processing Subsystem
Example Programs
The program traps any errors which may occur while executing. If an error is detected, the
error data is printed and the program stops. In a ‘real world’ environment the control
program would have to make some flow decision based upon the nature of the error.
Following each program is a Comments section which contains relevant
comments regarding individual program lines.
The example program uses function calls to set the various call processing states
and to send orders to the mobile station. Function calls are not the only
programming construct which can be used to control the Call Processing
Subsystem. The example programs were designed to illustrate how to use the Call
Processing Subsystem in a simple, straightforward manner. The program structure
and program constructs used in your application will depend upon the
programming language used and the requirements of your application.