Use m4 macro processor.<div><a href="http://www.opensips.org/Resources/DocsTools">http://www.opensips.org/Resources/DocsTools</a></div><div><br clear="all">--<br>Nick<br>
<br><br><div class="gmail_quote">2012/3/20 Jan D. <span dir="ltr"><<a href="mailto:j-doedel@zonnet.nl">j-doedel@zonnet.nl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Another day, another question:<br>
<br>
I like to declare some variables at the beginning of my script and use this<br>
at several places, the variables must be known till restart.<br>
<br>
something like ie:<br>
<br>
$my_eth0_interface = "89.1.2.3";<br>
$my_eth1_interface = "10.0.1.2";<br>
$my_default_timeout = 100;<br>
etc etc.<br>
<br>
I was looking at cache_store() but don't know what to use best in this case.<br>
<br>
Any advise how to accomplish this?<br>
<br>
Gr.<br>
<br>
Jan<br>
<br>
--<br>
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/global-variables-tp7389514p7389514.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/global-variables-tp7389514p7389514.html</a><br>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>