From owner-freebsd-questions Sun Nov 29 17:31:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28827 for freebsd-questions-outgoing; Sun, 29 Nov 1998 17:31:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from whiteshadow.dyn.ml.org (derby.JSP.UMontreal.CA [132.204.45.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA28822 for ; Sun, 29 Nov 1998 17:31:40 -0800 (PST) (envelope-from spidey@whiteshadow.dyn.ml.org) Received: from localhost (spidey@localhost) by whiteshadow.dyn.ml.org (8.8.8/8.8.8) with SMTP id UAA01995 for ; Sun, 29 Nov 1998 20:31:59 -0500 (EST) (envelope-from spidey@whiteshadow.dyn.ml.org) Newsgroups: comp.unix.bsd.freebsd.misc Date: Sun, 29 Nov 1998 20:31:54 -0500 (EST) From: Spidey Reply-To: Spidey To: freebsd-questions Subject: Dialing interactively through /dev/modem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi everybody! I'm trying to use my modem to fetch my messages on a remote electronic answering machine. It is a service from my phone company which takes messages when the line is busy or when there's no one home, a normal answering machine, for all that matters. The only thing is that I must dial a number (*98) and a numeric password in order to get to a virutal menu where I must enter number on the phone in order to listen to different messages. This is the basic principle of the thing. What I want to do is to be able to dial the number and the password automatically, and then enter some numbers as the machine talks. I know that I can do something like: echo "atdt*98,,,,PASSWORD" > /dev/cuaa2 if /dev/cuaa2 is my modem. I tried it, it works. But when the number is dialed and the password entered, all subsequent entry will hang up the line! So how can I dial other numbers after? I know this is not FreeBSD specific, but since Windoze modems and manuals will only tell me to buy this and that piece of junk (read: software), I do not see a lot of alternatives... Ultimatly, I would like this little experience to lead me to a phone-simulation program for voice-capable modems... Thanks for any hint! Spidey How 'bout a little ride through your own world? http://www.JSP.UMontreal.CA/~beaupran/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message