Click or drag to resize
TapiCallHold Method
Places the call on hold.

Namespace: Traysoft.AddTapi
Assembly: Traysoft.AddTapi (in Traysoft.AddTapi.dll) Version: 6.0.0.1110
Syntax
public void Hold()
Exceptions
ExceptionCondition
TapiExceptionThe call was not put on hold because a TAPI error occurred.
Remarks

The call on hold is temporarily disconnected allowing the application to use the line device for making or answering other calls. Use Unhold to retrieve the held call. The telephony hardware must support "hard hold" function for Hold method to work. Regular voice modems do not support this function.

Please note that Hold is an asynchronous operation. Hold method instructs telephony system to put the call on hold. When telephony system finishes putting the call on hold, the state of the call changes to TapiCallState.OnHold and CallState event is fired. If the held party hangs up while on hold, the call transitions to the TapiCallState.Disconnected state.

See Also