Previous PageTable Of Contents../index.htmlIndexNext Page

cc_RetrieveCall( )

Description | Termination Events | Cautions | Example | Errors | See Also

Name:

int cc_RetrieveCall(crn, mode)

Inputs:

CRN crn

  call reference number

 

unsigned long mode

  synchronous or asynchronous

Returns:

0 on success
<0 on failure

Includes:

cclib.h

Category:

Hold and Retrieve

Mode:

synchronous or asynchronous

Technology:

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

Top Of PageDescription

The cc_RetrieveCall( ) function allows the application to retrieve a call from the Hold state. The call must be in the Hold state to use this function.

Parameter

Description

crn:

The call reference number. Each call needs a CRN.

mode:

Specifies synchronous (EV_SYNC) or asynchronous (EV_ASYNC) mode.

Top Of PageTermination Events

Top Of PageCautions

The cc_RetrieveCall( ) function can only be used when the call is in Hold state.

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_RetrieveCall( ) function include the following:

Error Code

Description

ERR_ISDN_LIB | E_ABORTED

Task aborted by cc_Restart( ) function.

ERR_ISDN_LIB | E_BADSTATE

The cc_Restart( ) function is in progress.

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