|
|
Click here for more information about etAutoAnswer.
Development
Environment Technical Information
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Requirements |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Using This Sample Program |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Select your TAPI telephony device from the dropdown combobox and check the active checkbox to activate it. Enter the number of rings upon which you wish to have TeleTools automatically answer the call for you. For example, with the default of 3 rings, the call will answer after the third ring. See if you can hear what happens when you connect. You can watch all the events and properties display in the log which will tell you a lot about your device and how to write your own program to do the same thing. The line config button will display the TSP configuration dialog box for your device and the TeleScope button will popup our TeleScope diagnostic tool. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Download this Sample Program |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For Use TeleTools v3.7
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
How this Sample Program Works |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
In the Form_Load event handler, TeleToos finds your TAPI devices and places them in the combobox with the etLine1.DeviceList property. When you check and uncheck the Active checkbox, we activate and deactivate your device with the etLine1.DeviceActive property. The Call Progress log window displays our events, methods and properties as they are used and shows the progress of your call from offering to ringing, connected to disconnected. In the etLine1_OnRing event handler, we use our count property to check the number of rings and when it reaches the number you select, we issue the etLine1.CallAnswer method to answer the call and return whether it was successful or not. When we answer the call, the etLine1_OnConnected event handler does a little something with the etLine1.CallSendDigits method over the phone line to let you know it's connected. When you are finished with the call or when the remote party hangs up, thereby firing the etLine1_OnDisconnected event, we execute the etLine.CallHangup method to terminate the call. We then report the etLine1.CallEnd event and the etLine1.OnIdle event to let you know that the call is over and you can accept another call
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Release Notes |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
April 30, 2003Published |
|
|
||||
|
||||