ThbTapiCall.Hold
Unit: hbTapi

The Hold function places the call on hold.That means the state of the call will turn to LINECALLSTATE_ONHOLD. Use the Unhold function to set the call back to LINECALLSTATE_CONNECTED.

Declaration

procedure Hold;

Remarks

Please refer to the section "lineHold" 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_INVALCALLHANDLE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALCALLSTATE, LINEERR_OPERATIONFAILED, LINEERR_NOMEM, LINEERR_RESOURCEUNAVAIL, LINEERR_NOTOWNER, LINEERR_UNINITIALIZED.

See Also

ThbTapiLine.OnCallState