diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua b/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua index eb33463ced..097caab9dc 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua @@ -170,7 +170,7 @@ --send the xml to the console if (debug["xml_string"]) then - local file = assert(io.open(temp_dir .. "/" .. key .. ".xml", "w")); + local file = assert(io.open(temp_dir .. "/" .. dialplan_cache_key .. ".xml", "w")); file:write(XML_STRING); file:close(); end