Using TeleScope
2. Set the etLine.Call.Handle to zero; see Select a Call.
3. Set the phone number. On the “Call” tab click on the "Control" tab enter a number in the edit box adjacent to the Dial button.
4. Set the Call Parameters on the "Parameters" tab.
5.
Select the “Call | Dial” menu option.
-or-
Select the “Call | Active” menu option.
-or-
Click the etLine.Call.Dial tool bar button on the "Call" tab.
-or-
Click the Dial button on the "Call | Control" tab.
Using TeleTools
2.
Set the etLine.Call.Handle to zero; see Select
a Call.
Example:
etLine1.Call.Handle := 0;
3.
Set the etLine.Call.PhoneNumber property to the phone number to be dialed.
Example:
etLine1.Call.PhoneNumber := '19192332232';
-or-
// See Using
the Windows Dialing Properties
etLine1.Call.PhoneNumber := '+1 (919) 233-2232';
4.
Set the Call Parameters.
Example:
etLine1.Call.Parameters.Defaults := True
-or-
//This will cause the call to be made on the second address of the line
device
etLine1.Call.Parameters.Defaults := False
etLine1.Call.Parameters.AddressID := 1
5.
Call the etLine.Call.Dial method.
Example:
if not etLine1.Call.Active then
if etLine1.Call.Dial then
//Call is now dialing
else
//An error occured
-or-
Set the etLine.Call.Active property to True.
Example:
if not etLine1.Call.Active then
begin
etLine1.Call.Active := True;
if etLine1.Call.Active then
//Call is now dialing
else
//An error occured
The following is a basic example that does not utilize call parameters and assumes that the default property values:
etLine1.Call.Handle := 0;
etLine1.Call.PhoneNumber := '555-1212';
etLine1.Call.Dial;