TAPIEx ActiveX Control v3.6 |
The SetupTransfer() initiates a transfer of the call. It establishes a consultation call on which the party can be dialed that can become the destination of the transfer.
function SetupTransfer As BOOLEAN
If the method succeeds, the return TRUE, otherwise return FALSE. Use ErrCode property to get the error code if return FALSE.
When the consultation call has reached the dialtone call state, the application can proceed transferring the call either by dialing the destination address and tracking its progress, or by unholding an existing call. The transfer of the original call to the selected destination is completed using lineCompleteTransfer.
While the consultation call exists, the original call typically transitions to the onholdPendingTransfer state. The application may be able to toggle between the consultation call and the original call by using SwapHold. A consultation call can be canceled by invoking lineDrop on it. After dropping a consultation call, the original call typically transitions back to the connected state. If the call state of the original call is onHoldPendingTransfer, the Unhold function can be used to recover the call. In this case, the call state of the consultation call is set to idle.
The application can also transfer calls in a single step, without having
to deal with the intervening consultation call, by using BlindTransfer.