Estimated reading time: 2 min

ARCHIVING VOICE RECORDING ON CENTOS 5To Top

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

  1. Connect to Tegsoft server via SSH.
  2. mkdir -p /var/spool/asterisk/monitorArchive
  3. ,mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER -o username=USER,password=PASSWORD /var/spool/asterisk/monitorArchive
  4. From the Tegsoft servers screen, / var / spool / asterisk / monitorArchive will be written as archive destination.
  5. The archiving time is set from the Tegsoft servers screen.

If there is no password, 3.step 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.

  1. Connect to Tegsoft server via SSH.
  2. mkdir -p /var/spool/asterisk/monitorArchive
  3. ,mount -t cifs //SHARED_SERVER_IP_ADDRESS/SHARED_FOLDER -o username=USER,password=PASSWORD /var/spool/asterisk/monitorArchive
  4. From the Tegsoft servers screen, / var / spool / asterisk / monitorArchive will be written as archive destination.
  5. The archiving time is set from the Tegsoft servers screen.

HERE İS 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=********