Previous PageTable Of Contents../index.htmlIndexNext Page

cc_GetInfoElem( )

Description | Caution | Example | Errors | See Also

Name:

int cc_GetInfoElem(linedev, iep)

Reference:

LINEDEV linedev

  line device handle of the B channel board

Inputs:

IE_BLK *iep

  pointer to the information element buffer

Returns:

0 on success
< 0 on failure

Includes:

cclib.h

Category:

Optional call handling

Mode:

synchronous

Technology:

BRI/SC; PRI (all protocols)

Top Of PageDescription

The cc_GetInfoElem( ) function gets information elements associated with a line device for an incoming message. The cc_GetInfoElem( ) function must be used immediately after the message is received if the application requires the call information. The library will not queue the call information; subsequent messages on the same line device will be discarded if the previous messages are not retrieved.

Parameter

Description

linedev:

The B channel board line device handle.

iep:

The starting address of the information element block. The information elements are contained in the IE_BLK data structure. See Section 6.6. IE_BLK for a description of the data structure. See the example code for details.

Top Of PageCaution

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

Error Code

Description

ERR_ISDN_LIB | E_ISBADCRN

Bad call reference number

ERR_ISDN_LIB | E_ISBADPAR

Bad input parameter

ERR_ISDN_LIB | E_ISNOINFOBUF

Information buffer not ready

ERR_ISDN_LIB | E_ISNOFACILITYBUF

Network Facility buffer not ready

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