retrieves the connection endpoint suffix cc_GetCES( )
93
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
!
! !
!
Description
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( ).
!
! !
!
Cautions
The cc_GetCES( ) function applies only to BRI protocols.
This function is not supported for the BRI/2 board.
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include "srllib.h"
#include "dtilib.h"
#include "cclib.h"