Previous PageTable Of Contents../index.htmlIndexNext Page

dcb_addtoconf( )

Description | Cautions | Example | Errors | See Also

Name:

int dcb_addtoconf(devh,confid,cdt)

Inputs:

int devh

  DCB/SC DSP device handle

 

int confid

  conference identifier

 

MS_CDT *cdt

  pointer to conference descriptor 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_addtoconf( ) function adds one conferee to an existing conference. The conference identifier specifies the conference to which the conferee will be added. The cdt parameter describes the added conferee.

Parameter

Description

devh:

The DCB/SC DSP device handle.

confid:

The conference identifier number.

cdt:

Pointer to the conference descriptor element.

NOTES:
1. Only one conferee can be added at a time using this function.
2. Invoking this function uses one conferencing resource each time a conferee is successfully added to a conference.

A conference descriptor element has the form of the MS_CDT structure. The format is as follows:

The chan_num denotes the SCbus transmit time slot number of the device to be included in the conference. The chan_sel defines the meaning of 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. Valid choices are:


Table 3. 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.

This function returns the SCbus listen time slot number for the MSPN_TS party. The number is placed in the chan_lts field of the MS_CDT structure for the MSPN_TS party. The chan_lts field is defined as follows:

The chan_lts value must be used by the application to listen to the conferenced signal.

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