diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua index d74097c51b..06b78d48fb 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua @@ -146,7 +146,7 @@ assert(dbh:connected()); --get the hostname - hostname = trim(api:execute("switchname", "")); + hostname = trim(api:execute("hostname", "")); --set the xml array and then concatenate the array to a string local xml = {}