Multiple Applications Sample Program

TeleTools

Use this sample program to test and understand how your telephony device deals with multiple TAPI applications accessing a common TAPI line device.

Requirements
Using This Sample Program
Download this Sample Program 
Release Notes

Requirements

The sample program contained in this download was created with Visual Basic 5.

ExceleTel TeleTools v3.6 or later and Visual Basic 5 or later are required to use this sample program.

Using This Sample Program

  1. Start two or more copies of the application.
  2. Using the TeleScope that is automatically displayed for each application, select the same line device for all copies of the application.
  3. Check the Active check box for all applications. This activates the selected line device by setting the etLine.Device.Active property to True.
  4. When a call comes in to the selected device the Answer button and Owner check box will become enabled. This is done in the etLine.OnOffering event handler routine.

    If the Owner check box is checked then no error will occur when the Answer button is clicked. If the Owner check box is not checked then this application is not an owner of the call. Click the Owner check box to set this application as an owner of the call before clicking the Answer button.

Download this Sample Program

For Use TeleTools v3.6 and above

File

Purpose

EXE & VB  - (9kb) Ready to run, plus VB5 project! 
Tell us what you need? Click here and tell us what you need!

 

Control

Description

etLine1 The etLine control
CommandAnswer Causes the etLine.Call.Answer method to be called.
CommandHangup Causes the etLine.Call.Hangup method to be called.
CheckDeviceActive Associated with the etLine.Device.Active property.
CheckCallOwner Associated with the etLine.Call.Owner property.
LabelCallerIDName Displays the CallerID Name information
LabelCallerIDNumber Displays the CallerID Number information

 

Event Handler Routine

Description

CheckDeviceActive_Click

Event Handler Routine for: CheckDeviceActive OnClickevent. Fires when DeviceActive check box is clicked. This causes the etLine.Device.Active property to be set. The value is then checked to verify that the change was successful.

CheckCallOwner_Click Event Handler Routine for: CheckCallOwner OnClick event. Fires when CallOwner check box is clicked. This causes the etLine.Call.Owner property to be set. The value is then checked to verify that the change was successful.
CommandAnswer_Click Event Handler Routine for: CommandAnswer OnClick event. Fires when Answer button is clicked. This causes the etLine.Call.Answer method to be called.
CommandHangup_Click Event Handler Routine for: CommandHangup OnClick event. Fires when Hangup button is clicked. This causes the etLine.Call.Hangup method to be called.
etLine1_OnCallerID Event Handler Routine for: etLine1 OnCallerID event. Fires when the the CallerID information is received. Updates the LabelCallerIDName and LabelCallerIDNumber labels with the etLine.Call.CallerID.Name and etLine.Call.CallerID.Number property values.
etLine1_OnConnected Event Handler Routine for: etLine1 OnConnected event. Fires when the current call is connected. Sets the Enabled property for the check boxes and buttons.
etLine1_OnIdle Event Handler Routine for: etLine1 OnIdle event. Fires when the current call no longer exists. Sets the Enabled property for the check boxes and buttons.
etLine1_OnOffering Event Handler Routine for: etLine1 OnOffering event. Fires when an incoming call is detected. Clears the CallerID labels, sets the Enabled property for the check boxes and buttons and sets the CheckBoxCallOwner value using the etLine1.Call.Owner property value.
Form_Load Event Handler Routine for: Form OnLoad event. Fires when the form is created. Displays the etLine.TeleSscope and sets the Enabled property for the check boxes and buttons.

 

Subroutine

Description

 

 

 

Release Notes

March 2002

Release Date