Get the domain_name from the array.
This commit is contained in:
@@ -259,6 +259,7 @@
|
|||||||
if (first_action) then
|
if (first_action) then
|
||||||
table.insert(xml, [[ <action application="set" data="call_direction=inbound"/>]]);
|
table.insert(xml, [[ <action application="set" data="call_direction=inbound"/>]]);
|
||||||
if (domain_uuid ~= nil and domain_uuid ~= '') then
|
if (domain_uuid ~= nil and domain_uuid ~= '') then
|
||||||
|
domain_name = domains[domain_uuid];
|
||||||
table.insert(xml, [[ <action application="set" data="domain_uuid=]] .. domain_uuid .. [["/>]]);
|
table.insert(xml, [[ <action application="set" data="domain_uuid=]] .. domain_uuid .. [["/>]]);
|
||||||
end
|
end
|
||||||
if (domain_name ~= nil and domain_name ~= '') then
|
if (domain_name ~= nil and domain_name ~= '') then
|
||||||
|
|||||||
Reference in New Issue
Block a user