Get the domain_name from the array.

This commit is contained in:
markjcrane 2016-03-11 14:21:08 -07:00
parent 88fe82308f
commit c11459fae8
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@
if (first_action) then
table.insert(xml, [[ <action application="set" data="call_direction=inbound"/>]]);
if (domain_uuid ~= nil and domain_uuid ~= '') then
domain_name = domains[domain_uuid];
table.insert(xml, [[ <action application="set" data="domain_uuid=]] .. domain_uuid .. [["/>]]);
end
if (domain_name ~= nil and domain_name ~= '') then