From owner-freebsd-questions Fri Nov 22 14:35:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA22518 for questions-outgoing; Fri, 22 Nov 1996 14:35:37 -0800 (PST) Received: from jack.colorado.edu (jack.Colorado.EDU [128.138.149.29]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA22508 for ; Fri, 22 Nov 1996 14:35:31 -0800 (PST) Received: from jack (localhost [127.0.0.1]) by jack.colorado.edu (8.7.6/8.7.3/CNS-4.0p) with SMTP id PAA24881; Fri, 22 Nov 1996 15:35:27 -0700 (MST) Message-ID: <32962AAE.78BF@Colorado.EDU> Date: Fri, 22 Nov 1996 15:35:26 -0700 From: "Mark O'Lear" Organization: University of Colorado X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.4 sun4m) MIME-Version: 1.0 To: Vlad Markov CC: questions@freebsd.org Subject: Re: Ridiculously long dial string References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. I don't know about the length, but most modern modems use an "=" sign in the dialing string to signify "wait for a dial tone", and a "," to signify "pause", so you could use 800xxxxxxx=0xxxxxxxxxx,,,xxxxxxxxxxxxx to do what you wanted. You might have to play with the number of commas to get the correct delay. -- Mark O'Lear \ e-mail: Mark.Olear@Colorado.EDU University of Colorado \ phone: (303) 492-3798 Telecomm. Svcs. (CB 313) \ fax: (303) 492-5105 Boulder, CO 80309 \