Can the same be done with an ADSL Modem?
Printable View
Can the same be done with an ADSL Modem?
I don't think it is a voice modem, nor does it support the AT command set.
This is only for analog modems.
G'Day David,Quote:
Originally Posted by dglienna
Your right, I didn't think the question tru long enough (doh!).
The second command ERROR'd, I dialed the number, typed AT+VTX, got the CONNECT, and tried to send Asterisk.wav
Same error. Sound Card in Use.Quote:
AT+FCLASS=8
AT+VSM=0
AT+VRX ' this is to receive... I did not test for transmit yet...
I was able to press keys on my cellphone and see the numbers in HyperTerminal, though. Didn't know I could do that. :)
The sound you get is as data, through the comm port. So if you do this with HyperTerminal, then you get the sound in the HyperTerminal.Quote:
Originally Posted by dglienna
Just type those commands in the HyperTerminal, type the AT+VRX command, so you receive sound (to visually see the data in the hyper terminal).
I'm just trying to figure out how to save that data as wav (maybe). And when I do figure it out how to read the sound, then I'll try playing the sound.
Remember, you don't use the sound card... you read/write on the comm port.
I don't know why you have the option in the sound properties, that part doesnot makes sence to me anymore.
That's pretty cool, I have to try that too...Quote:
Originally Posted by dglienna
I was calling my cellphone from my laptop, hoping to hear the wave file in the cellphone. I thought selecting modem output would do it, but apparently not.
I wasn't trying to receive in Hyperterminal. (also had trouble hanging up. had to close HyperTerminal)
Did you guys get it to work ?
Cuz I can't... and I blame it on the modem.
When I give the command AT+VSM=? I only get 4 options. And all of them seem to be encoded somehow.
When I try to play the recorded/saved sound from the modem, all I get is weird/distorted noises.
I don't have an option to record as plain wav !
I have to return the modem back, and buy a better one. This one sucks !
Edit And it's Half-Duplex ! besides that I have only 4 options for AT+VSM=? command !
I only got as far as playing the dial tones using at+vts=<number>
as far as wav sounds go, I still get that error that the sound card is being used. haven't been able to get around it.. it's quite frustrating. . It coud be the modem, but I've tried a few different ones now with the same result.. I'm heading down the road of sticking a speaker in the headset's microphone and playing the sound down the line that way... but i'm sure there HAS to be a way to do it as it's meant ! :confused:
Don't use the sound card !Quote:
Originally Posted by mikepol
After you issue the AT+VSM=# command, you read the sound from the COMM port, your not using the sound card at all....
Just give these commands in the HyperTerminal
AT+FCLASS=8
AT+VSM=0
AT+VRX
And you will see that right after the AT+VRX you will get a "CONNECT" message then you will see a LOT of "garbage" data, that's actually the sound that comes from the line...
arrrrrr
you're right!
just tested it// works a treat!!!
*spins*
For those of you who are still trying to get this to work (like me):
I found out that for some modems, there is an extra command you have to give to enable sound; it's AT+VLS
I bought a new modem (full-deplex, the old one was half-duplex), and for this modem, I have to give the following commands:
AT+FCLASS=8
AT+VLS=1 <- new command
AT+VSM=0
AT+VRX <- to receive sound
<- here, read the sound from the comm port
If you do: AT+VLS=?
You will get a list, kind of like the command AT+VSM=?, and you have to choose one from the list, for my modem 0 does not work... 1 works, and I did not try the others...
Now I can finally start programming on my own ansering machine !
good stuff!!
Which modem did you buy?
I was thinking of getting one to build an answering machine too.
I long ago wrote some code to get the caller ID string and announce the caller over the PC speakers. I used an access database to store a phone book and lookup table for incoming calls.
Now I'd like to make seperate mailboxes and have different greetings for incoming calls depending on what the caller ID is.
Keep posting the code as you build it if you don't mind.
AOpen FM56-PX 56K V.92 PCI ModemQuote:
Originally Posted by moeur
http://img.ncix.com/images/8589-l.gif
Thanks for the idea :DQuote:
Originally Posted by moeur
Sure, in this thread ? I think we should make a new thread for that, what do you think ?Quote:
Originally Posted by moeur
if you do, post a link to it here :)Quote:
I think we should make a new thread for that, what do you think
Hello to you all,
Right now, I want to make a telephony software, and I tried almost everything that you all said, but with out anything working out.
I saw what CVMichael, and I really liked all his posts, but the problem is I can't get things to work.
Right now, my voice modem can call any mobile or land-line easily, but the problem is I can't hear the voice of the ringing on the SPEAKERs at all, I tried to change the output sound to Modem#0 Line PlayBack, but things didn't work out.
Here is my code:
Code:MSComm1.Output = "AT+FCLASS=8" & vbCr
MSComm1.Output = "AT+VRX" & vbCr
MSComm1.Output = "AT+VTX" & vbCr
MSComm1.Output = "ATD0123686884" & vbCr
This thread has progressed quite a bit since the post that's quoted above, so if what I'm going to say has been covered already then just ignore it. Anyway, In order to send audio down the Tel line (after the number has been dialed) you should be using the Semicolon AT command modifier. Using the semicolon instructs the modem to remain in Terminal Mode after dialing the number.Quote:
Originally Posted by mikepol
Code:'Wait for dial tone & dial the number using DTMF. Stay in (;)Terminal Mode
MSCommSendAlarm.Output = "ATDTW" & txtNumToDial & ";" & Chr(13)