Set session variables conference_room_uuid and conference_room_name

This commit is contained in:
markjcrane 2021-05-07 18:19:40 -06:00
parent 9cfd41d222
commit a7b014df6a
1 changed files with 11 additions and 0 deletions

View File

@ -563,6 +563,7 @@
end
dbh:query(sql, params, function(row)
conference_room_uuid = string.lower(row["conference_room_uuid"]);
conference_room_name = string.lower(row["conference_room_name"]);
meeting_uuid = string.lower(row["meeting_uuid"]);
record = string.lower(row["record"]);
profile = string.lower(row["profile"]);
@ -596,6 +597,16 @@
--close the database connection
dbh:release();
--set the conference_room_uuid
if (conference_room_uuid) then
session:setVariable("conference_room_uuid", conference_room_uuid);
end
--set the conference_room_name
if (conference_room_name) then
session:setVariable("conference_room_name", conference_room_name);
end
--set the meeting uuid
if (meeting_uuid) then
session:setVariable("meeting_uuid", meeting_uuid);