From e7386519ced2fbf0a384b6e8024a341b3626e45b Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 6 Dec 2013 08:26:55 +0000 Subject: [PATCH] Change the gateway name to gateway_uuid in the XML handler. --- .../resources/scripts/configuration/sofia.conf.lua | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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