Re: mgetty counting rings
David Wright hat gesagt: // David Wright wrote:
> On Thu, 7 May 1998, Remco van de Meent wrote:
>
> > Is there a way to have mgetty (or something else) counting the number of
> > RING's it receives on the modem line? I want it to write the results with a
> > timestamp in a logfile, if possible.
>
> Every ring of my phone is timestamped in /var/log/mgetty/mg_ttyS1.log thus:
>
> 05/07 09:17:38 yS1 waiting...
> 05/07 09:46:19 yS1 waiting for ``RING'' ** found **
> 05/07 09:46:37 yS1 waiting for ``RING'' ** found **
> 05/07 09:46:40 yS1 send: ATA[0d]
>
> Or is it the precise number of rings that's important to you?
> I'm not convinced that the number of rings I hear in the earpiece
> precisely matches what's being "heard" and logged at the other end.
I often have lines like this in /var/log/mgetty/mg_ttyS0.log:
04/09 17:34:32 ##### phone stopped ringing (rings=2)
I think you should rais the debug level in
/etc/mgetty/mgetty.config
I have debug 8
--
<a href="http://www.einblick.de/">
Frank Barknecht Das Koelner Stadt- und Unimagazin
>-------------< </a>
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: