Previous PageTable Of Contents../index.htmlIndexNext Page

cc_GetNetCRV( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_GetNetCRV(crn, netcrvp)

Inputs:

CRN crn

  call reference number

 

int *netcrvp

  pointer to network call reference buffer

Returns:

0 on success
< 0 on failure

Includes:

cclib.h

Category:

System tools

Mode:

synchronous

Technology:

BRI/SC; PRI (all protocols)

Top Of PageDescription

The cc_GetNetCRV( ) function retrieves the network call reference value (CRV) for a specified call reference number (CRN). The CRN is assigned during either the cc_MakeCall( ) function for outbound calls or the cc_WaitCall( ) function for incoming calls. If an invalid host CRN value is passed, for example, the CRN of an inactive call, cc_GetNetCRV( ) will return a value < 0 indicating failure.

NOTE:
The cc_GetNetCRV( ) function can be used to invoke the Two B Channel Transfer (TBCT) feature. The TBCT feature is invoked by sending a FACILITY message to the Network containing, among other things, the Call Reference Values (CRVs) of the two calls to be transferred. See Appendix A - Call Control Scenarios for more information on TBCT.

Parameter

Description

crn:

The call reference number. Each call needs a CRN.

netcrvp:

The pointer to the buffer where the network call reference value (CRV) will be stored.

Top Of PageCautions

This function is not supported for the BRI/2 board.

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

Error Code

Description

ERR_ISDN_LIB | E_BADCALLID

An invalid CRN was entered for which no call exists

ERR_ISDN_LIB | E_ISBADTS

Bad time slot

ERR_ISDN_LIB | E_BADDSL

Bad DSL value

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