Skip to content

NethVoice: support storing call recordings on external disk #7979

@Amygos

Description

@Amygos

Purpose and Motivation

NethVoice currently does not provide explicit support for storing call recordings on an external disk. On NethServer 8, a possible approach is to assign an additional disk to a module volume through the org.nethserver.volumes label, but this comes with important limitations.

The agreed short-term approach is to support this feature by assigning the whole spool volume to an external disk. This makes it possible to place recordings on external storage with a relatively simple implementation and without introducing more invasive changes to the current architecture.

At the same time, this solution should be considered an initial step. The spool volume is shared with other data besides call recordings, so moving it to a slower disk may also affect other components. In addition, the storage target can only be selected during module installation. These limitations should be documented as known constraints and treated as possible areas for future improvement.

Proposed solution

Implement support for external disk storage in NethVoice with the following scope:

  • implement the additional org.nethserver.volumes label in the module image
  • assign the entire spool volume to the external disk
  • allow this choice only during the module installation phase

This provides a practical first implementation for users who need to store recordings on external media, while keeping the solution aligned with the current NethServer volume assignment model.

Alternative solutions

Possible future improvements, not part of the current implementation, include:

  • allowing the storage destination to be changed after installation
  • supporting only a specific subdirectory such as /var/spool/asterisk/monitor instead of the whole spool volume
  • providing a user interface option to configure recording storage more easily

See also

Metadata

Metadata

Assignees

Labels

nethvoiceBug or features releted to the NethVoice project

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions