Add ooma to decode the IP address

This commit is contained in:
FusionPBX
2025-06-12 10:12:22 -06:00
committed by GitHub
parent 9bc91b7885
commit a71201487e

View File

@@ -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'),