From 287abfe573e0bc88eded82f6059325bfc740bd21 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 4 Jan 2014 00:11:09 +0000 Subject: [PATCH] Dev Branch: Conference center fix the domain_uuid. --- resources/install/scripts/app/conference_center/index.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/install/scripts/app/conference_center/index.lua b/resources/install/scripts/app/conference_center/index.lua index b02c50f34e..a027cfc126 100644 --- a/resources/install/scripts/app/conference_center/index.lua +++ b/resources/install/scripts/app/conference_center/index.lua @@ -318,13 +318,14 @@ hold_music = session:getVariable("hold_music"); domain_name = session:getVariable("domain_name"); pin_number = session:getVariable("pin_number"); + domain_uuid = session:getVariable("domain_uuid"); destination_number = session:getVariable("destination_number"); caller_id_number = session:getVariable("caller_id_number"); freeswitch.consoleLog("notice", "[conference center] destination_number: " .. destination_number .. "\n"); freeswitch.consoleLog("notice", "[conference center] caller_id_number: " .. caller_id_number .. "\n"); --get the domain_uuid - if (domain_name ~= nil) then + if (domain_name ~= nil and domain_uuid == nil) then sql = "SELECT domain_uuid FROM v_domains "; sql = sql .. "WHERE domain_name = '" .. domain_name .."' "; if (debug["sql"]) then