The ITBasicCallControl interface is used by the application to connect, answer, and perform basic telephony operations on a Call object.
Method |
Description |
Connect
|
Attempts to complete the connection of an outgoing call. HRESULT
Connect(
VARIANT_BOOL fSync
);
|
Answer
|
Answers an incoming call. This method can succeed only if the call state is CS_Offering. HRESULT
Answer();
|
Disconnect
|
Disconnects the call. The call state transits to CS_Disconnected after the method completes successfully. HRESULT
Disconnect(
DISCONNECT_CODE code
);
|
Hold
|
Places or removes the call from the hold. HRESULT
Hold(
VARIANT_BOOL fHold
);
|
SwapHold
|
Swaps the active call with the specified call on hold. HRESULT
SwapHold(
ITBasicCallControl *pCall
);
|
ParkDirect
|
Parks the call at a specified address. HRESULT
ParkDirect(
BSTR pParkAddress
);
|
Unpark
|
Gets the call from park. HRESULT
Unpark()
;
|
BlindTransfer
|
Performs a blind or single-step transfer of the specified call to the specified destination address. HRESULT BlindTransfer(
BSTR pDestAddress
);
|
Transfer
|
Transfers the current call to the destination address. HRESULT Transfer(
ITBasicCallControl*pCall,
VARIANT_BOOL fSync
);
|
Finish
|
Finishes a conference or a transfer on a consultation call. HRESULT Finish(
FINISH_MODE finishMode
);
|
Conference
|
Adds a consultation call to the conference in which the current call is a participant. HRESULT Conference(
ITBasicCallControl *pCall,
VARIANT_BOOL fSync
);
|
RemoveFromConference
|
Removes the call from a conference if involved in one. HRESULT RemoveFromConference();
|