Re: mgetty counting rings
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:19 yS1 waiting for ``RING'' ** found **
05/07 09:46:22 yS1 waiting for ``RING'' ** found **
05/07 09:46:25 yS1 waiting for ``RING'' ** found **
05/07 09:46:28 yS1 waiting for ``RING'' ** found **
05/07 09:46:31 yS1 waiting for ``RING'' ** found **
05/07 09:46:34 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.
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: