Update bind digit action and set call_direction to inline=true

This commit is contained in:
markjcrane
2016-08-20 22:07:35 -06:00
parent 3e4abb8121
commit 22c20dc6ec
3 changed files with 11 additions and 6 deletions

View File

@@ -262,7 +262,7 @@
if (call_context == "public" or string.sub(call_context, 0, 7) == "public@" or string.sub(call_context, -7) == ".public") then
if (dialplan_detail_tag == "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" inline="true"/>]]);
if (domain_uuid ~= nil and domain_uuid ~= '') then
domain_name = domains[domain_uuid];
table.insert(xml, [[ <action application="set" data="domain_uuid=]] .. domain_uuid .. [["/>]]);