mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Change directory hostname to switchname which is a little more flexible.
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
--
|
||||
-- Contributor(s):
|
||||
-- Mark J Crane <markjcrane@fusionpbx.com>
|
||||
-- Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
||||
-- Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
||||
|
||||
--set the default
|
||||
continue = true;
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user