Update index.lua

This commit is contained in:
FusionPBX
2018-02-05 23:56:22 -07:00
committed by GitHub
parent b9394a2707
commit e8fccfad74
@@ -16,7 +16,7 @@
-- --
-- The Initial Developer of the Original Code is -- The Initial Developer of the Original Code is
-- Mark J Crane <markjcrane@fusionpbx.com> -- Mark J Crane <markjcrane@fusionpbx.com>
-- Copyright (C) 2015 -- Copyright (C) 2015 - 2018
-- the Initial Developer. All Rights Reserved. -- the Initial Developer. All Rights Reserved.
--set the debug options --set the debug options
@@ -58,12 +58,11 @@
end end
--prepare the headers --prepare the headers
local headers = { local headers = {}
["X-FusionPBX-Domain-UUID"] = domain_uuid; headers["X-FusionPBX-Domain-UUID"] = domain_uuid;
["X-FusionPBX-Domain-Name"] = domain_name; headers["X-FusionPBX-Domain-Name"] = domain_name;
["X-FusionPBX-Call-UUID"] = uuid; headers["X-FusionPBX-Call-UUID"] = uuid;
["X-FusionPBX-Email-Type"] = 'missed'; headers["X-FusionPBX-Email-Type"] = 'missed';
}
--prepare the subject --prepare the subject
local f = io.open(file_subject, "r"); local f = io.open(file_subject, "r");