diff --git a/resources/switch.php b/resources/switch.php index d1f976448d..488cb6068b 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -2423,11 +2423,16 @@ function save_dialplan_xml() { } //anti-actions if ($ent['dialplan_detail_tag'] == "anti-action") { + //get the action inline attribute + $anti_action_inline = ''; + if (strlen($ent['dialplan_detail_inline']) > 0) { + $anti_action_inline = "inline=\"".$ent['dialplan_detail_inline']."\""; + } if (strlen($ent['dialplan_detail_data']) > 0) { - $tmp .= " \n"; + $tmp .= " \n"; } else { - $tmp .= " \n"; + $tmp .= " \n"; } } //set the previous dialplan_detail_tag