diff --git a/app/registrations/app_languages.php b/app/registrations/app_languages.php index f849143372..c6f7f4f160 100644 --- a/app/registrations/app_languages.php +++ b/app/registrations/app_languages.php @@ -70,6 +70,16 @@ $text['label-message']['sv-se'] = "Ogiltig Profil!"; $text['label-message']['uk'] = "Хибний профіль!"; $text['label-message']['de-at'] = "Ungültiges Profil!"; +$text['label-lan_ip']['en-us'] = "LAN IP"; +$text['label-lan_ip']['es-cl'] = "LAN IP"; +$text['label-lan_ip']['pt-pt'] = "LAN IP"; +$text['label-lan_ip']['fr-fr'] = "LAN IP"; +$text['label-lan_ip']['pt-br'] = "LAN IP"; +$text['label-lan_ip']['pl'] = "LAN IP"; +$text['label-lan_ip']['sv-se'] = "LAN IP"; +$text['label-lan_ip']['uk'] = "LAN IP"; +$text['label-lan_ip']['de-at'] = "LAN IP"; + $text['label-ip']['en-us'] = "IP"; $text['label-ip']['es-cl'] = "IP"; $text['label-ip']['pt-pt'] = "IP"; diff --git a/app/registrations/status_registrations_inc.php b/app/registrations/status_registrations_inc.php index 46963d2838..aa867dbabc 100644 --- a/app/registrations/status_registrations_inc.php +++ b/app/registrations/status_registrations_inc.php @@ -107,10 +107,10 @@ require_once "resources/check_auth.php"; $registrations[$x]['mwi-account'] = $row->{'mwi-account'}; $registrations[$x]['status'] = $row->{'status'}; - //get the NAT ip address if it exists replace the external ip + //get the LAN IP address if it exists replace the external ip $call_id_array = explode('@', $row->{'call-id'}); if (isset($call_id_array[1])) { - $registrations[$x]['network-ip'] = $call_id_array[1]; + $registrations[$x]['lan-ip'] = $call_id_array[1]; } //remove unrelated domains @@ -156,6 +156,7 @@ require_once "resources/check_auth.php"; echo "