Previous PageTable Of Contents../index.htmlIndexNext Page

cc_GetCES( )

Description | Cautions | Example | Errors | See Also

Name:

int cc_GetCES(cesp, evtdatap)

Inputs:

char *cesp

  pointer to connection endpoint suffix buffer

 

void *evtdatap

  pointer to an event block

Returns:

0 on success
< 0 on failure

Includes:

cclib.h

Category:

System tools

Mode:

synchronous

Technology:

BRI/SC

Top Of PageDescription

The cc_GetCES( ) function retrieves the connection endpoint suffix (CES) associated with the CCEV_D_CHAN_STATUS event received from the event queue. The connection endpoint suffix specifies the telephone equipment associated with the station. Eight IDs (1 - 8) are supported when used as a network-side terminal. When used as a station-side terminal, only one ID (1) is supported.

Parameter

Description

cesp:

Pointer to the space containing the connection endpoint suffix.

evtdatap:

Pointer to the structure containing the event data. The pointer value is acquired through the Dialogic Standard Runtime Library (SRL) function sr_getevtdatap( ).

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

Error Code

Description

ERR_ISDN_LIB | E_ISBADIF

Bad interface number

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