Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contatta on NethServer 8 #7140

Open
Amygos opened this issue Nov 15, 2024 · 0 comments
Open

Contatta on NethServer 8 #7140

Amygos opened this issue Nov 15, 2024 · 0 comments
Assignees
Labels
nethvoice Bug or features releted to the NethVoice project testing Packages are available from testing repositories
Milestone

Comments

@Amygos
Copy link
Member

Amygos commented Nov 15, 2024

The Contatta module consists of three parts:

  • A FreePBX module that writes the dial plan and has a web interface for configuring the IP addresses of AGIs and the access user for AMI.
  • A set of APIs:
- Authentication
- Trunk creation
- Enable/disable trunk
- Delete trunk
- GET/POST/DELETE inbound routes and outbound routes
- GET/POST/DELETE custom destinations
- Create calls for predictive dialing
  • The authentication for the REST APIs is done with a random key generated during installation and shared.

  • Enables an SMB share to share audio files.

Work required for implementation on NethServer 8:

  1.  NethVoice: implementation of custom module installation
    
  2.  FreePBX Module: No significant modifications required
    
  3. API: It is no longer possible to directly copy the files into the filesystem, but we can place them in the FreePBX module under the htdocs folder, which will expose them in /freepbx/contatta
    
  4. The generation of the authentication key and tables, previously done by the installation event, should be moved to the install() of the FreePBX module
    
  5. Sharing of recordings: A possible solution is to share the recording volume (and possibly the audio files) with sftpgo https://sftpgo.github.io/.
    

Estimated time:

1 - 8h: I thought of adding a volume from which the modules are taken and copied at the container startup.

2,3,4 - 8h: Possibly less, but some testing will be needed for the installation and update part.

5 - 8h: Using the sftpgo container seems straightforward; my concern is how to expose it, the routes, and what happens during NethVoice updates.

Additionally, some time will be needed for testing and writing an installation procedure.

@Amygos Amygos converted this from a draft issue Nov 15, 2024
@Amygos Amygos removed this from NethServer Nov 15, 2024
@Amygos Amygos added this to the NethVoice 1.3 milestone Nov 15, 2024
@andrea-marchionni andrea-marchionni added the nethvoice Bug or features releted to the NethVoice project label Nov 18, 2024
@Stell0 Stell0 moved this from Todo to In Progress in NethVoice Feb 6, 2025
@Stell0 Stell0 self-assigned this Feb 6, 2025
Stell0 added a commit to nethesis/ns8-nethvoice that referenced this issue Feb 13, 2025
* Add alpine minimal sftp container

* Created Systemd unit disabled by default

* Auth using FreePBX admin user password checking mysql

* Require an additional port to Nethserver for sftp

NethServer/dev#7140
@Stell0 Stell0 added the testing Packages are available from testing repositories label Feb 13, 2025
@nethbot nethbot moved this from In Progress to Testing in NethVoice Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nethvoice Bug or features releted to the NethVoice project testing Packages are available from testing repositories
Projects
Status: Testing
Development

No branches or pull requests

3 participants