cloudpbx / monster-ui-voip-otf

Monster UI Application: Simplified PBX configuration for end-users
Other
0 stars 0 forks source link

As a SmartPBX admin user, I would like to see the registration IP for devices #2

Open grahamsnz opened 7 years ago

grahamsnz commented 7 years ago

As identified in issue #1, the /registrations API provides details on SIP device registration for /devices that have /registrations/status of "registered": true.

In the web UI Devices page list view, it would be very helpful to have the current IP address of the registered device listed beside the device.

Currently, the web UI Devices page has several columns. The second column on the left has the title Name / Mac Address. This title should be changed to Name / Mac Address / Registration IP.

In the individual rows of devices that are currently registered, these details should now be included.

"contact_ip": "{remote-device-registration-ip}",
"contact_port": {remote-device-registration-port},
"source_ip": "{remote-device-registration-ip-know-to-device}",
"source_port": "{remote-device-registration-port-know-to-device",

They should be shown in a single line in a small font using the below format

_Contact contact_ip:contact_port / Source source_ip:source_port_

This line should be below the Name / Mac Address line in the same column.

If there is no registration for the matching device row, these registration details should not be visible.