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

--
Nick


2012/3/20 Jan D. <j-doe...@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@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to