On Thu, Sep 22, 2016 at 1:08 AM, wrote:
>
> You could probably also built a JSON array from looping through the avp
and store that as the value in the cache store.
Does that mean I need the json module? I didn't include the json module,
maybe I can try it the next time.
You could probably also built a JSON array from looping through the avp and
store that as the value in the cache store.
> On Sep 21, 2016, at 8:18 AM, xiaofeng wrote:
>
>
> On Wed, Sep 21, 2016 at 9:02 PM, Bogdan-Andrei Iancu
Hello,
The avp_db_query() stores the DB result (multiple rows with multiple
columns) into a set of AVPs (kind of an array). See
http://www.opensips.org/html/docs/modules/2.2.x/avpops.html#id293973
Using a while loop (see
http://www.opensips.org/Documentation/Script-Statements-2-2#toc3), you