# nccRejectCall

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;

## REJECTCALL_EXT field validity for network variants

The following table shows the fields in REJECTCALL_EXT that are valid for each network variant:

REJECTCALL_EXT field | 4 E S S | E 1 0 | N I 2 | D M S | E T S I | V N 6 | H K G | A U S T E L 1 | N T T | K O R E A | T A I W A N | Q S I G | D P N S S | T 1 6 0 7
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
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.

## REJECTCALL_EXT field descriptions

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.