[OpenSIPS-Users] Global Variables

Stanisław Pitucha viraptor at gmail.com
Sun Oct 4 19:01:10 CEST 2009


2009/10/4 Brett Nemeroff <brett at nemeroff.com>:
> I'm wondering if there is a way to use global variables?

$shv(...) does that:
http://www.opensips.org/html/docs/modules/1.5.x/cfgutils.html#id271355

> but I'm not sure if I'll have race conditions relying on that as I expect many processes
> to be accessing and updating the globals for every call.

If you're doing something especially tricky, you might consider
writing a module to do that... What is it exactly that you want to
achieve?

-- 
KTHXBYE,

Stanisław Pitucha, Gradwell Voip Engineer



More information about the Users mailing list