Update directory.lua
This commit is contained in:
parent
2309833af1
commit
d8ecdaf503
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue