[OpenSIPS-Devel] OPENSIPS code contribution - a patch that reads an environment variable to an avp

Dror Wald dror at jajah.com
Mon Sep 8 11:12:51 CEST 2008


Hello,

I've made a patch (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).

Would you like to include this patch in the opensips code?
If so, is the "exec" module a good place to put it?

Comments are welcome.

Dror Wald
A developer, VoIP team, Jajah Inc
E-mail: dror at jajah.com<mailto:dror at jajah.com>





 
 
************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/devel/attachments/20080908/59281473/attachment.htm 


More information about the Devel mailing list