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.
This commit is contained in:
FusionPBX
2023-09-29 16:56:30 -06:00
committed by GitHub
parent afc9061fef
commit ebb8193add

View File

@@ -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;
}
}