ISDN Software Reference for Linux and Windows
vi
6.10. PARM_INFO ...........................................................................................316
6.11. SPID_BLK ...............................................................................................316
6.12. TERM_BLK............................................................................................. 317
6.13. TERM_NACK_BLK................................................................................ 319
6.14. ToneParm .................................................................................................320
6.15. USPID_BLK.............................................................................................321
6.16. USRINFO_ELEM.................................................................................... 322
6.17. WAITCALL_BLK ..................................................................................323
7. ISDN Events and Errors............................................................................. 325
7.1. Event Categories.........................................................................................325
7.1.1. Termination Events............................................................................ 325
7.1.2. Unsolicited Events............................................................................. 330
7.2. Error Handling............................................................................................338
7.2.1. Cause/Error Codes from the ISDN Firmware.................................... 339
7.2.2. Cause/Error Codes from the ISDN Network......................................342
7.2.3. Cause/Error Codes from the ISDN Library........................................347
8. Application Guidelines................................................................................ 349
8.1. General Guidelines..................................................................................... 349
8.1.1. Symbolic Defines...............................................................................349
8.1.2. Header Files....................................................................................... 350
8.1.3. Aborting and Terminating the Application ........................................ 350
8.2. Handling Errors, Events and Alarms.......................................................... 350
8.2.1. Handling Errors..................................................................................351
8.2.2. Handling Events.................................................................................351
8.2.3. Handling Alarms................................................................................352
8.3. Programming Considerations - PRI and BRI..............................................352
8.3.1. Resource Association.........................................................................352
8.3.2. MAKECALL Block Initialization and Settings................................. 353
8.3.3. Information Element Settings.............................................................354
8.4. Programming Considerations - BRI/SC Only.............................................357
8.4.1. BRI/SC Configuration........................................................................357
8.4.2. BRI/SC Terminal Initialization.......................................................... 358
8.4.3. BRI/SC Tone Generation Configuration............................................ 359
8.5. Diagnostic Tools (The DialView Suite) .....................................................360
8.5.1. ISDIAG Utility...................................................................................360
8.5.2. ISDTRACE Utility.............................................................................362
Appendix A - Call Control Scenarios..............................................................367
BRI Channel Initialization and Start Up (User Side).......................................... 368