ITBasicCallControl interface (tapi3if.h)
The ITBasicCallControl interface is used by the application to connect, answer, and perform basic telephony operations on a call object.
The ITBasicCallControl2 interface is an extension of the ITBasicCallControl interface. ITBasicCallControl2 supplies additional methods that allow an application to select a terminal onto a call. The ITAddress::CreateCall method creates the ITBasicCallControl interface.
Note to programmers familiar with TAPI 2.1: The general function of this interface is similar to the TAPI 2.1 line functions. For example, the lineAnswer function and the ITBasicCallControl::Answer method provide similar functionality.
The ITBasicCallControl interface inherits from the IDispatch interface. ITBasicCallControl also has these types of members:
The ITBasicCallControl interface has these methods.
The Answer method answers an incoming call. This method can succeed only if the call state is CS_OFFERING.
The BlindTransfer method performs a blind or single-step transfer of the specified call to the specified destination address. The application must be the owner of the call. After a successful transfer, the call state transitions to CS_DISCONNECTED.
The Conference method adds a consultation call to the conference in which the current call is a participant. If an associated ITCallHub object does not exist, it is created.
The Connect method attempts to complete the connection of an outgoing call.
The Dial method dials the specified address.
The Disconnect method disconnects the call. The call state will transition to CS_DISCONNECTED after the method completes successfully.
The Finish method is called on a consultation call to finish a conference or a transfer.
The HandoffDirect method hands off the call to another application. This indicates that the application no longer requires ownership of the call.
The HandoffIndirect method hands off the call to another application based on the media type of the call.
The Hold method places or removes the call from the hold.
The ParkDirect method parks the call at a specified address.
The ParkIndirect method parks the call and returns the parked address.
The Pickup method picks up a call alerting at the specified group identification.
The RemoveFromConference method removes the call from a conference if it is involved in one.
The SetQOS method sets the quality of service level for the call.
The SwapHold method swaps the call (which is active) with the specified call on hold.
The Transfer method transfers the current call to the destination address.
The Unpark method gets the call from park.
|Header||tapi3if.h (include Tapi3.h)|