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:
This section provides general guidelines for writing applications including explanations of:
8.1.1. Symbolic DefinesApplications 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.
8.1.2. Header FilesVarious 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:
8.1.3. Aborting and Terminating the ApplicationUpon 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:
When the process completes, any device claimed with cc_Open( ) must be released using the cc_Close( ) function.
Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation