Skip to content

NethVoice: improve usability and modernization of first configuration wizard #7825

Open
1 of 1 issue completed
Open

Description

@andrea-marchionni

Description

A NethVoice First Configuration Wizard is required to guide administrators through the initial system setup in a simple, clear, and fast way, improving usability, immediacy, and reducing configuration errors.

The wizard should provide a step-by-step onboarding experience covering the essential system settings, including security, branding, and basic operational configuration, without exposing advanced or critical options.

The focus is on the initial onboarding experience, not on daily administration.


Main Goals

  • Provide a guided, sequential First Configuration Wizard
  • Configure Two-Factor Authentication (2FA) for administrative accounts
  • Simplify initial setup of users, extensions, and devices
  • Provide real-time validation and clear feedback
  • Ensure a mobile-friendly and responsive experience

Wizard Steps

1. Welcome & Context

  • Introductory screen explaining the setup process
  • Progress indicator (stepper)
  • System prerequisites check

2. Security

  • Enable (mandatory or recommended) 2FA for administrator
  • Select 2FA method (OTP app, Email, SMS if available)
  • 2FA configuration test

3. Branding

  • Support to:
    • favicon
    • background image of the login page
    • brand images of the login page
    • brand name
    • brand images of the admin page

4. User Structure

  • Create basic users
  • Assign:
    • Extensions
    • Devices
    • WebPhone / Mobile
  • Quick import (CSV / LDAP if available)
  • Group-based configuration

5. Lines and Devices

  • Associate users to extensions
  • Auto-detect and assign phones
  • Registration status verification

6. Essential Features

  • Configure using users group
    • profile
    • devices (Webphone, Mobile phone, Desktop phone)
    • device template
    • voicemail

7. Review & Activation

  • Configuration summary
  • Error / warning checks
  • “Complete setup” action
  • Switch system to operational mode

Wizard UI/UX Improvements

  • Modern, consistent design aligned with the new NethVoice UI
  • Step-by-step navigation with autosave
  • Ability to resume interrupted wizard
  • Real-time field validation
  • Contextual success, error, and hint messages
  • Unified terminology and iconography
  • Full mobile and tablet support

Expected Benefits

  • Significant reduction of first-time configuration errors
  • Faster time-to-value for new customers
  • Immediate security enablement through 2FA
  • Branding applied from the first login
  • Professional and guided onboarding experience
  • Reduced need for technical support during initial setup

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    nethvoice
    on Jan 20, 2026
  2. moved this from Todo to In Progress in NethVoiceon Nov 10, 2026
  3. tonyco97 commented on Nov 13, 2026

    @tonyco97

    Test

    PR: nethesis/ns8-nethvoice#1201 (testing image ghcr.io/nethesis/nethvoice:pr-1201.*)

    Setup:

    • A NEW NethVoice instance installed from the latest PR testing image (the first configuration wizard runs only until it is completed; its state is shared with the previous wizard).
    • A user domain with at least 5 users, one without a display name, one with accented characters; sign in with a member of domain admins.
    • Optionally a supported gateway on the LAN and the credentials of a VoIP provider.
    • For Test Case 9, an instance where the previous wizard was left at the physical trunks or VoIP trunks step.
    • The new wizard is at https://<voice host>/nethvoice/. Run every test case in dark and light theme, in Italian and English, and at least once at phone width (390 px).

    Test Case 1 - Access and guard

    • Sign in at /nethvoice/ on a new instance: the welcome page "Welcome to NethVoice setup wizard" opens; the dashboard and the other pages redirect to the current step.
    • "Start setup": "System settings" opens; under the progress bar "Step 1/6" is shown below the current step, and the bar grows at every step.
    • Open the URL of a later step directly: you are taken back to the step reached; earlier steps can be opened.
    • Reload in the middle of a step, or sign out and sign in again: the saved step opens directly; opening the welcome page and pressing "Start setup" also goes to the saved step.
    • "Need help?" (opens the documentation in a new tab) and "Sign out" are available in every step, also at 390 px.
    • On an instance where the setup is completed, /nethvoice/setup redirects to the dashboard.

    Test Case 2 - System settings

    • Above the country, "PBX time zone" shows the time zone of the PBX (e.g. Europe/Rome) and "Current time" the date and time of the PBX in that zone; both are read only, with "To change the time zone, edit the settings of the NethVoice application in NethServer 8.".
    • Stay on the step for more than a minute: "Current time" moves forward by itself.
    • At 390 px a long time zone (e.g. America/Argentina/Buenos_Aires) wraps only between its parts and stays inside the page.
    • Change the time zone of the NethVoice application in NethServer 8, reload: the new zone and time are shown.
    • On a new instance "PBX country" is preselected from the time zone (e.g. Europe/Rome gives Italy), whatever the PBX language; a country chosen before in this browser wins over the time zone.
    • Choose country and PBX language; "Next" saves and moves to Users.
    • With the country field emptied, Tab does not pick a country by itself; "Next" asks to choose one ("Choose a country").
    • If the settings cannot be loaded, an error with "Retry" is shown.

    Test Case 3 - Users and extensions

    • The users of the domain are listed with name and username; while they are synchronized "Synchronizing users with the account provider…" is shown and "Next" is disabled; the counter shows "N out of M users configured with an extension".
    • Assign extensions and "Next": "Configuring users" shows the progress, then the next step opens.
    • Type an extension already assigned to another user: "This extension is already assigned to another user" appears while typing; type a non numeric extension: "Use only digits"; "Next" does not move on and the focus goes to the field.
    • Assign the number of a queue or ring group and "Next": "Cannot configure the users" is shown once, the field shows "This extension is already in use", the values are kept and the step does not move on.
    • For a user already configured, emptying the extension shows "Enter an extension. To remove it, use Remove extension in the user menu."; removing it is possible only from the row menu > "Remove extension", with confirmation; for users without an extension "Remove extension" is disabled.
    • Change the extension of a configured user and "Next": "The devices will be deleted" lists the changes (e.g. "Name: 300 → 310") and explains that only the Web phone is created again, while desktop and mobile apps, physical phones and group memberships must be set again; "Cancel" changes nothing, "Change extensions" applies them.
    • "Create user" and "Edit" drawers: validation, unsaved changes confirmation, focus back to the button when closed; the extension of a created user is applied only with "Next".
    • "Import users from CSV": preview with users and new groups above the table, rows with errors listed, "Skip existing users" as default; after the import "Users imported" shows "Created: N · Updated: N · Skipped: N" and the users appear with their extensions.
    • "Export users to CSV": the file opens correctly in a spreadsheet.
    • Synchronization with the user domain fails: "Cannot synchronize the users" is shown with "Retry".

    Test Case 4 - Trunks

    • The step is "Trunks" ("Step 3/6") with the tabs "VoIP" and "Physical"; "VoIP" is open and the address is /nethvoice/setup/trunks.
    • "VoIP" tab: "Configure VoIP trunks to enable inbound and outbound calls." and "Create VoIP trunk"; add a trunk for a provider: fields depend on the provider; the trunk is listed with its provider.
    • Edit and delete the VoIP trunk from the step (the delete confirmation lists the outbound routes that use it).
    • "Physical" tab (address /nethvoice/setup/trunks/physical): the description of the physical trunks and "Create physical trunk", which opens a drawer (manufacturer, model, network, ports): the trunks and FXS extensions are created and listed; the VoIP trunks are not shown in this tab.
    • The tabs can be reached and switched with the keyboard.
    • "Next" with no trunks moves on without opening the "Physical" tab; "Next" from the "Physical" tab moves on too.
    • "Previous" goes back to Users and the saved step goes back with it: reload and you are on Users.

    Test Case 5 - Inbound routes and Visual Plan

    • The routes are listed with name first, DID and destination; delete a route.
    • "Create route": the Visual Plan opens full screen over the wizard in the same tab, at /nethvoice/setup/inbound-routes/editor, with the breadcrumb "Setup wizard > Inbound routes > Create inbound route"; the wizard behind it cannot be used.
    • Set "Name", "DID number" and "Destination", add and connect items, "Create": the editor closes, "Inbound route created" with "Inbound route has been created.", the list shows the new route, the step is still "Step 4/6" and the focus is on "Create route".
    • "Edit" a route: the editor opens with the whole flow in view and the breadcrumb ends with the route name; change an item and "Save": "Inbound route updated" and the list shows the change.
    • "Save" is always enabled: press it without changes: back to the step, nothing saved, no toast.
    • Select an item and press Esc: "Properties" closes and the editor stays; press Esc again: back to the step, with the focus on the "Edit" button of that route.
    • Change something, then Esc (with nothing selected), "Cancel" or the "Setup wizard" breadcrumb: "Discard changes" with "The changes to inbound route will be lost."; "Cancel" stays in the editor, "Discard" goes back to the step without saving.
    • Reload while the editor is open: it opens again on the same route over the inbound routes step; the "Inbound routes" breadcrumb goes back to the step.
    • Open /nethvoice/setup/inbound-routes/editor on an instance still at an earlier step: you are taken to the saved step and the editor does not open.
    • Keep the editor open, complete the setup in another session, change something and "Save": the dashboard opens with "Setup already completed"; nothing is saved.
    • At 390 px "Simulate call" is reachable and opens "Call simulation".
    • With "reduce motion" set in the operating system, the editor opens and closes without animation.

    Test Case 6 - Outbound routes

    • With no routes, "No outbound routes configured" is shown and nothing is created by itself.
    • "Create default routes": the dialog shows "PBX country" set to the country chosen in step 1; "Create routes" creates National, Cellphone, International and Toll with the configured trunks (no AI agents trunk, no disabled trunks).
    • With no VoIP trunks, "No VoIP trunks configured" with "Outbound calls need at least one VoIP trunk. Create one in the VoIP trunks step." is shown and the routes without trunks cannot be edited.
    • With no routes, "Next" still moves to the summary, which then warns "No outbound routes are configured: external numbers cannot be called.".
    • Change the trunk priority of a route with drag and drop and with the arrows, "Save", then "Next".
    • On an instance that already has outbound routes, they are kept and the summary shows the "PBX country" of those routes.

    Test Case 7 - Summary and finish

    • The summary has one numbered section per step: "1. System settings", "2. Extensions", "3. Trunks" (with "VoIP trunks" and "Physical trunks"), "4. Inbound routes", "5. Outbound routes"; "Step 6/6" is shown.
    • The sections show users, trunks and routes as configured; physical trunks are named by manufacturer and model; disabled trunks are marked; a warning appears when no usable trunk exists.
    • Finish setup asks for confirmation explaining that Asterisk and NethVoice CTI restart.
    • After confirming, the dashboard opens; the previous wizard at / also considers the setup completed.
    • Calls between the configured users and through the configured trunks work.

    Test Case 8 - Coexistence with the previous wizard

    • Run the setup halfway in the new wizard and continue it in the previous one (and vice versa): the step and the data are kept.
    • Keep a step of the new wizard open, complete the setup in another session (previous wizard or another browser), then change something and press "Next": nothing is saved, the dashboard opens with "Setup already completed" and "The setup was completed in another session.".

    Test Case 9 - Resume of an instance left at the old trunk steps

    • On an instance where the previous wizard was left at the physical trunks step, sign in to the new wizard: the dashboard and the other pages redirect to "Trunks", "Step 3/6", tab "VoIP".
    • The same with an instance left at the VoIP trunks step.
    • From there, open the URL of the inbound routes step: you stay on "Trunks"; "Next" moves on as usual.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

nethvoice

Projects

  • Status
    In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions