Skip to content

nethesis/ns8-nethvoice

Repository files navigation

NethVoice

NethVoice porting to NethServer 8

Install

Instantiate the module with:

add-module ghcr.io/nethesis/nethvoice:latest 1

The output of the command will return the instance name. Output example:

{"module_id": "nethvoice1", "image_name": "nethvoice", "image_url": "ghcr.io/nethserver/nethvoice:latest"}

Proxy

This module is intended to be used with the ns8-nethvoice-proxy module as SIP proxy

Configure

Module can be configured from cluster-admin NethServer 8 interface.

To make also provisioniong RPS work with Falconieri, you need to manualy set SUBSCRIPTION_SECRET and SUBSCRIPTION_SYSTEMID into ~/.config/state/environment file and restart freepbx container with systemctl --user restart freepbx

Also PUBLIC_IP environment variable should be configured

You can access NethVoice wizard at:

https://makako.nethesis.it/nethvoice/

Notify for services

After FreePBX configurations have been applied, some containers should be restarted or reloaded. The watcher.path units looks for files named <action>_<service> inside the notify directory.

If a container wants to signal a restart, it must mount the file using the volume option. Eg:

--volume=./notify:/notify

Then, create a file named <action>_<service>, like reload_nethcti-server. The file must be created inside the container. Example:

touch /notify/restart_nethcti-server

Uninstall

To uninstall the instance:

remove-module --no-preserve nethvoice1

Testing

Test the module using the test-module.sh script:

./test-module.sh <NODE_ADDR> ghcr.io/nethserver/nethvoice:latest

The tests are made using Robot Framework

Music

This project incorporates a number of royalty-free, creative commons licensed music files. These files are distributed under the Creative Commons Attribution-ShareAlike 3.0 license through explicit permission from their authors. The license can be found at: http://creativecommons.org/licenses/by-sa/3.0/