Click or drag to resize
TapiCallDial Method (String, Boolean)
Dials the specified number on the existing call.

Namespace: Traysoft.AddTapi
Assembly: Traysoft.AddTapi (in Traysoft.AddTapi.dll) Version: 6.0.0.1110
Syntax
public void Dial(
	string number,
	bool useDialingRules
)

Parameters

number
Type: SystemString
A string that contains a number to dial.
useDialingRules
Type: SystemBoolean
Indicates if the dialing rules specified in the Control Panel should be applied.
Exceptions
ExceptionCondition
TapiExceptionThe number was not dialed because a TAPI error occurred.
Remarks

The Dial method is used for dialing on an existing call. For example, after a call has been set up for transfer or conference, a consultation call is automatically created, and the TapiCall.Dial method would be used to perform the dialing of this consultation call. The TapiCall.Dial method can be invoked multiple times in the course of multistage dialing, if the hardware allows it.

The TapiCall.Dial method can also be used in partial dialing. To initiate a call using partial dialing, the application calls TapiLine.Dial(string,bool) and specifies a partial dialing string. A partial dial string is any dial string terminated by a semicolon. The call will typically transition to TapiCallState.Dialing after which TapiCall.Dial can be called to specify more dialing strings, each terminated by a semicolon. Dialing is completed by calling TapiCall.Dial with a dial string that is not terminated with a semicolon (such as an empty string). This technique allows applications to perform interactive partial dialing with the user or enable more sophisticated dialing.

The TapiCall.Dial method is only available when a call is in TapiCallState.Dialing or TapiCallState.Dialtone state. If DTMF is needed while a call is connected, use TapiCall.GenerateDigits.
See Also