"The Linux Gazette...making Linux just a little more fun!"


(?) The Answer Guy (!)


By James T. Dennis, tag@lists.linuxgazette.net
LinuxCare, https://www.linuxcare.com/


(?) ppp & voicemail

From Eric H. Matlis on Wed, 14 Jul 1999

Hi jim- I'm having a problem with my ppp/modem connections. I've recently added a voicemail service to the phone I use for ppp. When a new message is left of the system, the phone "beeps" several times when it is picked up. This beeping is interfering with my ppp scripts. I would like to know if there is a workaround for this- either to make pppd ignore the beeps, or to institute a time delay before dialing out, or something like that.

Thanks for you help
eric

(!) If the little beeps only occur when you first pick of the phone then modify your chat script to start with a few \d's (delays).
For example here is a simple chat script:
ABORT "NO CARRIER" ABORT BUSY
"" ATZ
"" \dATE1V1L0M0&C1&D2S7=45S0=0
OK-\dATE1V1L0M0&C1&D2S7=45S0=0-OK
ATDT374-5847
CONNECT ""
ogin: ppp
ssword: \qYouWish!\q
Change it to something like:
ABORT "NO CARRIER" ABORT BUSY
"" \d\d\d\d\d\d\d
"" ATZ
"" \dATE1V1L0M0&C1&D2S7=45S0=0
OK-\dATE1V1L0M0&C1&D2S7=45S0=0-OK
ATDT374-5847
CONNECT ""
ogin: ppp
ssword: \qYouWish!\q
... Read the chat man page for details.
pppd invokes chat scripts via directives in its options file(s) and on it's command line. The connect directive might look something like:
connect "/usr/sbin/chat -f /etc/ppp/chat.example"
You can add the -v option before the -f to make chat be "verbose" (then you can issue a tail -f command, in another window or on a different virtual console, to view the progress of the chat script as it occurs).
Hope that helps!


Copyright © 1999, James T. Dennis
Published in The Linux Gazette Issue 44 August 1999
HTML transformation by Heather Stern of Starshine Techinical Services, https://www.starshine.org/


[ Answer Guy Index ] 1 4 7 9
11 12 14 17
18 19 20 21 24 25 26
28 29 30 31 32 33 34
35 36 37 38 39 40 41
42 43 44 45 46 47 48


[ Table Of Contents ] [ Front Page ] [ Previous Section ] [ Next Section ]