|
|
|
|
|||||||||||||||||||||||||||
Requirements |
|||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||
Using This Sample Program |
|||||||||||||||||||||||||||
|
When this program starts it selects and attempts to active the first available TAPI device. Use the list box to select the desired device. Make a telephone call to the device. Once the CallerID information becomes available it will be displayed. If you are not getting caller ID information check this FAQ for more information. In most situations the CallerID information is delivered to the telephony device between the first and second ring. In this case the etLine.OnCallerID event will fire and the name and number will be displayed. In some cases the CallerID information may be available as soon as the call is offered to the application. For this reason the etLine.OnOffering event is used to check for the availability of the CallerID information by executing the etLine.OnCallerID event handler routine. This program does not answer and hang-up calls therefore it may take several seconds for the telephony device to signal that a call is gone after it is hung-up. If a new call comes in before the telephony device indicates that the previous call is complete then the CallerID information will not be reported properly. |
|||||||||||||||||||||||||||
Download this Sample Program |
|||||||||||||||||||||||||||
For use with TeleTools v3.7
|
|||||||||||||||||||||||||||
How this Sample Program Works |
|||||||||||||||||||||||||||
|
When the program starts the Form_Load event handler routine fires. The etLine control is enabled which allows the list of devices to be used to fill the Device combo box. The first device in the list is selected which causes the ComboDevice_Click event to fire. When the Device combo box is clicked the select TAPI line device will be activated. When a new inbound call is detected the etLine.OnOffering event will fire causing the etLine1_OnOffering event handler routine to be executed. This routine calls the etLine1_OnCallerID event. This is done because some telephony devices make the CallerID information available at the beginning of the call, in these cases the etLine.OnCallerID event may not fire. When the TAPI line device indicates that the CallerID information has changed the etLine.OnCallerID event will fire casing the etLine1_OnCallerID event handler routine to be executed. This routine checks the CallerID flags and displays the available information. When the application is closed the Form_Unload event handler routine is executed. This routine deactivates the TAPI line device.
|
|||||||||||||||||||||||||||
Release Notes |
|||||||||||||||||||||||||||
April 7, 2003Published |
|
|
||||
|
||||