Making a phone call?
Gert Doering (gert@greenie.muc.de)
Mon, 30 Nov 1998 22:02:16 +0100
Hi,
On Mon, Nov 30, 1998 at 03:51:14PM -0500, Gilles Labrecque wrote:
> Here in the attachement file is a complete log of what happened today
> November 30 at 14h36 and 14h40
> when the modem answered 2 outgoing phone calls in a row.
> Hope you will understand spmething?
Now let's see...
> 11/30 14:36:00 yS1 waiting for line to clear (VTIME), read:
> 11/30 14:36:01 yS1 removing lock file
> 11/30 14:36:01 yS1 waiting...
Modem initialized fine, now waiting for a "RING" message from modem.
> 11/30 14:36:38 yS1 select returned 1
> 11/30 14:36:38 yS1 checking lockfiles, locking the line
"something happened".
> 11/30 14:36:38 yS1 makelock(ttyS1) called
> 11/30 14:36:38 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
> 11/30 14:36:38 yS1 lock made
"it was not a dialout, must be an incoming call"
> 11/30 14:36:38 yS1 vgetty: number of rings (3) was set directly
> 11/30 14:36:38 yS1 vgetty: decremented number of rings (3) by 0
> 11/30 14:36:38 yS1 wfr: waiting for ``RING''
> 11/30 14:36:38 yS1 got: [0a][0d][0a]RING[0d]
The modem says "RING".
> 11/30 14:36:38 yS1 CND: RING
> 11/30 14:36:38 yS1 wfr: rc=0, drn=0
> 11/30 14:36:38 yS1 wfr: waiting for ``RING''
> 11/30 14:36:38 yS1 got: [0a][0d][0a]RING[0d]
> 11/30 14:36:39 yS1 CND: RING
Again.
> 11/30 14:36:39 yS1 wfr: rc=0, drn=0
> 11/30 14:36:39 yS1 wfr: waiting for ``RING''
> 11/30 14:36:39 yS1 got: [0a][0d][0a]RING[0d]
> 11/30 14:36:46 yS1 CND: RING
And again.
> 11/30 14:36:46 yS1 wfr: rc=0, drn=0
> 11/30 14:36:46 yS1 reading ring_type ring configuration from config file /usr/local/etc/mgetty+sendfax/voice.conf
> 11/30 14:36:46 yS1 reading /usr/local/etc/mgetty+sendfax/voice.conf...
> 11/30 14:36:46 yS1 conf lib: read: 'part generic'
... so vgetty will pick up the phone.
--> modem problem. The modem signals "the phone is RINGing", and there
isn't *anything* vgetty can do to decide whether that was an outgoing or
incoming call. So check with your modem support whether they have some
ideas why this is happening.
It is NOT a "linux problem", the same thing (unsolicited RING messages)
will happen if you go to "Hyperterm" in Win95 and just talk to the modem.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de