nccRejectCall and specifying extended information

With certain CAS protocols, when an application attempts to reject a call with nccRejectCall, extended information can be sent with the call reject request. This information is included in the CAS_REJECT_EXT structure which is a component of the NCC_ADI_CAS_PARMS structure:

ttypedef struct
{
DWORD           size;                   /* size of this structure       */
WORD            cause;                  /* reject cause                 */
WORD            pad;
}   CAS_REJECT_EXT;

In the function call, the NCC_ADI_CAS_PARMS structure is referenced using the void *protcallparms argument.

The CAS_REJECT_EXT structure contains the following fields:

Field

Protocols that use the field

Description

size

All

Size of this structure.

cause

WNK, MFC

Reject cause. For MFC, this can be used to determine the Group B tone used to reject the call.