Hi,
Dialing the modem is easy. Examples abound.
The hard part is the remainder. Only a small percentage of modems (so
called "voice" modems) support playing a wav file -- or other audio format.
So, first you have to select a modem that actually will work. Next is
timing. Standard modems, even voice modems, do not provide feedback that
you can use to determine when something interesting has happened (such as a
person answering the phone, or responding to something that he/she has heard
that you "played").
IMO, you have your work cut out for you. Any advice that you receive should
point you to more sophisitcated hardware, such as that designed for IVR
(Interactive Voice Response) systems. A PC and a modem simply isn't up to
the task. Again, IMO.
Dick
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See
www.hardandsoftware.net for details and contact information.