?
Solved

Playing waves thru the Modem.

Posted on 1998-09-22
2
Medium Priority
?
333 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

771 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