From 433a8be4fa19680f17f34e1cde3031e32d2e735f Mon Sep 17 00:00:00 2001 From: ednt Date: Wed, 23 Sep 2020 20:11:44 +0200 Subject: [PATCH] Update switch.php (#5483) Missing $2 as regex_match --- resources/switch.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/switch.php b/resources/switch.php index aca8904aa4..f83401c8f8 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -482,6 +482,7 @@ function outbound_route_to_bridge($domain_uuid, $destination_number, array $chan else { $condition_match[] = 'true'; $regex_match_1 = $matches[1][0]; + $regex_match_2 = $matches[2][0]; $regex_match_3 = $matches[3][0]; $regex_match_4 = $matches[4][0]; $regex_match_5 = $matches[5][0];