[OpenSIPS-Users] global variable

Liviu Chircu liviu at opensips.org
Fri Sep 15 03:59:55 EDT 2017


Hi,

There is such a variable, $shv, exported by the cfgutils module [1]. 
However, for your use case, you might be better off using the local 
cache (cachedb_local module).

Regards,

[1]: 
http://www.opensips.org/html/docs/modules/2.4.x/cfgutils.html#idp5791440

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 15.09.2017 10:47, Dani Popa wrote:
> hi,
>
> there is any way to have a global variable over dialogs and scrips, 
> not depending by dialogs ?
>
> i need to check if a subscriber had calls in last amount of time(1 
> second, let's say) then don't engage it in next call. Working with 
> databases, looks is not good enough because of very hight call rate. 
> (updating, inserting into databse is show then call rate)
>
>
> Thanks,
> -- 
> Dani Popa
>
>
> _______________________________________________
> 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/20170915/285ed57c/attachment.html>


More information about the Users mailing list