TAPIEx ActiveX Control v3.6 |
SetupConference method sets up a conference call for the addition of the third party.
Function mCall.SetupConference( NumParties As Long) As Boolean
If the function succeeds, the return TRUE, otherwise return FALSE. Use ErrCode property to get the error code if return FALSE.
The conference call typically transitions into the onHoldPendingConference state, the consultation call into the dialtone state, and the initial call (if there is one) into the conferenced state.
A conference call can also be set up by a CompleteTransfer that is resolved into a three-way conference. The application may be able to toggle between the consultation call and the conference call using SwapHold.
A consultation call can be canceled by invoking Drop on it. When dropping a consultation call, the existing conference call typically transitions back to the connected state. The application should observe the OnCallStateChange event to determine exactly what happens to the calls. For example, if the conference call reverts back to a regular two-party call, the conference call becomes idle and the original participant call can revert to connected.
If an application specifies the handle of the original call (mCall) in a call to the Unhold function, both the conference call and the consultation call typically go to idle.