Dev Branch: Conference center fix the domain_uuid.
This commit is contained in:
parent
13025158fd
commit
45c254f6e0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue