diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua b/resources/install/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua index d5515244ad..19c5c060de 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua @@ -101,15 +101,7 @@ end x = 0; dbh:query(sql, function(field) - --set as variables - gateway = field.gateway; - gateway = gateway:gsub(" ", "_"); - - if (domain_count > 1) then - table.insert(xml, [[ ]]); - else - table.insert(xml, [[ ]]); - end + table.insert(xml, [[ ]]); if (string.len(field.username) > 0) then table.insert(xml, [[ ]]); @@ -254,7 +246,7 @@ --send to the console if (debug["cache"]) then - freeswitch.consoleLog("notice", "[xml_handler] configuration:sofia.conf source: database\n"); + freeswitch.consoleLog("notice", "[xml_handler] configuration:sofia.conf:" .. hostname .." source: database\n"); end else --replace the ' back to a single quote