orville@weyrich.UUCP (Orville R. Weyrich) (06/10/91)
I am running DOS MERGE on top of Microport UNIX System V/386 rev. 3 I would like to obtain or write a short program that can be invoked from a DOS command-line and/or a UNIX Bourne shell which will take as a single parameter a phone number. The program will then dial the phone using a Hayes-Compatible modem and when the phone rings (or better -- when it is answered) make the computer beep and turn the line over to the phone handset for voice communications. Any ideas on where to find such a program, or how to write the modem control script? -------------------------------------- ****************************** Orville R. Weyrich, Jr., Ph.D. Certified Systems Professional Internet: orville%weyrich@uunet.uu.net Weyrich Computer Consulting Voice: (602) 391-0821 POB 5782, Scottsdale, AZ 85261 Fax: (602) 391-0023 (Yes! I'm available) -------------------------------------- ******************************
spero@hpindda.cup.hp.com (Spero Kouloures) (06/14/91)
There are a bunch of PC "phone book" type programs. See your nearest bulletin board. I think a commercial program is available in Borland's Sidekick pacakge, and there is shareware from Metz. As far as writing your own all you need to do is: - open the modem file (COM1) - write the string ATDT phone_number ; The phone number will get dialed, when the dialing is complete the ";" will cause the modem to get off the line. You can pick up the handset and talk. This can obviously be made more robust by including modem control strings to reset the modem, set the appropriate level of echo and response codes and enable tone or pulse dialing. See a Hayes command reference manual. Regards, Spero Koulouras