|
-
Oct 17th, 2005, 10:07 PM
#1
Re: sending phone key tones after connecting using mscomm32.ocx
 Originally Posted by dglienna
Same error. Sound Card in Use.
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.
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.
 Originally Posted by dglienna
I was able to press keys on my cellphone and see the numbers in HyperTerminal, though. Didn't know I could do that. 
That's pretty cool, I have to try that too...
-
Oct 17th, 2005, 04:25 PM
#2
Re: sending phone key tones after connecting using mscomm32.ocx
Can the same be done with an ADSL Modem?
-
Oct 17th, 2005, 04:49 PM
#3
Re: sending phone key tones after connecting using mscomm32.ocx
I don't think it is a voice modem, nor does it support the AT command set.
This is only for analog modems.
-
Oct 17th, 2005, 05:57 PM
#4
Re: sending phone key tones after connecting using mscomm32.ocx
 Originally Posted by dglienna
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,
Your right, I didn't think the question tru long enough (doh!).
-
Oct 19th, 2005, 05:45 PM
#5
Thread Starter
Lively Member
Re: sending phone key tones after connecting using mscomm32.ocx
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 !
-
Oct 19th, 2005, 05:50 PM
#6
Re: sending phone key tones after connecting using mscomm32.ocx
 Originally Posted by mikepol
as far as wav sounds go, I still get that error that the sound card is being used.
Don't use the sound card !
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...
-
Oct 19th, 2005, 05:58 PM
#7
Thread Starter
Lively Member
Re: sending phone key tones after connecting using mscomm32.ocx
arrrrrr
you're right!
just tested it// works a treat!!!
*spins*
-
Nov 1st, 2005, 04:34 PM
#8
Thread Starter
Lively Member
Re: sending phone key tones after connecting using mscomm32.ocx
-
Nov 1st, 2005, 04:46 PM
#9
Re: sending phone key tones after connecting using mscomm32.ocx
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.
-
Nov 1st, 2005, 05:01 PM
#10
Re: sending phone key tones after connecting using mscomm32.ocx
 Originally Posted by moeur
Which modem did you buy?
AOpen FM56-PX 56K V.92 PCI Modem

 Originally Posted by moeur
Now I'd like to make seperate mailboxes and have different greetings for incoming calls depending on what the caller ID is.
Thanks for the idea 
 Originally Posted by moeur
Keep posting the code as you build it if you don't mind.
Sure, in this thread ? I think we should make a new thread for that, what do you think ?
Last edited by CVMichael; Nov 1st, 2005 at 05:17 PM.
-
Nov 1st, 2005, 05:06 PM
#11
Thread Starter
Lively Member
Re: sending phone key tones after connecting using mscomm32.ocx
I think we should make a new thread for that, what do you think
if you do, post a link to it here
-
Aug 5th, 2008, 03:00 PM
#12
New Member
Re: sending phone key tones after connecting using mscomm32.ocx
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|