Previous Page Table Of Contents../index.html IndexNext Page


8. Application Guidelines

Top Of Page8.1. General Guidelines

This chapter offers advice and suggestions for programmers designing and coding Dialogic ISDN applications in a Windows or a LINUX environment. Specific guidelines for developing ISDN applications are provided.

Topics include the following:

NOTE:
These guidelines are not intended as a comprehensive guide to developing or debugging Dialogic ISDN applications.

This section provides general guidelines for writing applications including explanations of:

Applications containing numerical values for defines are subject to obsolescence. In general, Dialogic recommends using symbolic defined names rather than numerical values. Defines are found in the cclib.h header file.

Various header files must be included in an ISDN application. These files provide the equates, structures, and prototypes needed to compile application programs. The following header files are typically used for ISDN call control applications:

Upon aborting a Dialogic ISDN API application, the operating system terminates the current process, but may leave devices in an unknown state. This may result in errors the next time the application is run. To avoid errors of this type, the application should trap the following terminating signals to terminate the application:

  1. Disconnect all active calls (in CONNECTED state).
  2. Abort all calls in progress, either by dropping and releasing the call or by issuing cc_Restart( ) on each line device.
  3. Set the line state to "Out of Service" or "Maintenance" if that option is available in the protocol being used.

When the process completes, any device claimed with cc_Open( ) must be released using the cc_Close( ) function.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated December, 2001