From ebb8193add4ed7a99314b3d25420d5f7b3adf533 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 29 Sep 2023 16:56:30 -0600 Subject: [PATCH] outbound_route_to_bridge break only after matching a route Changing this to behave like a call in the dialplan only break if a matching outbound route has been found. --- resources/switch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/switch.php b/resources/switch.php index 19edec9836..fdd05e1d33 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -413,7 +413,7 @@ function outbound_route_to_bridge($domain_uuid, $destination_number, array $chan } } - if ($dialplan["dialplan_continue"] == "false") { + if (!empty($bridge_array) && $dialplan["dialplan_continue"] == "false") { break; } }