My CND program does not work

Gert Doering (gert@greenie.muc.de)
Sun, 6 Jun 1999 21:47:07 +0200


hi,

On Sun, Jun 06, 1999 at 09:27:56PM +0200, Thorbjoern List wrote:
> I now want to just log the call using the CND program entry in the mgetty.config. It looks like this:
> 
> 	# Called before answering the phone at all - return 0 accept, 1 reject
> 	cnd-program /usr/local/bin/check.cnd
> 
> but the vgetty never seems to call the program. I am using very simple perl:

Can we have a log file...?

> What am I doing wrong?

You're not sending a vgetty logfile showing the +/- 30 lines surrounding
the "waiting..." line just before the call comes in.

> I was planning to move the control over the calls to perl - is this then the
> 
> 	call_program
> 
> parameter in the voice.conf or is this also the above cnd-program?

No, that's call_program. cnd-program is called before the call is accepted
at all.

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