From 229bdc23de8ab8fadd60370db3a632b6a169c1fd Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 12 Jun 2025 10:15:27 -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 c005bfe834..9f09b00282 100644 --- a/app/registrations/resources/classes/registrations.php +++ b/app/registrations/resources/classes/registrations.php @@ -181,7 +181,7 @@ if (!class_exists('registrations')) { 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'),