ThbTapiLine.PrepareAddToConference
Unit: hbTapi

This method prepares an existing conference call (the ConfCall parameter) for the addition of another party. The initiating call must be a conference call, the application must be an owner of the call and the call state must be connected. If the function succeeds, a cunsultance call is returned.

The CallParams structure can be used, to specifiy the paramters of the new call.

This function is intended for the professional user, who needs to hand over more call paramerters than supported by ThbTapiLine.CallParams. Typically the simple variant of ThbTapiCall.PrepareAddToConference method is used.

Declaration

function PrepareAddToConference(ConfCall: ThbTapiCall; CallParams: PLINECALLPARAMS): ThbTapiCall;

Remarks

In TAPI the linePrepareAddToConference functions 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_INVALPOINTER, LINEERR_CALLUNAVAIL, LINEERR_INVALRATE, LINEERR_CONFERENCEFULL, LINEERR_NOMEM, LINEERR_INUSE, LINEERR_NOTOWNER, LINEERR_INVALADDRESSMODE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALBEARERMODE, LINEERR_OPERATIONFAILED, LINEERR_INVALCALLPARAMS, LINEERR_RATEUNAVAIL, LINEERR_INVALCALLSTATE, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALCONFCALLHANDLE, LINEERR_STRUCTURETOOSMALL, LINEERR_INVALLINESTATE, LINEERR_USERUSERINFOTOOBIG, LINEERR_INVALMEDIAMODE, LINEERR_UNINITIALIZED.