mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-27 10:45:44 +00:00
BugFix - send_mail.lua (#2977)
use correct header to retrieve call_uuid
This commit is contained in:
@@ -11,7 +11,7 @@ if not freeswitch then
|
||||
local domain_uuid = headers["X-FusionPBX-Domain-UUID"]
|
||||
local domain_name = headers["X-FusionPBX-Domain-Name"]
|
||||
local email_type = headers["X-FusionPBX-Email-Type"] or 'info'
|
||||
local call_uuid = headers["X-FusionPBX-Email-Type"]
|
||||
local call_uuid = headers["X-FusionPBX-Email-Call-UUID"]
|
||||
local db = dbh or Database.new('system')
|
||||
local settings = Settings.new(db, domain_name, domain_uuid)
|
||||
|
||||
@@ -81,7 +81,7 @@ if freeswitch then
|
||||
local domain_uuid = headers["X-FusionPBX-Domain-UUID"]
|
||||
local domain_name = headers["X-FusionPBX-Domain-Name"]
|
||||
local email_type = headers["X-FusionPBX-Email-Type"] or 'info'
|
||||
local call_uuid = headers["X-FusionPBX-Email-Type"]
|
||||
local call_uuid = headers["X-FusionPBX-Email-Call-UUID"]
|
||||
local db = dbh or Database.new('system')
|
||||
local settings = Settings.new(db, domain_name, domain_uuid)
|
||||
local xheaders = "{"
|
||||
|
||||
Reference in New Issue
Block a user