Update directory.lua

This commit is contained in:
FusionPBX
2019-09-27 20:45:32 -06:00
committed by GitHub
parent fdf71d1f00
commit e4aba15a93

View File

@@ -731,6 +731,10 @@
<result status="not found" />
</section>
</document>]];
--set the cache
local key = "directory:" .. user .. "@" .. domain_name;
ok, err = cache.set(key, XML_STRING, expire["directory"]);
--freeswitch.consoleLog("notice", "[xml_handler] " .. user .. "@" .. domain_name .. "\n");
end
--send the xml to the console