The nccRejectCall extended parameter structure for ISDN Software is shown:
typedef struct
{
DWORD size; /* Size of this structure */
BYTE ie_list[NCC_ISDN_MAX_IE_LIST]; /* additional information elements */
WORD cause; /* Disconnect cause (NCC value) */
WORD pad;
} REJECTCALL_EXT;
The following table shows the fields in REJECTCALL_EXT that are valid for each network variant:
REJECTCALL_EXT field |
4 |
E |
N |
D |
E |
V |
H |
A |
N |
K |
T |
Q |
D |
T |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ie_list |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
cause |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
nccRejectCall generates a PROGRESS message by default. If this message is sent, only the cause field is used.
By changing the setting of the NCC.X.ADI_ISDN.START_EXT.flags parameter, nccRejectCall sends a CALL PROCEEDING or ALERTING message instead of the PROGRESS message. With ALERTING, only the uui field is sent. With CALL PROCEEDING, no extended parameters can be sent.
The following table describes the fields in the REJECTCALL_EXT structure:
Field |
Description |
---|---|
size |
Size of REJECTCALL_EXT. |
ie_list |
Null-terminated array of additional Q.931 information elements. See Sending additional information elements for more information. |
cause |
Cause for call rejection. |