Click or drag to resize
TapiCallAccept Method
Accepts offered call.

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

On some telephony systems incoming calls are first offered on one or more lines (phone extensions). For some small amount of time, the application may have the option to reject the call using Disconnect, redirect the call to another extension using Redirect(String), or accept the call using Accept. After a call has been successfully accepted by an application, alerting begins at the extension that accepted the call.

Please note that Accept is an asynchronous operation. Accept method instructs telephony system to accept the call. When telephony system finishes accepting the call, the state of the call changes to TapiCallState.Accepted and CallState event is fired.

See Also