diff --git a/resources/switch.php b/resources/switch.php index 488cb6068b..cee1477a80 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -2409,6 +2409,13 @@ function save_dialplan_xml() { } //actions if ($ent['dialplan_detail_tag'] == "action") { + //set the domain info for the public context + if ($row['dialplan_context'] == "public") { + $tmp .= " \n"; + $tmp .= " \n"; + $tmp .= " \n"; + $tmp .= " \n"; + } //get the action inline attribute $action_inline = ''; if (strlen($ent['dialplan_detail_inline']) > 0) {