ENV variables in external scripts
Hi,
I need to check an environmental varible with an external script.
For example to capture Calling-Station-Id and check it in an external
database using a perl script
# ../users
:
.
DEFAULT Auth-Type = None
Exec-Program-Wait = "/root/check.pl %i",
Reply-Message := "Valid Caller-Id, access granted ->
%{Calling-station-Id}",
Fall-Through = Yes
:
.
How could I call this ENV variable in my perl script ("/root/check.pl) ?
I unsuccessfully attempted the options given by ../docs/variables.txt.
Please help with the correct syntax.
Thanks in advance.
rsg
This archive was generated by a fusion of
Pipermail (Mailman edition) and
MHonArc.