ThbTapiCall.Park
Unit: hbTapi

This method parks the call at a specified address passed in the DestAddress parameter. The address is typically a phone number in dialable number format. Some line devices uses park-positions like "0" or "7". The address is also used in the ThbTapiLine.Unpark method to retreive the call from its park-position. A parked call typically enters the idle state and is then deallocated by ThbTapiLine if the Options.AutoFreeIdleCalls property is set to a value greater then -1.

Declaration

procedure Park(DestAddress: String);

Remarks

ThbTapiLine.Park method is also available to support nondirect parking.

Please refer to the section "linePark" 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_INVALADDRESS, LINEERR_NOTOWNER, LINEERR_INVALCALLHANDLE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALCALLSTATE, LINEERR_OPERATIONFAILED, LINEERR_INVALPARKMODE, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALPOINTER, LINEERR_STRUCTURETOOSMALL, LINEERR_NOMEM, LINEERR_UNINITIALIZED.

See Also

ThbTapiLine.Park, ThbTapiLine.OnCallState