Description
The SwapHold method swaps the specified active call with the specified call on consultation hold.
[Visual Basic]
Function SwapHold( ActiveCall As TAPICall, HeldCall As TAPICall) As Boolean
[C#]
public Boolean SwapHold (TAPICall ActiveCall , TAPICall HeldCall )
Parameters
- ActiveCall
- The reference of the active call. The application must be an owner of the call. The call state of it must be connected.
- HeldCall
- The reference of the consultation call. The application must be an owner of the call. The call state of it can be onHoldPendingTransfer, onHoldPendingConference, or onHold .
Return values
- If the method succeeds, return TRUE, otherwise return FALSE.
Remarks
Swapping the active call with the call on consultation hold allows the application to alternate or toggle between these two calls. This is typical in call waiting.See Also
Hold , UnHoldSupport editions
