Update directory.lua

This commit is contained in:
FusionPBX 2019-09-27 20:45:32 -06:00 committed by GitHub
parent fdf71d1f00
commit e4aba15a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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