From ccab9b57cbefdbe8ad7fb68c2eb6f8c4a0adaade Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 11 Dec 2017 21:05:40 -0700 Subject: [PATCH] Update destination_edit.php --- app/destinations/destination_edit.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index d492204136..ddd5449e9b 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -255,6 +255,7 @@ $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n"; + $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n"; } if (strlen($destination_accountcode) > 0) { @@ -451,6 +452,19 @@ //increment the dialplan detail order $dialplan_detail_order = $dialplan_detail_order + 10; + //add a variable + $dialplan["dialplan_details"][$y]["domain_uuid"] = $domain_uuid; + $dialplan["dialplan_details"][$y]["dialplan_uuid"] = $dialplan_uuid; + $dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action"; + $dialplan["dialplan_details"][$y]["dialplan_detail_type"] = "set"; + $dialplan["dialplan_details"][$y]["dialplan_detail_data"] = "recording_follow_transfer=true"; + $dialplan["dialplan_details"][$y]["dialplan_detail_inline"] = "true"; + $dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $dialplan_detail_order; + $y++; + + //increment the dialplan detail order + $dialplan_detail_order = $dialplan_detail_order + 10; + //add a variable $dialplan["dialplan_details"][$y]["domain_uuid"] = $domain_uuid; $dialplan["dialplan_details"][$y]["dialplan_uuid"] = $dialplan_uuid;