Jonathan H
2016-Nov-01 22:55 UTC
[asterisk-users] Is JSON a dialplan "thing" yet? (Asterisk 14)
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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20161101/fb4a5252/attachment.html>
Joshua Colp
2016-Nov-01 23:29 UTC
[asterisk-users] Is JSON a dialplan "thing" yet? (Asterisk 14)
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