cnd-program doesn't work

Gert Doering (gert@greenie.muc.de)
Wed, 25 Nov 1998 09:40:55 +0100


Hi,

On Tue, Nov 24, 1998 at 10:11:51PM -0500, Paul Miller wrote:
> > Well, how many rings have you configured?  If you tell mgetty "wait for 99
> > rings", 5 won't be sufficient...
> 
> I had it configured for 10 rings.  You're saying that it won't run the
> program unless 10 rings have been reached?  I though the cnd-program was
> only to decide if the call should be answered or not and the rings was
> for went mgetty tries to answer the phone.

mgetty (up to 1.1.19) will wait for the number of RINGs, then look at the
caller ID file, then run cnd-program, and then answer the phone (or refuse
the call).

This is in most circumstances the correct solution - if you want to wait
for 10 RINGs, and the phone stops after 3 RINGs, there is no need to run
an external program if you're not going to answer *anyway*, is it? - In
your scenario, this won't work, but 1.1.20 will use a different approach
for exactly that reason...

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