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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Sep 9 10:09:54 CEST 2008


Hi,

Yes, it is the proper place - please upload the patch on the tracker for 
reviewing.

Thanks and regards,
Bogdan

Dror Wald wrote:
>
> 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.
> ************************************************************************************
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list