[OpenSIPS-Users] global variables

Nick nikbyte at gmail.com
Tue Mar 20 19:54:14 CET 2012


Use m4 macro processor.
http://www.opensips.org/Resources/DocsTools

--
Nick


2012/3/20 Jan D. <j-doedel at zonnet.nl>

> Another day, another question:
>
> I like to declare some variables at the beginning of my script and use this
> at several places, the variables must be known till restart.
>
> something like ie:
>
> $my_eth0_interface = "89.1.2.3";
> $my_eth1_interface = "10.0.1.2";
> $my_default_timeout = 100;
> etc etc.
>
> I was looking at cache_store() but don't know what to use best in this
> case.
>
> Any advise how to accomplish this?
>
> Gr.
>
> Jan
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/global-variables-tp7389514p7389514.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120320/81019e24/attachment.htm>


More information about the Users mailing list