Fixed scripts to get multiserver memcache working (#1795)

This commit is contained in:
DigiDaz
2016-08-04 18:40:36 +01:00
committed by FusionPBX
parent 28c59d4eec
commit 98a184c835
3 changed files with 189 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ if not api then
end
local function send_event(action, key)
local event = freeswitch.Event("MEMCACHE");
local event = freeswitch.Event("CUSTOM", "fusion::memcache");
event:addHeader("API-Command", "memcache");
event:addHeader("API-Command-Argument", action .. " " .. key);
event:fire()