Add. Lua part of fax_queue.

To poll active task you can run `luarun fax_queue_poll_once.lua`
This commit is contained in:
Alexey Melnichuk
2015-11-18 16:27:55 +03:00
parent 8abdbf3f0b
commit 871b632d49
11 changed files with 1340 additions and 85 deletions

View File

@@ -8,7 +8,13 @@
require "resources.functions.trim";
local api = api or freeswitch.API();
local api = api
if (not api) and freeswitch then api = freeswitch.API() else
api = {}
function api:execute()
return '-ERR UNSUPPORTTED'
end
end
local function send_event(action, key)
local event = freeswitch.Event("MEMCACHE", action);