add built in ability for microsoft bing speech to text (#1960)

* add built in ability for microsoft bing speech to text

* move json.lua to lower case and more error checking in record_message

* Replaced Creative Commons json.lua with lunajson.lua which is MIT license

https://github.com/grafi-tt/lunajson/blob/master/LICENSE
This commit is contained in:
Chris Black
2016-11-03 15:11:21 -07:00
committed by FusionPBX
parent 06b94fb1e7
commit e7fae7587e
13 changed files with 1434 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
local newdecoder = require 'resources.functions.lunajson.decoder'
local newencoder = require 'resources.functions.lunajson.encoder'
local sax = require 'resources.functions.lunajson.sax'
-- If you need multiple contexts of decoder and/or encoder,
-- you can require lunajson.decoder and/or lunajson.encoder directly.
return {
decode = newdecoder(),
encode = newencoder(),
newparser = sax.newparser,
newfileparser = sax.newfileparser,
}