From 6e7e8168c313e9ffad856f50a3cbb75c18281930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Tue, 27 Oct 2026 16:09:52 +0100 Subject: [PATCH] chore: Log fallback direct dial-in number as error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- lib/Controller/RoomController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 2b863e433fa..2a44087d715 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -2682,14 +2682,14 @@ public function directDialIn(string $phoneNumber, string $caller): DataResponse try { // Try to find the number with added dialout prefix as a fallback for old sip-bridges - // TODO: Log as error in 26, remove fallback and dialout prefix with 27 + // TODO: Remove fallback and dialout prefix with 27 $entity = $this->phoneService->getAccountToCallForPhoneNumber($dialoutPrefix . $phoneNumber); } catch (DoesNotExistException) { $this->logger->info('No account found for direct dial-in with number: ' . $phoneNumber); return new DataResponse(null, Http::STATUS_NOT_FOUND); } - $this->logger->warning('Found account for direct dial-in only by adding the dial-out prefix. Please adjust the mapping for number: ' . $phoneNumber); + $this->logger->error('Found account for direct dial-in only by adding the dial-out prefix. This fallback will be removed in the next major version. Please adjust the mapping for number: ' . $phoneNumber); } $caller = trim($caller);