Previous PageTable Of Contents../index.htmlIndexNext Page

dcb_setcde( )

Description | Cautions | Example | Errors | See Also

Name:

int dcb_setcde(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_setcde( ) function changes the attributes of a conferee in an existing conference.

Parameter

Description

devh:

The DCB/SC DSP device handle.

confid:

The conference identifier number.

cdt:

Pointer to the conference descriptor table element.

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 time slot number of the device to be included in the conference. The chan_sel defines the meaning of the chan_num. At present, chan_sel must be set to the following value:

The chan_attr is a bitmask describing the conferee's properties within the conference. It can have one or more of the following values ORed together:

NOTE:
If the conferee attributes of more than one conferee are to be set, this function must be called multiple times.

Table 6. Valid Attribute Combinations

Pupil

Coach

Periodic Tone

Receive-only mode

     

X

   

X

 
   

X

X

 

X

   

X

     

X

 

X

 

NOTES:
1. Only one coach and one pupil are allowed in a conference at any time.
2. The default MSPA_NULL must be used if channel attributes are not set.
3. Invalid attribute combinations may lead to unexpected results.

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