Solved

How to get a modem to answer the phone and play a WAV file...

Posted on 2004-08-09
11
331 Views
Last Modified: 2011-10-03
Hi,

I wish to develop an app that dows the following:

  1. Answer the phone (via a Modem)
  2. Play a WAV file to the person on the other end of the line
  3. Listens for DTMF tones to recognise the number(s) entered

Any ideas???

Thanks,

James
0
Comment
Question by:jatkin
11 Comments
 
LVL 22

Accepted Solution

by:
DarkoLord earned 500 total points
ID: 11751297
Hi, try looking at this project... It has all the things you want...

http://www.geocities.com/sfrare/vbtapi3.html

Darko
0
 
LVL 7

Expert Comment

by:_agj_
ID: 11751340
there is a ms modem control supplied in vb....
0
 
LVL 4

Author Comment

by:jatkin
ID: 11751933
Hi DarkoLord...

This looks like exactly what I am after, however, I have a Lasat 560 Voice modem and it does not come up in the list of available devices??  
Any ideas?

James
0
 
LVL 22

Expert Comment

by:DarkoLord
ID: 11752068
Maybe it doesn't support audio (TAPIMEDIATYPE_AUDIO)... Try to debug the FilleDeviceList function in dlgsetup form and see where it filters your device...

Darko
0
 
LVL 5

Expert Comment

by:amit1978
ID: 11752347
I also looking for the same answer.

Thanks DarkoLoard


0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Author Comment

by:jatkin
ID: 11760096
Hi...

I've been having real problems with the Lasat Modem, so I've switched to a US Robotics Sportster Voice 33.6...

It is working better than before, but now when I run the sample software, the modem answers the call and instead of playing the message, it appears to overwrite the GREET.WAV file with one minutes worth of silence!!!

As far as the hardware is concerned, I am a little confused that the Wave Device driver for the modem is installed as a "Unimodem Half-Duplex Audio Device"

I believe that this is a reincarnation of the Wave device installed for the Lasat, but XP won't let me install the correct driver!

Don't know if this is the cause, but I thought it would be worth mentioning....

Any ideas?

James
0
 
LVL 22

Expert Comment

by:DarkoLord
ID: 11761045
Hmm you can try some of the answering machine programs that can be found on www.download.com (search for "answering machine") so you can see if it's a hardware/driver or software problem

Darko
0
 
LVL 4

Author Comment

by:jatkin
ID: 11791810
Hi,

Ok, I now have a nice shiny new Data/Voice/Fax modem...

Still get no selectable modems in the list of devices????  I've checked out the 'FillDeviceList' and I get the following results for objCrtAddress.ServiceProviderName:

   unimdm.tsp
   kmddsp.tsp
   kmddsp.tsp
   ndptsp.tsp
   ndptsp.tsp
   ipconf.tsp
   h323.tsp

Any ideas where my modem is hiding!!!!!!!

I have tried the software that comes with the modem and it answers the phone, plays a message and records the caller...

Well that's Friday 13th for you...  :-)
0
 
LVL 4

Author Comment

by:jatkin
ID: 11817836
I have tried using TeleTools and I get some success with it.  I have modified the DialAnswer example project and I get somewhere with the project...

I would still like to do this without the need to shell out $$$ for a control - allbeit a pretty nice one!

Any other suggestions would be appreciated...
0
 
LVL 22

Expert Comment

by:DarkoLord
ID: 11859882
Hmm... try using the unimdm.tsp to access the modem...

Darko
0
 
LVL 4

Author Comment

by:jatkin
ID: 11940278
Hi again...

Right, I have just purchased a Creative ModemBlaster Serial to see if it is better at the job...
Indeed it is!!!  Looks like the world of TAPI and Voice Modem devices is going to be a world of hurt!!!

Anyway, my problem appears to be pretty much resolved. Thanks for the help...

James
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

932 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

14 Experts available now in Live!

Get 1:1 Help Now