mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-19 15:02:14 +00:00
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:
11
resources/install/scripts/resources/functions/lunajson.lua
Normal file
11
resources/install/scripts/resources/functions/lunajson.lua
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user