From ebd99156f17eef78992d76c4ffa368175f989bb6 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 3 Feb 2019 12:51:03 -0700 Subject: [PATCH] Update dialplan.lua --- .../app/xml_handler/resources/scripts/dialplan/dialplan.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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