Previous PageTable Of Contents../index.htmlIndexNext Page

dcb_getcde( )

Description | Cautions | Example | Errors | See Also

Name:

int dcb_getcde(devh,confid,cdt)

Inputs:

int devh

  DCB/SC DSP device handle

 

int confid

  conference identifier

 

MS_CDT *cdt

  pointer to conference descriptor table element

Returns:

0 on success
-1 on failure

Includes:

srllib.h
dtilib.h
msilib.h
dcblib.h

Category:

Conference Management

Mode:

synchronous

Top Of PageDescription

The dcb_getcde( ) function retrieves the attributes of a conferee in an existing conference.

Parameter

Description

devh:

The DCB/SC DSP device handle.

confid:

The conference identifier.

cdt:

Pointer to the conference descriptor table element.

This function requires that the conferee's chan_num and chan_sel be specified. On successful completion, the conference party's attribute will be returned in the char_attr field of the MS_CDT structure.

The conference descriptor table is an array of the MS_CDT structure. The MS_CDT structure has the following format:

The chan_num denotes the SCbus transmit time slot number of the device. The chan_sel defines the meaning of chan_num. At present, chan_sel should be set to the following value:

Channel attribute is a bitmask describing the conferee's properties within the conference. Possible returns are listed in the table below. A combination of any of the attributes shown in the table may be returned.


Table 5. Possible Returns for Channel Attribute

Channel Attribute

Description

MSPA_NULL

No special attributes for conferee. The conferee hears everyone except the coach.

MSPA_RO

Conferee participates in the conference in receive-only mode.

MSPA_TARIFF

Conferee receives periodic tone for duration of call.

MSPA_COACH

Conferee is a coach. Coach is heard by pupil only.

MSPA_PUPIL

Conferee is a pupil. Pupil hears everyone including coach.

NOTE:
This function must be invoked multiple times if the attributes of more than one conferee are desired.

Top Of PageCautions

This function fails when:

Top Of PageExample

Top Of PageErrors

If the function does not complete successfully, it will return -1 to indicate an error. Use the Standard Attribute functions ATDV_LASTERR( ) to obtain the applicable error value, or ATDV_ERRMSGP( ) to obtain a more descriptive error message.

Refer to the error type tables found in Chapter 2 of this guide. Error defines can be found in dtilib.h, msilib.h or dcblib.h.

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002