Previous PageTable Of Contents../index.htmlIndexNext Page

cc_HoldRej( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_HoldRej(crn, cause)

Inputs:

CRN crn

  call reference number

 

int cause

  standard ISDN Network error code

Returns:

0 on success
<0 on failure

Includes:

cclib.h

Category:

Hold and Retrieve

Mode:

synchronous

Technology:

BRI/2; BRI/SC; PRI (DPNSS and Q.SIG only)

Top Of PageDescription

The cc_HoldRej( ) function allows the application to reject a hold request from remote equipment. This function is called only after the call is in the Connected state and after the CCEV_HOLDCALL event is received. See Section 7.1. Event Categories for information on CCEV_HOLDCALL.

Parameter

Description

crn:

The call reference number. Each call needs a CRN.

cause:

A standard ISDN Network cause/error code is returned indicating the reason the hold request was rejected. Possible causes include TEMPORARY_FAILURE (Cause 41), NETWORK_OUT_OF_ORDER (Cause 38), and NETWORK_CONGESTION (Cause 42). For a complete list of ISDN Network cause/error codes, see Section 7.2.2. Cause/Error Codes from the ISDN Network.

Top Of PageCautions

Top Of PageExample

Top Of PageErrors

If the function returns a value < 0 to indicate failure, use the cc_CauseValue( ) function to retrieve the reason code for the failure. The cc_ResultMsg( ) function can be used to interpret the reason code. Error codes are defined in the files ccerr.h, isdnerr.h, and isdncmd.h.

Error codes from the cc_HoldRej( ) function include the following:

Error Code

Description

ERR_ISDN_FW | ISDN_BADSTATE

Cannot accept event in current state

ERR_ISDN_LIB | E_ISNULL_PTR

Null pointer error

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated December, 2001