Solved

Playing waves thru the Modem.

Posted on 1998-09-22
2
329 Views
Last Modified: 2010-07-27
Hi, thanks for reading my qusetion, this is what I want you to answer:  What I want is a program that can call a phonenumber ( lets say 555-1234 ) and play a wave file to the person ( let say, gotmail.wav ), In other words, I want the person @ 555-1212 to hear gotmail.wav.  Thanks
Ian
0
Comment
Question by:Ditto2006
2 Comments
 
LVL 12

Accepted Solution

by:
mark2150 earned 200 total points
ID: 1436088
You can't make a modem "play" an arbitrary sound. It is designed to communicate with other modems and there's no way to make it "sing".

If you had your speakers wired to the phone you could record a .WAV of the # you wanted to dial and then play your desired .WAV, but you'd have no idea if the other person answered the phone or not.

You need special circuits/hardware to send speaker/voice onto the phone lines. You can program a modem to dial the # and then change the hook state, but you'd still have no way of coupling the speakers into the phone system.

Nice idea. Won't work.

M

0
 

Expert Comment

by:LMSuporte
ID: 1436089
Sorry, the answer above makes no sense.. You can make a modem play a wav files and the only way to do that is using TAPI ( telephony API). I do not use any OCx that do that, but if yousearch the web you will find...  You can try to use the DLLs , but it's not so easy cause you need to initialize the modem, allocate the line and several other methods before you can actually call someone phone and play the wav file.. You also need to have a voice modem.
 If you want to do that as a business I sugest to use DIALOGIC VOX- Boards (voice only and no modem), the cheapest one is the PROLINE 2V or DIALOG 4, that can play, record, dial, answer etc..  in several diferent ways. It comes with the API (for C an C++) only. But you can use several OCX that will deal with that, and use it in VB (any version). I do not recomend the use of OCx if you are  going to handle large ammount of boards...
  Anyway.. If you do not want to use you voice modem an ocx will be easier, but if you are  intereste in use the TAPI dlls check the following address:
http://www.amundsen.com/software/freestuff/tapivb5/tapivb5.htm
 I am making this an aswer... fell free to reject it and .. I am also trying to make a Modem play a file, but I have no time to spend doing that. BTW I use dialogic boards for proffesional applications, but I would like to do a DEMO of my software so that users could use their modem  instead of the Dialogic boards. As soon as I create my DEMO ( If i do) I will send you the source code .....

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
using Access 8 76
Determine Range to Select 5 53
How to Add / Edit Windows Menu 4 68
how to Classify of email (pdf attachments) 7 45
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question