From 10f460cfd29cc56eb7c454e2fb8c1dfd76992d81 Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Thu, 14 Jul 2016 20:33:54 +0300 Subject: [PATCH] Fix. Lua can not generate non CUSTOM event with subclass. (#1756) There 2 way. First one generate `MEMCACHE` event without subclass Second generate `CUSTOM` event with subclass e.g. `fusion::memcache` --- resources/install/scripts/resources/functions/cache.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/install/scripts/resources/functions/cache.lua b/resources/install/scripts/resources/functions/cache.lua index f84762ee48..fa88078bae 100644 --- a/resources/install/scripts/resources/functions/cache.lua +++ b/resources/install/scripts/resources/functions/cache.lua @@ -21,7 +21,7 @@ if not api then end local function send_event(action, key) - local event = freeswitch.Event("MEMCACHE", action); + local event = freeswitch.Event("MEMCACHE"); event:addHeader("API-Command", "memcache"); event:addHeader("API-Command-Argument", action .. " " .. key); event:fire()