Change directory hostname to switchname which is a little more flexible.

This commit is contained in:
markjcrane 2015-08-22 23:25:27 -06:00
parent c7b8d99d1b
commit 1b68a563df
1 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@
end
--get the caller hostname
local_hostname = trim(api:execute("hostname", ""));
local_hostname = trim(api:execute("switchname", ""));
--freeswitch.consoleLog("notice", "[xml_handler-directory.lua] local_hostname is " .. local_hostname .. "\n");
--add the file_exists function