mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Enhance Gigaset LAN IP (#2970)
GIGASET Sculpture CL750A puts _ in it's lan ip account for this and perform a replacement
This commit is contained in:
@@ -123,6 +123,9 @@ if (!class_exists('registrations')) {
|
||||
array('0','1','2','3','4','5','6','7','8','9'),
|
||||
$lan_ip);
|
||||
}
|
||||
elseif(1 === preg_match('/\ACL750A/', $agent)) {
|
||||
$lan_ip = preg_replace('/_/', '.', $lan_ip);
|
||||
}
|
||||
$registrations[$id]['lan-ip'] = "<a href='http://".$lan_ip."' target='_blank'>".$lan_ip."</a>";
|
||||
} else {
|
||||
$registrations[$id]['lan-ip'] = " ";
|
||||
|
||||
Reference in New Issue
Block a user