Solved

Playing waves thru the Modem.

Posted on 1998-09-22
2
324 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now