Previous PageTable Of Contents../index.htmlIndexNext Page

cc_HoldAck( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_HoldAck(crn)

Inputs:

CRN crn

  call reference number

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_HoldAck( ) function allows the application to accept 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.

Top Of PageCautions

A call must be in the Connected state and the CCEV_HOLDCALL event must be received before the cc_HoldAck( ) function is invoked or the function will fail.

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_HoldAck( ) 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