[OpenSIPS-Users] global variables

Jan D. j-doedel at zonnet.nl
Tue Mar 20 16:38:40 CET 2012


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.



More information about the Users mailing list