TapiCallAccept Method |
Namespace: Traysoft.AddTapi
Exception | Condition |
---|---|
TapiException | The call was not accepted because a TAPI error occurred. |
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.