mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-09 18:18:22 +00:00
Merge pull request #1046 from moteus/temp_dir_dialplan
Fix. Use `temp_dir` to debug dialplan xml file
This commit is contained in:
@@ -304,7 +304,7 @@
|
||||
|
||||
--send the xml to the console
|
||||
if (debug["xml_string"]) then
|
||||
local file = assert(io.open("/tmp/dialplan-" .. call_context .. ".xml", "w"));
|
||||
local file = assert(io.open(temp_dir .. "/dialplan-" .. call_context .. ".xml", "w"));
|
||||
file:write(XML_STRING);
|
||||
file:close();
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user