SwapHold
The SwapHold method swaps the
specified
active call with the
specified
call on consultation hold.
Function SwapHold( ActiveCall As TAPICall, HeldCall As TAPICall) As Boolean
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 ,
UnHold