From 4dbee9b596cab13bc6b04afd858a7c0fd056fb8c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 31 Mar 2023 19:00:23 -0600 Subject: [PATCH] Fix bridge statements from recent change Example bridge statement broken by the sanitize before sofia/internal/$1${regex(${sofia_contact(101@dev.local)}|^[^@]+(.*)|%1)} after sofia/internal/1{regex({sofia_contact(101@dev.local)}|^[^@]+(.*)|%1)} --- app/destinations/destination_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 09796fb302..b8c0aa75a5 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -516,7 +516,7 @@ $action_array = explode(":", $destination_action, 2); if (isset($action_array[0]) && $action_array[0] != '') { if ($destination->valid($action_array[0].':'.$action_array[1])) { - $dialplan["dialplan_xml"] .= " \n"; + $dialplan["dialplan_xml"] .= " \n"; } } }