|
![]() |
The Pickup method picks up a call alerting at the specified destination address and returns a call for the picked-up call. If invoked with an empty string for the DestAddress parameter, a group pickup is performed. If required by the device, GroupID specifies the group identifier to which the alerting station belongs. Use the OnAddressState event and check the Address.Status.AddressFeatures property to determine if a pickup is possible. Declarationfunction Pickup(AddressID: DWORD; DestAddress, GroupID:
String): ThbTapiCall; Example
RemarksPlease refer to the section "lineMakeCall" 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. ErrorsUsing this function may cause an EhbTapiError exception . Possible errors are: LINEERR_INVALADDRESS, LINEERR_NOMEM, LINEERR_INVALADDRESSID, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALGROUPID, LINEERR_OPERATIONFAILED, LINEERR_INVALLINEHANDLE, LINEERR_RESOURCEUNAVAIL, LINEERR_INVALPOINTER, LINEERR_UNINITIALIZED. See AlsoThbTapiLine.OnAddressState, ThbTapiLine.Addesse[<any available>].Status.AddressFeatures |