ThbTapiLine.SetupConference
Unit: hbTapi

The SetupConference method sets up a conference call for the addition of the third party. A conference call and a consultation call will be created and returned in the ConfCall and ConsultCall parameters. Set NumParties to the expected number of parties in the conference call or SetNumParties to Zero.

This function is intended for the professional user, who needs to hand over more call paramerts than supported by ThbTapiLine.CallOptions. Typically the ThbTapiCall.SetupConference method is used.

Declaration

procedure SetupConference(Call: ThbTapiCall; var ConfCall, ConsultCall: ThbTapiCall; NumParties: DWORD; CallParams: PLINECALLPARAMS);

Remarks

The TAPI function lineSetupConference is called. This function works in an asynchronous manner. See the SyncMode property to read more about the handling of asynchronous functions.

Errors

Using this function may cause an EhbTapiError exception. Possible errors are:

LINEERR_BEARERMODEUNAVAIL, LINEERR_UNINITIALIZED, LINEERR_CALLUNAVAIL, LINEERR_INVALMEDIAMODE, LINEERR_CONFERENCEFULL, LINEERR_INVALPOINTER, LINEERR_INUSE, LINEERR_INVALRATE, LINEERR_INVALADDRESSMODE, LINEERR_NOMEM, LINEERR_INVALBEARERMODE, LINEERR_NOTOWNER, LINEERR_INVALCALLHANDLE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALCALLSTATE, LINEERR_OPERATIONFAILED, LINEERR_INVALCALLPARAMS, LINEERR_RATEUNAVAIL, LINEERR_INVALLINEHANDLE, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALLINESTATE, LINEERR_STRUCTURETOOSMALL, LINEERR_USERUSERINFOTOOBIG.

See Also

LINECALLPARAMS, ThbTapiCallParams, ThbTapiCall.SetupConference