[OpenSIPS-Devel] [ opensips-Patches-2105366 ] a patch that reads an environment variable to an avp

SourceForge.net noreply at sourceforge.net
Thu Sep 11 11:56:37 CEST 2008


Patches item #2105366, was opened at 2008-09-11 12:56
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2105366&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: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dror Wald (dror_wald)
Assigned to: Nobody/Anonymous (nobody)
Summary: a patch that reads an environment variable to an avp

Initial Comment:
I've made a patch in exec module (based on exec_avp code) that enables to read an environment variable and put its value inside an avp.

For example,

  exec_getenv("HOSTNAME",$avp(s:hostname));

Gets the value of environment variable HOSTNAME and put it in $avp(s:hostname).


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2105366&group_id=232389



More information about the Devel mailing list