[OpenSIPS-Devel] [ opensips-Feature Requests-3002567 ] access to environment and command line arguments from script
SourceForge.net
noreply at sourceforge.net
Mon May 17 09:05:18 CEST 2010
Feature Requests item #3002567, was opened at 2010-05-17 11:05
Message generated for change (Tracker Item Submitted) made by vitspec
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=3002567&group_id=232389
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Victor Gamov (vitspec)
Assigned to: Nobody/Anonymous (nobody)
Summary: access to environment and command line arguments from script
Initial Comment:
For example all OPENSIPS_* environmet variables may be accessible as $env[].
All arguments passed as, for example, -o "arg1=var1 arg2=val2" ay be accessible as
$argv[arg1] and $argv[arg2]
It may be useful for example to pass IP-address of upstream provider to set $du or at other situations without using M4.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086413&aid=3002567&group_id=232389
More information about the Devel
mailing list