Estimated reading time: 5 min

Archiving Voice Recording Centos 5 & Centos 7To 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-08-28 Initial release of the document.

 

 

 

PrefaceTo Top

This document explains how to archive voice recordings. The preface for archiving voice recordings contains the following sections:

  • Archiving Voice Recording On Centos 5
  • Archiving Voice Recording On Centos 7

 

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

 

Archiving Voice Recording On Centos 5To Top

If the following steps are followed, archive files can be moved to the windows share.

  • Connect to Tegsoft server via 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, /var/spool/asterisk/monitorArchive will be written as archive destination.
  • The archiving time is set from the Tegsoft servers screen.
  • If there is no password, 2. command will be like this:
mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER  /var/spool/asterisk/monitorArchive

Archiving Voice Recording On Centos 7To Top

If the following steps are followed, archive files can be moved to the windows share.

PS: All these IP addresses can be used only testing. Please use your IP address.

  • Connect to Tegsoft server via 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, /var/spool/asterisk/monitorArchive will be written as archive destination.
  • The archiving time is set from the Tegsoft servers screen.

HERE IS THE EXAMPLE USAGE :

mount.cifs //DESTINATION_FOLDER/ /var/spool/asterisk/monitorArchive –verbose -o vers=1.0,username=USERNAME,domain=DOMAIN_NAME,password=PASSWORD

mount.cifs //1.1.1.1./Tegsoft_test /var/spool/asterisk/monitorArchive –verbose -o vers=1.0,username=tegsoft,domain=testdomain,password=test0123

mount.cifs kernel mount options: ip=1.1.1.1,unc=\\1.1.1.1Tegsoft_Yedek,vers=1.0,user=tegsoft,domain=testdomain,pass=********