Update index.lua

This commit is contained in:
FusionPBX 2018-02-05 23:56:22 -07:00 committed by GitHub
parent 3db4ecb08c
commit 16ff738c5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 7 deletions

View File

@ -16,7 +16,7 @@
--
-- The Initial Developer of the Original Code is
-- Mark J Crane <markjcrane@fusionpbx.com>
-- Copyright (C) 2015
-- Copyright (C) 2015 - 2018
-- the Initial Developer. All Rights Reserved.
--set the debug options
@ -58,12 +58,11 @@
end
--prepare the headers
local headers = {
["X-FusionPBX-Domain-UUID"] = domain_uuid;
["X-FusionPBX-Domain-Name"] = domain_name;
["X-FusionPBX-Call-UUID"] = uuid;
["X-FusionPBX-Email-Type"] = 'missed';
}
local headers = {}
headers["X-FusionPBX-Domain-UUID"] = domain_uuid;
headers["X-FusionPBX-Domain-Name"] = domain_name;
headers["X-FusionPBX-Call-UUID"] = uuid;
headers["X-FusionPBX-Email-Type"] = 'missed';
--prepare the subject
local f = io.open(file_subject, "r");