discrepancy in ringback doc/code
"Peter T. Breuer" (ptb@it.uc3m.es)
Sun, 14 Sep 1997 12:26:44 +0200
"A month of sundays ago Gert Doering wrote:"
>
> > > again in the next <t> seconds for mgetty to pick
> > > up. If no call comes, mgetty will exit.
> >
> > in addition to the timeout discrepancy (30 vs 17 in the code) i just noted,
> > i'm wondering why there is an extra timeout value at all? why not just
> > wait <t> seconds after the last RING is noted?
>
> How do you know that it was the *last* RING? This is what the 17 seconds
> are for -- make sure that you know that the other end has hung up.
You know when the other end has hung up after only 6s without a
ring after at least the first ring and anyway you could just tell mgetty
to go into ringback mode when it receives say 3 rings (RINGS = 3)
and then come out of ringback mode when it receives a next ring within
TIMEIN seconds and then stop waiting after TIMEOUT seconds have elapsed
without a ring. This requires TIMEIN and TIMEOUT configuration variables.
Set TIMEIN=6s (or 30s?) by default and you have backward compatibility.
The present system is uncomfortable for the configurer without any
reason for being so. I don't like it at all. It is particularly galling
to not be able to call back within 15s because that is about how long
it takes me to hangup and press redial and have the dial tones emitted.
I shouldn't have to hold my breath and count slowly to 20 in this day
and age.
> This is done on purpose, to avoid false alerts if you get "normal" calls
> on that line as well.
There are much better ways to achieve this - that was the point of the
message quoted, I believe! Please change the mechanism - to ease my
nerves. All you need is one configuration variable.
> 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-3545980 gert.doering@physik.tu-muenchen.de
>
---------------------------------------------------------------------
Peter T. Breuer MA CASM PhD (Ing.), Prof. Asoc.
Area de Ingenieria Telematica E-mail: ptb@it.uc3m.es
Dpto. Ingenieria Tel: +34 1 624 99 53
Universidad Carlos III de Madrid Fax: +34 1 624 94 30/65
Butarque 15, Leganes/Madrid URL: http://www.it.uc3m.es/~ptb
E-28911 Spain
.