From owner-freebsd-questions Fri Nov 22 21:06:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA09416 for questions-outgoing; Fri, 22 Nov 1996 21:06:51 -0800 (PST) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA09409 for ; Fri, 22 Nov 1996 21:06:42 -0800 (PST) Received: from localhost (localhost.Stanford.EDU [127.0.0.1]) by andrsn.stanford.edu (8.7.5/8.6.12) with SMTP id VAA02937; Fri, 22 Nov 1996 21:00:22 -0800 (PST) Date: Fri, 22 Nov 1996 21:00:20 -0800 (PST) From: Annelise Anderson To: Vlad Markov cc: freebsd-questions@freebsd.org Subject: Re: Ridiculously long dial string In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 22 Nov 1996, Vlad Markov wrote: > I can connect to the network at work via user ppp. This is a toll call, so I > got a Corporate Telephone credit card. To use it I must: > 1. Enter 800xxxxxxx to access some phone network > 2. wait for the dial tone > 3. Enter 0XXXXXXXXXXX to get to the number I really want > 4. Wait a little bit > 5. Enter the credit card number and pin. > > I can't figure out how to do this. My first attempt was to put it in the dial > string but the number was too long and the timing became incorrect. > > I read about "chat", if that is my solution, I don't understand how to > implement it. Perhaps the modem will not accept a string as long as the one you need. I had this problem with a modem in a portable, dialing from either OS/2 (a REXX script) or Windows 3.1 (trumpet). I had to divide the number into two or three pieces and assign them variable names, then tell it to dial each of the pieces. This did work, but of course the scripts are in different languages from the one you need to use. Annelise