Update index.lua

This commit is contained in:
FusionPBX
2019-08-11 17:05:41 -06:00
committed by GitHub
parent 8b4f412cad
commit 02c1baa778

View File

@@ -437,7 +437,7 @@
if file_exists(full_path) then
--read file content as base64 string
message_base64 = assert(file.read_base64(full_path));
message_base64 = file.read_base64(full_path);
--freeswitch.consoleLog("notice", "[voicemail] ".. message_base64 .. "\n");
--delete the file
@@ -454,10 +454,10 @@
x = 1;
table.insert(destinations, {domain_uuid=domain_uuid,voicemail_destination_uuid=voicemail_uuid,voicemail_uuid=voicemail_uuid,voicemail_uuid_copy=voicemail_uuid});
x = x + 1;
assert(dbh:query(sql, params, function(row)
dbh:query(sql, params, function(row)
destinations[x] = row;
x = x + 1;
end));
end);
--show the storage type
freeswitch.consoleLog("notice", "[voicemail] ".. storage_type .. "\n");