ThbTapiCall.SetupTransfer
Unit: hbTapi

The SetupTransfer method initiates a transfer of the call to another station.

If the function succeeds, a consultation call is established and returned as the return value. Use this call to dial the phone number of the party that has to become the destination of the transfer. The CompleteTransfer method is used to transfer the call or to create a three-way conference.

Declaration

function SetupTransfer: ThbTapiCall;

Remarks

Please refer to the section "lineSetupTransfer" in TAPI's documentation for a more detailed information. 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_INVALRATE, LINEERR_CALLUNAVAIL, LINEERR_NOMEM, LINEERR_INUSE, LINEERR_NOTOWNER, LINEERR_INVALADDRESSMODE, LINEERR_OPERATIONFAILED, LINEERR_INVALBEARERMODE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALCALLHANDLE, LINEERR_RATEUNAVAIL, LINEERR_INVALCALLPARAMS, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALCALLSTATE, LINEERR_STRUCTURETOOSMALL, LINEERR_INVALLINESTATE, LINEERR_UNINITIALIZED, LINEERR_INVALMEDIAMODE, LINEERR_USERUSERINFOTOOBIG, LINEERR_INVALPOINTER.

See Also

ThbTapiCall.PrepareAddToConference |  ConferenceCall, Establish a Conference Call