Sick of being asked about .wav files and modems?
Posted on 2004-03-24
(There is a question here, please bear with me.)
After hours of searching online, there seems to be a consensus that you CAN dial a telephone number from your computer, play a .wav file, and have the person on the receiving end hear it -- and there appears to be two methods to do this:
a) Software Solution.
Programs like Extra Dialer Pro, CallPad, pc-to-phone, and NetMeeting do it. The modem needs to be a voice modem. The programs get the modem to recognize the .wav format, then convert it into the modem's own file type in order to play it over the (analog) telephone lines.
b) Hardware Solution.
Involves hooking the output of the computer speaker to the microphone of the phone, through an isolated circuit (since telephone regulations forbid loafing the power from the lines, and also if the telephone rings, that voltage will fry the sound card). I found an "isolated telephone interface" on Google that will probably do it.
So, what do I need to know?
I want the software solution, but dumbed down -- the basic AT commands and the order in which they should be written.
Just so you know where I'm coming from, I've included the following:
I'm using Tcl (Tool Control Language) as a GUI to connect to the modem and convert this file and play it. I don't want to have to call a program to do it for me, although it would be nice to interface with something like Extra Dialer Pro, considering it does exactly what I want (and also it's free!).
This is what I have so far, based on another guy in here who said you can set the FCLASS=8 for voice, then call the number, then have VLS=3 for setting the "output to your speaker and your input to your mic."
set serial [open com4: r+]
fconfigure $serial -mode "9600,n,8,1"
fconfigure $serial -blocking 0 -buffering none
puts -nonewline $serial "AT+FCLASS=8;\r"
puts -nonewline $serial "ATDT 9, (555) 555-5555; \r"
puts -nonewline $serial "AT+VLS=3;\r"
# play message to machine
When I go to dial the number, it says NO CARRIER. (Tcl people: Should fconfigure have -translation? -encoding?) Another person on here in another question suggested using vgetty, but that looks like it only works with Linux -- I want a Windows-friendly solution (2k,XP). I've also looked at TAPI but that confuses me even more. Surely there is a simple procedure??
I just want a straight answer. Please.