Look further for domain_name (#1955)

Same rationale as 4.0
This commit is contained in:
Luis Daniel Lucio Quiroz
2016-09-28 19:56:53 -04:00
committed by FusionPBX
parent 37f4099632
commit 089d33384a

View File

@@ -66,6 +66,9 @@
if (domain_name == nil) then
domain_name = params:getHeader("variable_domain_name");
end
if (domain_name == nil) then
domain_name = params:getHeader("variable_sip_from_host");
end
purpose = params:getHeader("purpose");
profile = params:getHeader("profile");
key = params:getHeader("key");
@@ -100,4 +103,4 @@
end
if (XML_REQUEST["section"] == "languages") then
dofile(scripts_dir.."/app/xml_handler/resources/scripts/languages/languages.lua");
end
end