mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
The back slash should only be for the cache.
This commit is contained in:
@@ -925,8 +925,8 @@
|
|||||||
XML_STRING = table.concat(xml, "\n");
|
XML_STRING = table.concat(xml, "\n");
|
||||||
|
|
||||||
--set the cache
|
--set the cache
|
||||||
XML_STRING = XML_STRING:gsub("\\", "\\\\");
|
tmp = XML_STRING:gsub("\\", "\\\\");
|
||||||
result = trim(api:execute("memcache", "set " .. call_context .. " '"..XML_STRING:gsub("'", "'").."' "..expire["dialplan"]));
|
result = trim(api:execute("memcache", "set " .. call_context .. " '"..tmp:gsub("'", "'").."' "..expire["dialplan"]));
|
||||||
|
|
||||||
--send the xml to the console
|
--send the xml to the console
|
||||||
if (debug["xml_string"]) then
|
if (debug["xml_string"]) then
|
||||||
@@ -942,7 +942,6 @@
|
|||||||
else
|
else
|
||||||
--replace the ' back to a single quote
|
--replace the ' back to a single quote
|
||||||
XML_STRING = XML_STRING:gsub("'", "'");
|
XML_STRING = XML_STRING:gsub("'", "'");
|
||||||
freeswitch.consoleLog("notice", "[xml_handler] dialplan: "..XML_STRING.."\n");
|
|
||||||
|
|
||||||
--send to the console
|
--send to the console
|
||||||
if (debug["cache"]) then
|
if (debug["cache"]) then
|
||||||
|
|||||||
Reference in New Issue
Block a user