Estimated reading time: 7 min
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.
Date | Change Summary |
2020-09-01 | Initial release of the document. |
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:
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/
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
If you follow the next steps, archive files can be moved to windows share.
mkdir -p /var/spool/asterisk/monitorArchive
mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER -o username=USER,password=PASSWORD /var/spool/asterisk/monitorArchive
mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER /var/spool/asterisk/monitorArchive
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.
umount /var/spool/asterisk/monitorArchive
mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER -o username=USER,password=PASSWORD /var/spool/asterisk/monitorArchive
mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER /var/spool/asterisk/monitorArchive
Was this article helpful?
Views: 399