From a71201487e18520c4dbf8d62f3727dcdd7392083 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 12 Jun 2025 10:12:22 -0600 Subject: [PATCH] Add ooma to decode the IP address --- app/registrations/resources/classes/registrations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/registrations/resources/classes/registrations.php b/app/registrations/resources/classes/registrations.php index 98fea054a7..871489a945 100644 --- a/app/registrations/resources/classes/registrations.php +++ b/app/registrations/resources/classes/registrations.php @@ -218,7 +218,7 @@ if (isset($call_id_array[1])) { $agent = $row['agent']; $lan_ip = $call_id_array[1]; - if (!empty($agent) && false !== stripos($agent, 'grandstream')) { + if (!empty($agent) && false !== stripos($agent, 'grandstream') || false !== stripos($agent, 'ooma')) { $lan_ip = str_ireplace( array('A','B','C','D','E','F','G','H','I','J'), array('0','1','2','3','4','5','6','7','8','9'),