Caller-ID
Gert Doering (gert@greenie.muc.de)
Thu, 26 Oct 1995 08:50:41 +0100
Hi,
Cliff Addy wrote:
> I'd like to use caller-id to control access to my system. I see that mgetty
> can do this in a way, but what I really need is to be able to make the number
> available to a program running after login. I want to record which number a
> call is coming from after allowing the call from any number. Is there any way
> I can make the number available, perhaps as an environment variable?
Not easily. You could grab it out of the mgetty logfile, or the syslog /
LOG_AUTH logfile. It's in the very last line, "caller=...".
gert
--
//www.muc.de/~gert
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-3545980 <---new!!! gert.doering@physik.tu-muenchen.de