ITBasicCallControl::Transfer method (tapi3if.h)
The Transfer method transfers the current call to the destination address.
HRESULT Transfer( [in] ITBasicCallControl *pCall, [in] VARIANT_BOOL fSync );
Pointer to ITBasicCallControl interface of consultation call created for the transfer.
Indicates whether the method should be completed synchronously (VARIANT_TRUE) or asynchronously (VARIANT_FALSE).
This method can return one of these values.
||The pCall parameter does not point to a valid call.|
||Transfers not supported.|
||Insufficient memory exists to perform the operation.|
||The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes.|
Some service providers do not support this operation while streaming is active. The application may need to call ITStream::StopStream or ITSubStream::StopSubStream prior to the operation and ITStream::StartStream or ITSubStream::StartSubStream following completion of the operation.
Call transfer involves setting up a consultation call in preparation for the transfer. pCall is the ITBasicCallControl pointer returned by ITAddress::CreateCall following the creation of a consultation call. ITBasicCallControl::Finish (FM_ASTRANSFER) completes the transfer.
If the consultation call is not in the CONNECTED state when Transfer is called, TAPI will use the destination address (as specified when the consultation call was first created via ITAddress::CreateCall) and try to connect at that time. If the original call had a NULL destination address, Transfer will fail with E_INVALIDARG.
|Header||tapi3if.h (include Tapi3.h)|