[asterisk-users] Is JSON a dialplan "thing" yet? (Asterisk 14)

Joshua Colp jcolp at digium.com
Tue Nov 1 18:29:57 CDT 2016


On Tue, Nov 1, 2016, at 07:55 PM, Jonathan H wrote:
> I need to store some basic caller data in ASTDB - certainly doesn't need
> full blown mySQL.
> 
> There's 4 or 5 bits of info per caller, and I saw that there is a json
> entry in ASTDB for the endpoint.
> 
> Does that mean that there are accessible functions to deal with json now?
> I
> couldn't find anything in the docs.
> 
> If not, any other ideas for storing in DB other than just family/key?

JSON in AstDB is how the new sorcery data layer stores data there. It
serializes internal Asterisk data structures into JSON, and then back.
There's nothing currently available that I know of for JSON in the
dialplan.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list