v/mgetty questions.
Gert Doering (gert@greenie.muc.de)
Thu, 30 Sep 1999 19:39:54 +0200
Hi,
On Fri, Sep 24, 1999 at 05:53:59PM -0700, xy3@email.com wrote:
[..]
> >You can't, right now. The trick is (to wait for 1.1.22 or) to call the
> >cnd-program immediately, say by setting "rings 2", and then have the
> >cnd-program delay for 30 seconds or so, until the right RING count has
> >been reached... not really pretty, but will work.
> >
> >With 1.1.22 or 1.1.23, you can setup mgetty/vgetty to call cnd-program
> >immediately, and answer later.
>
> Will 1.1.22 be out any time soon?
Depends on the amount of e-mails I have to answer :-) (and the amount
of "real work, payed for" that I have to do). Most likely, not too
soon, maybe in 4-6 weeks or so.
> (and does 'call cnd-program immediately' mean
> after the 2nd ring?)
It will be called after each RING, with all the data available, and can
then return "call me again / reject call / accept call". Look for the
discussion about this in the mgetty list archives.
> I have a feeling that if I put rings 2 w/the delay in cnd-
> program it would still force mgetty to try and answer as soon as the delay was
> over (if cnd-program exit 0). If I had manually answered the phone it would
> interrupt the call.
Indeed. So what you'd need to do is have the cnd-program read the
RINGs, and count up to 5, or notice a timeout ("someone has picked up,
no more RINGs to follow") and return 0/1 accordingly. Not pretty, but
will work as a workaround.
> BTW, how do I turn off automatic sending of mail when a new fax has arrived?
set
notify ""
in mgetty.config
gert
--
Gert Doering
Mobile communications ... right now writing from *Braunschweig* :-))
... mobile phone: +49 177 2160221 ... or mail me: gert@greenie.muc.de