From c11459fae85f4cde98c7923b2ab4c2f2b545fa9f Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 11 Mar 2016 14:21:08 -0700 Subject: [PATCH] Get the domain_name from the array. --- .../app/xml_handler/resources/scripts/dialplan/dialplan.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua b/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua index 0653cffd6c..31611c0150 100644 --- a/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua +++ b/resources/install/scripts/app/xml_handler/resources/scripts/dialplan/dialplan.lua @@ -259,6 +259,7 @@ if (first_action) then table.insert(xml, [[ ]]); if (domain_uuid ~= nil and domain_uuid ~= '') then + domain_name = domains[domain_uuid]; table.insert(xml, [[ ]]); end if (domain_name ~= nil and domain_name ~= '') then