callerid variable

"Daniel D. Barber" (dbarber@shutter.net)
Sat, 7 Nov 1998 03:19:34 +0100


Hi,

When mgetty/vgetty grabs the caller id and passes it to the cnd_program,
what variable does it use?  IE, when doing some shell programming with
the call_program that vgetty starts upon receipt of a call, how can I
refer to the callerid that the mgetty pulls?

thanks for your help,

Dan

PS. I have successfully written a series of simple shell scripts that
will act as a switchboard.  Depending upon the caller's callerid, the
switchboard will send it to different greetings -- including one which
will just hang up.  IE, you can personalize your messages to different
people.  If anyone is interested in this, please let me know.