Change directory hostname to switchname which is a little more flexible.
This commit is contained in:
parent
c7b8d99d1b
commit
1b68a563df
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue