AddTapi.NET Developer's Manual
Redirect Method (number)
NamespacesTraysoft.AddTapiTapiCallRedirect(String)
Redirects the call to the specified destination number.
Declaration Syntax
C#Visual BasicVisual C++
public void Redirect(
	string number
)
Public Sub Redirect ( _
	number As String _
)
public:
void Redirect(
	String^ number
)
Parameters
number (String)
Number where the call is to be redirected to. The number uses the standard dialable number format.
Remarks

The telephony hardware must support "redirect" function in order for Redirect method to work. Voice modems do not support this function.

Please note that some telephony hardware requires a call to be in the accepted state before redirecting the call. Use Accept()()() to accept incoming call, then use Redirect in your CallState event handler to redirect the call after call state changes to TapiCallState.Accepted.

Exceptions
ExceptionCondition
TapiExceptionThe call was not redirected because a TAPI error occurred.
See Also

Assembly: Traysoft.AddTapi (Module: Traysoft.AddTapi)