Previous PageTable Of Contents../index.htmlIndexNext Page

dcb_estconf( )

Description | Cautions | Example | Errors | See Also

Name:

int dcb_estconf(devh,cdt,numpty,confattr,confid)

Inputs:

int devh

  DCB/SC DSP device handle

 

MS_CDT *cdt

  pointer to conference descriptor table

 

int numpty

  number of parties in conference

 

int confattr

  conference attributes

 

int *confid

  pointer to the conference identifier

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_estconf( ) function establishes a conference of up to four parties. A conference is associated with a DSP and all DSP resources used by the conference are on that DSP. When dcb_estconf( ) returns successfully, confid will contain the conference identification number for use in all further modifications to that conference.

Parameter

Description

devh:

The DCB/SC DSP device handle.

cdt:

Pointer to the conference descriptor table.

numpty:

Number of parties in the conference.

confattr:

The conference attributes.

confid:

Pointer to the conference ID number.

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

The chan_num field denotes the SCbus transmit 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:

chan_attr is a bitmask describing the conferee's properties within the conference. Valid choices are:


Table 4. 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. Specifying more than one of either will cause unexpected results.
NOTES:
1. The default MSPA_NULL must be used if channel attributes are not specified.
NOTES:
2. Invalid attribute combinations may lead to unexpected results.

The The conference attribute parameter, conf_attr, is a bitmask describing the properties of the conference. The properties are in effect for all parties in the conference.

For MSCA_NN to have an effect, it should be ORed together with MSCA_ND.

The default MSCA_NULL must be used if the conference attribute is not specified.

For each member of a conference, the number of the SCbus time slot to listen to is returned in the chan_lts field of MS_CDT. The chan_attr field in the CDT structure is redefined as follows:

NOTES:
1. Calling this function causes numpty resources to be used when the conference is successfully established.
NOTES:
2. This function may be used to establish a conference of up to 4 parties. You must use dcb_addtoconf( ) or dcb_monconf( ) to increase the size of the conference.

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