[OpenSIPS-Users] acc db_extra not allowing JSON variables

Brett Nemeroff brett at nemeroff.com
Wed Jan 9 19:20:46 CET 2013


Hey All,
I'm trying to add $json variables to db_extra. I'm 100% sure the variables
are set as I'm using them all over my script. However, when acc wants to
write, I get errors like this:


Jan  9 18:10:52 development /usr/local/sbin/opensips[10469]:
ERROR:json:pv_get_json: Variable named:cdata1 not found

Jan  9 18:10:52 development /usr/local/sbin/opensips[10469]:
ERROR:acc:extra2strar: failed to get 'element'

Like I said, I'm 100% sure the variable is set: $json(cdata1/element)

It's almost like it just doesn't support $json or that it's "out of scope"

Thanks!
-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130109/b7adf048/attachment.htm>


More information about the Users mailing list