Solved

Playing waves thru the Modem.

Posted on 1998-09-22
2
331 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 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

742 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