The TERM_BLK data structure contains information regarding the application's response to the CCEV_TERM_REGISTER event. The response is sent using the cc_TermRegisterResponse( ) function.
The structure is defined as follows:
typedef struct
{
DLINK data_link;
byte ack_type;
union
{
byte cause_value; /* Cause Value if ack type is ISDN_ERROR */
struct
{
byte usid;
byte tid;
byte interpreter;
} uspid;
} ack_info;
} TERM_BLK, *TERM_BLK_PTR;
/* where DATA_LINK contains the following structure */
typedef struct
{
byte sapi;
byte ces;
} DLINK, *DLINK_PTR;
Table 41. TERM_BLK Field Descriptions
Field |
Description |
data_link |
The DLINK data structure; see Section 6.4. DLINK. |
ack_type |
The type of acknowledgement to be passed to the firmware. The settings are:
|
cause_value |
The Cause Value defined in isdncmd.h. (For a listing of Cause Values, see Section 7.2.1. Cause/Error Codes from the ISDN Firmware.) |
usid |
User Service Identifier. The range is 01 -- FF. 00 signifies default. |
tid |
Terminal Identifier. The range is 01 -- 63. 00 signifies that the firmware is to provide a default. |
interpreter |
Specifies how the usid and tid values are to be interpreted. Possible value settings are:
|
Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation