You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a more convenient way to change a user's configuration:
if I have to change a display name, the change does not reach the display name of his phone (the extensions in FreePBX are not updated)
if I have to replace a user with another (keeping the main extension unchanged and the associated phones) it would be convenient to do so without having to reconfigure it from scratch, especially regarding the assignment of devices
if I have to delete a user make sure that his extensions are deleted, and his physical devices are freed
NethVoice instance updated to the latest PR testing image, wizard already completed.
In the user domain:
user A with extension 201, web phone, mobile app, a physical phone, a voicemail with at least one message, member of a group;
user B without an extension;
user C with extension 202, web phone and a physical phone, member of a group;
user D with extension 203, a web phone and a physical phone (used for the calls and for the key labels).
For Test Case 6: on the physical phone of D, a BLF key for 201 labelled with the display name of A (configured by D in NethVoice CTI > Devices > settings of the physical phone > line keys) and a second BLF key for 201 with a custom label (e.g. Reception); a custom model (Devices > "Models" > "Duplicate") with a line key BLF for 202 labelled with the display name of C, used by the phone of D or of another user.
The new interface is at https://<voice host>/nethvoice/, page Users and groups > Users.
Test Case 1 - Reassign an extension to another user
Open the row menu of B: "Reassign extension" and "Remove extension" are disabled (B has no extension).
Open the row menu of A > "Reassign extension": the dialog explains that the extension 201 moves to the chosen user with its devices, physical phones, voicemail and group memberships, and that A keeps the account without an extension.
Press "Reassign" without choosing: "Choose the user" is shown.
Open "Assign to": only users without an extension are listed ("Only users without an extension are listed"); C and D are not in the list.
Choose B and "Reassign": "Extension reassigned" with "The extension 201 has been assigned to " (or "...and N phone key labels now show the new name", see Test Case 6).
The list shows B with extension 201, the same devices, physical phones and groups; A has no extension, no devices and no groups.
The web phone, the mobile app and the physical phone of 201 stay registered without any new configuration (numbers and SIP credentials are unchanged).
Devices > "Phones": the phone of 201 shows user B.
From a device of 201 call D: D sees the name of B.
Sign in to NethVoice CTI as B: the voicemail shows the messages left for 201 before the reassignment.
Overview: B is listed with extension 201; A is not listed.
If no user is left without an extension, "Assign to" shows "No users without an extension".
Test Case 2 - Remove an extension
Row menu of C > "Remove extension": the dialog says that the extension 202 of C will be removed together with all its devices (web phone, apps and physical phones) and the group memberships, and that the user account is kept.
"Cancel": nothing changes.
"Remove extension" again and confirm: "Extension removed" with "The extension 202 of has been removed".
C is still in the list, without extension, devices and groups; the counter "N out of M users configured with an extension" decreases by one.
The web phone of C can no longer register.
Devices > "Phones": the phone of C is listed as "Unassigned" and can be assigned to another user with "Edit phone".
"Edit" D, empty the extension and "Save": "Enter an extension. To remove it, use Remove extension in the user menu." is shown and the extension of D is kept.
"Edit" C, enter a free extension and "Save": "User updated" and C has the new extension.
Test Case 3 - Extensions of removed users are kept and given back
Remove A (or any user with extension, devices, groups and profile) from the user domain, then "Actions" > "Synchronize users": the user disappears from the list.
The Users page shows "1 extension belongs to a removed user" with "Their devices can't make calls: the account provider can add the users again to restore everything, or you can delete the extensions.".
"Show extensions": "Extensions of removed users" lists the user (name and username), "Extension ", the devices, the physical phones and "Removed on ".
The devices of the removed user can no longer register.
Add a user with the same username to the domain again and synchronize: the notice disappears; the user gets back extension, devices, physical phones, groups and profile; its devices register again without new configuration.
Test Case 4 - Delete extensions of removed users
Remove two users with extensions from the domain and synchronize: the notice says "2 extensions belong to removed users".
"Show extensions": "Delete extensions" is disabled until an extension is selected.
Select one user and "Delete extensions": the confirmation says that the extension will be permanently deleted with the web phone, the apps and the voicemail, that the physical phones are freed, and "This cannot be undone.".
"Delete": "Extensions deleted"; the notice now says "1 extension belongs to a removed user".
Devices > "Phones": the phones of the deleted extension are listed as "Unassigned" and can be assigned to another user.
Add one of these users to the domain again and synchronize: the user comes back without an extension.
Test Case 5 - Display name of the extensions
Change the display name of a user with extension, web phone and physical phone (e.g. B after Test Case 1) in the user domain, then "Actions" > "Synchronize users": "Users synchronized" and the list shows the new name.
From the web phone of that user call D: D sees the new name.
From the physical phone and the mobile app of that user (if any) call D: D sees the new name.
After "Reassign extension" (Test Case 1), calls from the moved devices show the name of the new owner, not the old one.
Test Case 6 - Labels of the phone keys follow the name
Reassign 201 from A to B: the toast says "The extension 201 has been assigned to and 1 phone key label now shows the new name".
Devices > "Phones" > row menu of the phone of D > "Run provisioning": after the phone downloads the configuration, the BLF key of 201 shows the name of B; the key with the custom label Reception keeps Reception; the BLF still shows the status of 201.
Change the display name of B in the user domain and "Synchronize users", then "Run provisioning" on the phone of D: the BLF key of 201 shows the new display name.
Reassign 202 from C to a user without an extension: the line key of the custom model shows the new name (open the model in Devices > "Models" > "Line keys" and check its "Label"; after "Run provisioning" the phones that use the model show it).
A BLF key for 201 labelled with the old name on a default model (not a custom copy) is not changed: check whether this is expected.
Labels of keys for other extensions, and labels that were not equal to the old name, are never changed.
When the labels cannot be updated (e.g. Tancredi does not answer), reassign an extension: the reassignment still works, and the warning "Cannot update the phone key labels" says "Some phone keys of the extension may still show . Change their labels in the phone settings.".
Activity
andrea-marchionni commentedon Dec 4, 2024
also think of a way to bring the change into the configuration of the phones' BLF
andrea-marchionni commentedon Oct 6, 2026
if I have to change a display name, the change does not reach the display name of his phone (the extensions in FreePBX are not updated) done in #8120
tonyco97 commentedon Nov 20, 2026
Test
PR: nethesis/ns8-nethvoice#1201 (testing image
ghcr.io/nethesis/nethvoice:pr-1201.*)Setup:
Reception); a custom model (Devices > "Models" > "Duplicate") with a line key BLF for 202 labelled with the display name of C, used by the phone of D or of another user.https://<voice host>/nethvoice/, page Users and groups > Users.Test Case 1 - Reassign an extension to another user
Test Case 2 - Remove an extension
Test Case 3 - Extensions of removed users are kept and given back
Test Case 4 - Delete extensions of removed users
Test Case 5 - Display name of the extensions
Test Case 6 - Labels of the phone keys follow the name
ReceptionkeepsReception; the BLF still shows the status of 201.