Merge pull request #5755 from greenbea/patch-18

Ring group fix missed call alert
This commit is contained in:
FusionPBX
2021-02-03 19:07:08 -07:00
committed by GitHub

View File

@@ -325,6 +325,7 @@
if (debug["sql"]) then
freeswitch.consoleLog("notice", "[voicemail] SQL: " .. sql .. "; params:" .. json.encode(params) .. "\n");
end
dbh = Database.new('system');
dbh:query(sql, params, function(row)
subject = row["template_subject"];
body = row["template_body"];