[OpenSIPS-Users] Hash like structure

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Dec 4 12:06:42 CET 2012

Hi Brett,

if you simply want to do counters, in 1.9 you can do dynamic statistics 
from script. Simply do :


Bogdan-Andrei Iancu
OpenSIPS Founder and Developer

On 12/03/2012 10:09 PM, Brett Nemeroff wrote:
> Hello All,
> I was wondering if anyone had a clever way of doing a "hash" inside of 
> the scripting. What I'd really like to be able to do is something like 
> this:
> $(avp(code_counter)[$(<reply>rs)])++
> I think I could use the JSON module do to this, but I was hoping to 
> find a more lightweight way to do it.
> Thanks,
> Brett
> _______________________________________________
> 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/20121204/0ca6fb33/attachment.htm>

More information about the Users mailing list