|
|
Click here for more information about Voice Modems.
Development
Environment Technical Information
|
|||||||||||||||||||||||||||||||||||||||||||||
Requirements |
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
Using This Sample Program |
|||||||||||||||||||||||||||||||||||||||||||||
There are two ways to join a call; dialing an "@" called Quiet Answer or a flash "!". Each modem is different and one method may work better than the other. For example when using the Zoom voice modem ExceleTel used to create this sample program we found that the Flash worked better, there was only a 4 second delay. Using the Quiet Answer option there was a 10 second delay as it worked through all of the AT commands necessary to join the call. Double click on any of the three TeleTools controls to display their TeleScope's! If you can't join the call and see a "no dialtone" error in the etLine log, you will need to make sure that the "wait for dialtone" box is unchecked in the modem properties. You can change the modem properties by going into the phone and modem options in the control panel, selecting your modem, and clicking on the properties button. NOTE: This may not work on all modems or will require making changes to an incomplete INF file used to install the modem. |
|||||||||||||||||||||||||||||||||||||||||||||
Download this Sample Program |
|||||||||||||||||||||||||||||||||||||||||||||
For Use TeleTools v3.7
|
|||||||||||||||||||||||||||||||||||||||||||||
How this Sample Program Works |
|||||||||||||||||||||||||||||||||||||||||||||
|
This sample program uses the etLine.CallDial method to send a phonenumber to a modem which is already on a call placed external to this program. When you set the modem to not wait for a dialtone before dialing and set the Phonenumber to "@" or "!", depending on the modem, checking the record or play checkboxes will dial the number if you aren't already connected and perform the play or record function using etPlay and etRecord. With modems, the etLine.CallDial method tells the TSP, in this case UnimodemV, to dial the phone. Unimodem then looks in the registry to see what is in the VoiceDial and VoiceAnswer sections that were placed there at install time by the manufacturer's INF file. It then sends the AT commands placed there to the modem. The important AT command is the one that issues the dial string for the modem. When we send the @ or the ! symbol, we are telling the modem to go off-hook instead of dialing a number. We then use the etPlay and etRecord components to record the conversation and play it back. In your own program, you can select any wave file you like to be played. In this way, you can use a program like this to record conversations such as logging client permission to join your service, or play demo wave files over a phone line during a conversation such as music files, samples, or pre-recorded information.
|
|||||||||||||||||||||||||||||||||||||||||||||
Release Notes |
|||||||||||||||||||||||||||||||||||||||||||||
May 5, 2003Published |
|
|
||||
|
||||