Estimated reading time: 7 min

Voice Record Archive OperationsTo Top

 

Legal WarningTo Top

Specifications, details, statements, and information in this manual are subject to change without any notice. All the information provided, procedures shared, or statements listed below are for Tegsoft technical experts only. Using this manual without Tegsoft Technical qualification should be avoided. Tegsoft has no obligation over the result of the application on any use. Some statements may not be suitable for the use; avoiding without technical qualification may be crucial. Users must take full responsibility for performing any steps part of this manual. Users who are not aware of technical terms and operations described here; should be aware that this document may not be suitable for their usage.

 

Changes to This DocumentTo Top

Date Change Summary
2020-09-01 Initial release of the document.

 

 

 

PrefaceTo Top

This document explains about voice record archiving and possible mounting problem about accesing that records. The preface for Voice Record Archive Operations contains the following sections:

  • Voice Recording Archiving
  • Voice Record Access Problem

 

Obtaining DocumentationTo Top

Tegsoft documentation and additional literature are available on Tegsoft Knowledge Base. This section explains the product documentation resources that Tegsoft offers.

Tegsoft Knowledge Base

You can access the most current Tegsoft documentation at this URL:

https://tegsoft.com/knowledge-base/

 

PrerequisitesTo Top

  • You must have basic knowledge of networking
  • You must have basic knowledge of SSH connection
  • You must have basic skills of Linux Command Line Interface

 

General InformationTo Top

Tegsoft voice records are saved in “Monitor” director. Voice records should be archived and moved because of size and security. According to this, voice records in Monitor are archived in MonitorArchive directory with mp3 format every night. You can set the the archiving time when it should be done from project based Tegsoft screen.

At this step, we will see the mount and umount terms.

Mount command mount a storage device or file system and make them accessible. And then adds it to an existing directory structure.

Umount command detaches the mounted file system. Notify the system to complete pending read or write operations and safely unmount them.

All accessed files in a UNIX or in a Linux similar to UNIX system are arranged in form of a big tree, file hierarchy is rooted at ‘/’. These files can be spread out on various devices.

Mount command mounts file system found on a device or on another place to file tree (Storage). Conersly, umount command unmounts it from the tree.

For more details, use this link : https://www.computerhope.com/unix/umount.htm

 

Voice Recording ArchivingTo Top

If you follow the next steps, archive files can be moved to windows share.

  • Connect to Tegsoft server with SSH and run these commands below
mkdir -p /var/spool/asterisk/monitorArchive

mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER -o username=USER,password=PASSWORD /var/spool/asterisk/monitorArchive
  • From the Tegsoft servers screen, archive destination should be set as “/var/spool/asterisk/monitorArchive”.
  • Archive time is set from Tegsoft servers screen.
  • If there is no password, this command should be written instead of 2. command.
mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER /var/spool/asterisk/monitorArchive

 

Voice Record Access ProblemTo Top

Sometimes files cannot be mounted to storage because of the system failure. Umount/mount operation is required to access these files physically located in monitorArchive.

Picture below show that.

The Windows shared PC must have access to both MonitorArchive and Storage.

First, umount operation and then mount operation will allow access to the files again.

The operation steps are below.

  • Connect to Tegsoft server with SSH and run these commands below
umount /var/spool/asterisk/monitorArchive

mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER -o username=USER,password=PASSWORD /var/spool/asterisk/monitorArchive
  • From the Tegsoft servers screen, archive destination should be set as “/var/spool/asterisk/monitorArchive”.
  • Archive time is set from Tegsoft servers screen.
  • If there is no password, this command should be written instead of 2. command.
mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER /var/spool/asterisk/monitorArchive