Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Playing waves thru the Modem.

Posted on 1998-09-22
2
Medium Priority
?
334 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
mark2150 earned 400 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

636 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