vgetty - off hook after 1st ring

Gert Doering (gert@greenie.muc.de)
Thu, 9 Apr 1998 10:13:52 +0200


Hi,

Erik Corry wrote:
> In article <m0yN2bo-000131C@greenie.muc.de> you wrote:
> > Jan Kasprzak wrote:
> >> 	I wonder why the vgetty refuses to pick up the phone before
> >> the second RING. 
> 
> > Show the log file.
> 
> I get this too:
> 
> 04/07 14:39:54 yI0  waiting...
> 04/07 14:45:39 yI0  vgetty: number of rings (1) too small, reseting to 2
> 04/07 14:45:39 yI0  waiting for ``RING_'' ** found **
> 04/07 14:45:39 yI0  waiting for ``RING_'' ** found **
> 04/07 14:50:03 yI0  reading ring_type ring configuration from config file /etc/m

Good question.   I've just checked this in the source, voice/vgetty/rings.c, 
and it contains the comment:

 *
 * - Third, if the number of rings is less than 2 it is set to 2.
 *

I'm not sure why Marc implemented it that way.  You need two RINGs if you
want to use CallerID (because the data is delivered between the two RINGs
and you don't get it if you pick up immediately after the first), maybe
that was the reason.

Ask Marc when he's back from vacation ;-)

> The rpm is mgetty-voice-1.1.9-5

If you use that on RedHat 5.0, please upgrade to 1.1.14, as 1.1.9 (unless
patched) doesn't work fully in combination with GNU libc2.

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