diff --git a/app/switch/resources/scripts/app/xml_handler/resources/scripts/configuration/callcenter.conf.lua b/app/switch/resources/scripts/app/xml_handler/resources/scripts/configuration/callcenter.conf.lua index d674456c21..27129eb903 100644 --- a/app/switch/resources/scripts/app/xml_handler/resources/scripts/configuration/callcenter.conf.lua +++ b/app/switch/resources/scripts/app/xml_handler/resources/scripts/configuration/callcenter.conf.lua @@ -67,9 +67,6 @@ require "resources.functions.format_ringback" --get the variables dsn = freeswitch.getGlobalVariable("dsn") or '' dsn_callcenter = freeswitch.getGlobalVariable("dsn_callcenter") or '' - if #dsn_callcenter > 0 then - dsn_callcenter = freeswitch.getGlobalVariable("dsn_call_center") or '' - end --start the xml array local xml = Xml:new(); @@ -81,9 +78,9 @@ require "resources.functions.format_ringback" if #dsn_callcenter > 0 then xml:append([[ ]]); elseif #dsn > 0 then - xml:append([[ ]]); + xml:append([[ ]]); end - xml:append([[ ]]); + xml:append([[ ]]); -- xml:append([[ ]]); xml:append([[ ]]);