Skip to content

Contatta on NethServer 8 #7140

@Amygos

Description

@Amygos

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.

Metadata

Metadata

Assignees

Labels

nethvoiceBug or features releted to the NethVoice project

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions