Previous PageTable Of Contents../index.htmlIndexNext Page

cc_SetInfoElem( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_SetInfoElem(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/2; BRI/SC; PRI (all protocols)

Top Of PageDescription

The cc_SetInfoElem( ) function sets additional information elements, allowing the application to include application-specific ISDN information elements in the next outbound message. This function is used for rapid deployment of an application that "interworks" with the network to take advantage of ISDN's capabilities. A typical application is user-to-user information elements in each outgoing message.

NOTE:
See Appendix C for descriptions of ISDN IEs that are specific to the DPNSS protocol.

Parameter

Description

linedev:

The B channel board line device handle.

iep:

The starting address of the information element block (IE_BLK). For a description of the IE_BLK data structure, see Section 6.6. IE_BLK. See the Example code for details.

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

Error Code

Description

ERR_ISDN_LIB | E_ISBADPAR

Bad input parameter

ERR_ISDN_LIB | E_ISNOINFOBUF

Information 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