Update dialplan.lua
Add inline="true" to domain_uuid and domain_name.
This commit is contained in:
parent
3c9d6dff09
commit
6425664e24
|
|
@ -269,11 +269,10 @@
|
||||||
table.insert(xml, [[ <action application="set" data="call_direction=inbound" inline="true"/>]]);
|
table.insert(xml, [[ <action application="set" data="call_direction=inbound" inline="true"/>]]);
|
||||||
if (domain_uuid ~= nil and domain_uuid ~= '') then
|
if (domain_uuid ~= nil and domain_uuid ~= '') then
|
||||||
domain_name = domains[domain_uuid];
|
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 .. [[" inline="true"/>]]);
|
||||||
end
|
end
|
||||||
if (domain_name ~= nil and domain_name ~= '') then
|
if (domain_name ~= nil and domain_name ~= '') then
|
||||||
table.insert(xml, [[ <action application="set" data="domain_name=]] .. domain_name .. [["/>]]);
|
table.insert(xml, [[ <action application="set" data="domain_name=]] .. domain_name .. [[" inline="true"/>]]);
|
||||||
table.insert(xml, [[ <action application="set" data="domain=]] .. domain_name .. [["/>]]);
|
|
||||||
end
|
end
|
||||||
first_action = false;
|
first_action = false;
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue