|
Return Value |
|
TD42_ASYNCCHSTATUS |
0x00D0 |
Asynchronous channel status notification |
TD42_ASYNCCLOSEFEATSESSION |
0x00D5 |
Asynchronous close of feature session (NS only) |
TD42_ASYNCDISP |
0x00DA |
Asynchronous display notification |
TD42_ASYNCLINE |
0x00DB |
Asynchronous line status change notification |
TD42_SOFTKEYINPUT |
0x00D2 |
Soft key pressed (NS only) |
TDX_ERROR |
0x0089 |
Asynchronous error message |
When using the above event data in sample applications, the following information is applicable:
For TD42_ASYNCCHSTATUS: sr_getevtdatap( ) returns a pointer to an unsigned short containing the status of the channel.
For TD42_ASYNCDISP: sr_getevtdatap( ) returns a pointer to a null-terminated buffer containing the display. sr_getevtlen( ) returns the length of the data.
For TD42_ASYNCLINE: sr_getevtdatap( ) returns a pointer to a LINEINDICATOR structure containing the status of the indicator. The structure is defined in the d42lib.h and contains two members: line (the line #) and status (the status)
Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation