Skip to content

Integrations - redesign admin UI #7943

Closed
Closed

Description

@AmaLuci

Goal
Reorganize and simplify the configuration of external integrations and data sources used by the PBX and CTI.

This section includes:

  • Phonebook sources (external contact sources and synchronization)
  • Video sources (IP cameras and intercoms)
  • Parameterized URLs (external integrations triggered by call events)
  • Customer cards configuration (where applicable)
  • External services integrations (e.g. TTS/STT)

Design goals

  • replace the current “Applications” concept with a clearer and more consistent structure
  • simplify setup and management of external data sources (e.g. phonebook)
  • improve clarity of integration points with external systems (e.g. CRM via URLs)
  • ensure scalability for future integrations

Output
hi-fi mockups
main interaction flows
states and edge cases where relevant

Activity

  1. added this to the NethVoice 1.9 milestone on Mar 30, 2026
  2. self-assigned this
    on Mar 30, 2026
  3. added theissue type on Mar 30, 2026
  4. added
    nethvoice
    on May 11, 2026
  5. moved this from In Progress to Todo in NethVoiceon Nov 10, 2026
  6. AmaLuci commented on Nov 19, 2026

    @AmaLuci
    Author

    Video sources
    Mockups ready in Figma here

  7. AmaLuci commented on Nov 19, 2026

    @AmaLuci
    Author

    Customer cards
    Mockups ready in Figma here

  8. tonyco97 commented on Nov 20, 2026

    @tonyco97

    Test

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

    These test cases cover Integrations as they are today; the redesigned video sources with RTSP streams will be covered by a later update of this comment.

    Setup:

    • NethVoice instance updated to the latest PR testing image, wizard already completed.
    • At least 3 profiles, 2 groups, users in each profile, and NethVoice CTI signed in with one of these users.
    • A reachable MySQL (or SQL Server) database with a contacts table, a CSV file of contacts with accented names, an IP camera or door phone that returns a still image over http(s) (with and without user and password in the address).
    • A second administrator account that can open only Integrations; ask the developers to prepare it on the test instance.
    • The new interface is at https://<voice host>/nethvoice/, page Integrations. Run every test case in dark and light theme and at least once at phone width (390 px).

    Test Case 1 - Tabs and external services

    • Integrations shows the tabs "Phonebook", "Video sources", "Parameterized URLs", "Customer cards" and "External services"; reloading the page keeps the open tab.
    • "External services" shows "Configured in the NethServer administration" and lists "Real-time call transcription", "Voicemail transcription" and "Call summary"; nothing can be changed here.

    Test Case 2 - Phonebook: database source

    • With no sources: "No phonebook sources" with "Create source".
    • "Create source" and press "Create source" in the drawer with empty fields: "Enter the phonebook name", "Enter the host", "Enter the password", "Enter the query" and "Test the source to read its columns." are shown; nothing is created.
    • Choose "MySQL", fill "Phonebook name", "Host", "Database", "User", a wrong "Password" and a SELECT "Query", then "Test source": "Cannot read the source" with "Check the connection data and the query, then try again.".
    • Enter the right password and "Test source": "The source can be read: first N rows shown below" with a preview of the data.
    • "Field mapping": columns named like a phonebook field are mapped by themselves, the others are "Not imported"; a phonebook field already chosen is not offered for another column.
    • "Sharing": "Groups" with one group; "Synchronization": a value like "Every 6 hours"; "Create source": the list shows the source with its type, sharing, synchronization and "Enabled".
    • "Edit" the source: "Password" is empty with "Leave empty to keep the current password."; the "Source type" cannot be changed; save a new name without typing the password: it is saved and the source still works.
    • "Edit" again and change "Host": "Enter the password again to connect to a different server." is shown and "Test source" asks for the password.

    Test Case 3 - Phonebook: CSV source, synchronization and deletion

    • "Create source" > "Source type" "CSV file" > "Upload a CSV file": a file that is not .csv or .txt shows "Choose a .csv or .txt file"; a file larger than 8 MB shows "The file is larger than 8 MB".
    • Upload the contacts CSV: "URL" is filled by itself ("The file has been uploaded and its address set above"); "Test source", map the fields and "Create source".
    • Row menu > "Sync now": "Synchronization completed"; the contacts (accents included) appear in the NethVoice CTI phonebook for the users who can see the source.
    • Row menu > "Disable": "Source disabled"; for a disabled source "Sync now" is disabled; "Enable": "Source enabled".
    • "Filter sources" with a text that matches nothing: "No sources found" with "Try different or fewer words." and "Clear filter".
    • Row menu > "Delete": "Source will be permanently deleted. The contacts imported from this source are removed from the phonebook."; confirm: the source disappears and its contacts are no longer in the NethVoice CTI phonebook.

    Test Case 4 - Video sources: create and test

    • With no sources: "No video sources" with "Create video source".
    • "Create video source" and press "Create video source" in the drawer with: the name of an existing source written in another case (e.g. front door! when Front door exists), an address starting with rtsp://, the opening code 9a and no profile: "Another video source has the same name", "Enter a URL starting with http:// or https://, without spaces", "Use digits, optionally preceded by * + # and followed by * #, up to 10 characters" and "Select at least one profile" are shown; nothing is created.
    • Enter a new name and the http(s) address of the camera snapshot, then "Test source": "The source returned an image" and the image is shown under "Preview".
    • Use the address of a web page or of a page that needs a login: "Cannot read an image from the source" with "The address does not return a JPEG, PNG or GIF image. Check that it points to a still image and does not require a login.".
    • Use an address that cannot be reached: "Cannot read an image from the source" with "The image cannot be downloaded from this address. Check the URL and that the camera can be reached from the PBX.".
    • With the right address choose the door phone in "Extension" (optional), "Opening code" *9 and two "Profiles", then "Create video source": "Video source has been created."; the row shows the name with "Opening code: *9", the address, the extension and the profiles.
    • "Filter video sources" with the name of a profile finds the sources of that profile.
    • Sign in to NethVoice CTI with a user of one of the chosen profiles (the profile has "Video sources panel" enabled): the source is shown with its image.

    Test Case 5 - Video sources: password in the address, edit and delete

    • Create a source whose address contains user and password (e.g. http://viewer:<password>@<camera address>/snapshot.jpg): the list shows the password as ••••; click the address to copy it: the copied text has the password masked too.
    • "Filter video sources" with the password finds nothing ("No video sources found"); at 390 px the password is still masked.
    • "Edit" the source: "Image URL" shows the full address with the password; "Test source" works.
    • Rename the source: "Renaming a source also renames the permission that enables it in the profiles." is shown; remove one profile and "Save": "Video source has been updated."; in NethVoice CTI the users of the removed profile no longer see the source.
    • Row menu > "Delete": "Video source will be permanently deleted. Users will no longer see it in NethVoice CTI."; confirm: "Video source has been deleted.".

    Test Case 6 - Parameterized URLs

    • With no URLs: "No parameterized URLs" with "Create URL".
    • "Create URL" and press "Create URL" in the drawer with empty fields: "Enter the URL" and "Select at least one profile" are shown.
    • Type https://crm.example.com/open?number= and click $CALLER_NUMBER under "Insert a placeholder": the placeholder is inserted where the cursor is.
    • In "Profiles" the profiles that already have a URL are disabled ("Already used by another URL"); choose a free one; check "Open only for calls coming from a queue"; create: the row shows the URL, the profile and "Queue calls only" (other URLs show "All calls").
    • When every profile already has a URL, "Create URL" shows "No profile available".
    • "Edit" a URL, remove one of its profiles and "Save": that profile can now be chosen for another URL.
    • Call a user of the profile from 0555010123 through a queue: NethVoice CTI opens the URL with the caller number.
    • Row menu > "Delete": "URL will be permanently deleted. It will no longer open for the users of its profiles."; confirm: the URL disappears.

    Test Case 7 - Customer cards: database connections

    • With nothing configured: "No customer cards configured".
    • "Create connection" and press "Create connection" in the drawer with empty fields: "Enter the database name", "Enter the host" and "Enter the password" are shown.
    • Choose a "Database type" (e.g. PostgreSQL): "Port" is set to the default of that type.
    • "Test connection" with a wrong password: "Connection failed" with "The database cannot be reached with these data."; with the right one: "Connection succeeded"; "Create connection" adds it to "Database connections".
    • The connection of the system is marked "Managed by the system" and cannot be edited.
    • "Edit" a connection: "Password" is empty with "Leave empty to keep the current password."; change "Host": "Enter the password again to connect to a different server.".
    • Row menu > "Delete" on a connection used by a card: "This connection cannot be deleted because these cards use it:" with the cards, and no delete button; on an unused connection: it is deleted.

    Test Case 8 - Customer cards: templates

    • Built-in templates are marked "Built-in" and open with "Show"; they cannot be changed ("Built-in templates cannot be changed: duplicate it to customize it.").
    • Row menu of a built-in template > "Duplicate": "Duplicate " opens with the same code; enter a new name and "Create template": it is listed as "Custom".
    • "Create template" with the name of a built-in or custom template: "Another template, built-in or custom, has the same name"; with a new name and "Code (EJS)" containing accented characters: it is created.
    • "Edit" a custom template: the name cannot be changed ("The name of a template cannot be changed"); change the code and "Save".
    • Row menu > "Delete" on a template used by a card: "This template cannot be deleted because these cards use it:" with the cards; on an unused custom template: it is deleted.

    Test Case 9 - Customer cards: cards

    • "Create card" and press "Create card" in the drawer with empty fields: "Select a database connection", "Select a template" and "Enter the query" are shown; no profile is required ("Users of these profiles see the card in NethVoice CTI. Without profiles, nobody sees it.").
    • Fill "Name", "Database connection", "Template" and a "Query" that uses $NUMBER, then "Show preview": the card is rendered, accented characters included.
    • "Test number" abc: "Use digits only, optionally preceded by +"; 0555010123: the preview uses that number.
    • A query that cannot run: "The query cannot be run. Check the query and the database connection.".
    • Choose "Profiles" and "Create card": the card is listed with connection, template and profiles.
    • "Edit" the card, change the name and press Esc: "Unsaved changes" asks before discarding ("Keep editing" / "Discard changes").
    • Call a user of the chosen profile from a number that is in the database: NethVoice CTI shows the card.
    • Row menu > "Delete": "Card will be permanently deleted. Users will no longer see it in NethVoice CTI."; confirm: the card disappears.

    Test Case 10 - Administrator that can open only Integrations

    • Sign in with the administrator that can open only Integrations: the side menu shows only "Integrations" and the tabs work.
    • Create, edit and delete a video source, a parameterized URL, a database connection and a card: everything works as for admin.
    • Create a CSV phonebook source with "Upload a CSV file", test and synchronize it: it works.
    • Create a database phonebook source: "Test source" is disabled with "Only a superadministrator can test a database source.".
    • Customer cards > "Templates": there is no "Create template" and no "Duplicate"; templates open only with "Show".
  9. AmaLuci commented on Nov 20, 2026

    @AmaLuci
    Author

    Parameterized URLs
    Mockups ready in Figma here

  10. AmaLuci commented on Nov 20, 2026

    @AmaLuci
    Author

    Phonebook sources
    Mockups ready in Figma here

  11. moved this from Todo to Testing in NethVoiceon Nov 20, 2026
  12. added
    verified
    on Nov 23, 2026
  13. moved this from Testing to Verified in NethVoiceon Nov 23, 2026
  14. moved this from Verified to Done in NethVoiceon Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    nethvoiceverified

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions