mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update directory.lua
This commit is contained in:
@@ -731,6 +731,10 @@
|
|||||||
<result status="not found" />
|
<result status="not found" />
|
||||||
</section>
|
</section>
|
||||||
</document>]];
|
</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
|
end
|
||||||
|
|
||||||
--send the xml to the console
|
--send the xml to the console
|
||||||
|
|||||||
Reference in New Issue
Block a user