Previous PageTable Of Contents../index.htmlIndexNext Page

cc_RetrieveRej( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_RetrieveRej(crn, cause)

Inputs:

CRN crn

  call reference number

 

int cause

  standard ISDN Network cause/error code

Returns:

0 on success
<0 on failure

Includes:

cclib.h

Category:

Hold and Retrieve

Mode:

synchronous

Technology:

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

Top Of PageDescription

The cc_RetrieveRej( ) function allows the application to reject a request to retrieve a held call from remote equipment. The call must be in Hold state and the CCEV_RETRIEVECALL event must be received before this function is called.

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.

Possible error codes from the cc_RetrieveRej( ) 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