Appendix B: Events, Reasons, and Errors
Introduction
The AG ISDN API has a specific set of events, reason codes, and error codes associated with it. This appendix summarizes these structures and codes.
AG ISDN Events
The following events are specific to AG ISDN. Examine the reason code or error code stored in the value field of the event for further information about the event, or about the result of the function's execution. (For further information about event handling, see Section 3.6.1.)
|
Event |
Hex Value |
Decimal |
Description |
|
0x00072083 |
467075 |
A trunk error occurred. | |
|
0x00072020 |
466976 |
A message has been received from an ISDN trunk. | |
|
0x00072004 |
466948 |
isdnSendMessage has completed. The value field of this event contains the result of the function call. | |
|
0x00072082 |
467074 |
isdnSetMsgCapture has completed. The value field of this event contains the result of the function call. | |
|
0x00072001 |
466945 |
isdnStartProtocol has completed. The value field of this event contains the result of the function call. | |
|
0x00070002 |
466946 |
isdnStopProtocol has completed. The value field of this event contains the result of the function call. |
AG ISDN Reasons
The AG ISDN reason codes in the table below may appear in the value fields of the events listed above.
AG ISDN Errors
The error code in the table below may be returned by AG ISDN functions.
|
Error |
Hex Value |
Decimal Value |
Description |
|
0x00070303 |
459523 |
The buffer submitted is not a valid buffer. |
Natural MicroSystems, Inc.
100 Crossing Boulevard
Framingham, MA 01702