954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help me figure out how to play a .wav file over a voice modem

I'm looking for a little help with modem communications. I'm trying to get a .wav file to play through a modem. What I've got is a program that has a couple buttons on it. You enter a phone number or numbers into the text box at the top, click the 'dial next' button, and the modem dials the first number in the list. Once it's connected, you click one of the next 3 buttons to play a .wav file over the modem. The connecting part works fine, but playing the .wav has been giving me a headache all day. I don't know what to do with this thing.

I'm lost. I need a little direction here so I can try to figure out where to go with this. Anyone with a little knowledge and experience, please point me in the right direction.

This program is being developed for work, as we play with VoIP phone systems all day, and make a ton of test calls to make sure they have 2 way Audio, connect to the right numbers, etc. It sure would make life a ton easier if I could figure this thing out.

Any ideas you have, send them over, even if you think they're stupid. Rest assured, I've tried more ignorant ideas on this project than you can shake a stick at, so you can't possibly come up with a bad suggestion if you try.

Thanks in advance for your help.

Mike

mikecole79
Newbie Poster
8 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

Maybe you are looking for AT commands. Have a look at FAQ .

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

Don't need AT commands. I've been through the whole list of those. Apparently, I need to figure out how to do this through TAPI, or find a third party that supplies libraries that can handle what I'm wanting to do. You'd think with everything you can do in c# it would be a matter of something like

com.Play(string Soundfile, string OutputMethod, int Delay, bool Repeat);


Now why the heck can't it just be that easy?

Mike

mikecole79
Newbie Poster
8 posts since Feb 2010
Reputation Points: 10
Solved Threads: 0
 

I think this codeproject article might help you to solve your problem.

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: