From ab122097f9aab63c765b35ba40c0b7fffc711d17 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 9 Jul 2014 06:07:56 +0000 Subject: [PATCH] Add domain info to inbound route xml files --- resources/switch.php | 7 +++++++ 1 file changed, 7 insertions(+) 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) {