Previous PageTable Of Contents../index.htmlIndexNext Page

cc_ReleaseCall( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_ReleaseCall(crn)

Inputs:

CRN crn

  call reference number

Returns:

0 on success
< 0 on failure

Includes:

cclib.h

Category:

Call control

Mode:

synchronous

Technology:

BRI/2; BRI/SC; PRI (all protocols)

Top Of PageDescription

The cc_ReleaseCall( ) function instructs the driver and firmware to release all internal resources for the specified call. An inbound call will be rejected after cc_DropCall( ) is used. Every issue of cc_DropCall( ) must be followed by cc_ReleaseCall( ).

When cc_WaitCall( ) is used in synchronous mode and cc_ReleaseCall( ) is issued subsequently, the next inbound call on the same channel will be pending until the cc_WaitCall( ) function is issued again. If cc_WaitCall( ) is used in asynchronous mode, the inbound call notification can be received immediately after cc_ReleaseCall( ).

Parameter

Description

crn:

The call reference number. Each call needs a CRN.

Top Of PageCautions

Top Of PageExample

Top Of PageErrors

If the function returns < 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_ReleaseCall( ) function include the following:

Error Code

Description

ERR_ISDN_LIB | E_ISBADIF

Bad interface number

ERR_ISDN_LIB | E_ISBADCALLID

Bad call identifier

ERR_ISDN_LIB | E_ISBADTS

Bad time slot

ERR_ISDN_LIB | E_ISNULLPTR

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