How to add the Delete License for Amethyst

Requirements:

  • archiver version 1.0.6.3 or newer.
  • AmtWebadmin2 version 2.0.1.66 or newer
  • The license will require a signed off document from the client indicating what their delete preferences are.
    These settings can only be changed by issuing a new license. The document will request if the call-data and recording must be deleted or just the recordings.

Make sure that the amtarchiver can run.

cd /opt/datatex/archive
./doarchive

You should get a line like this if this site doesn’t use the new Archiving service yet.
2023-02-06 16:14:02.789 1.0.6.3 Error - cannot archive as Archive URL is blank or not enabled

Webadmin2

  • Login to the Webadmin2
  • Go to the Licenses page
  • Get the Serial number from this page and supply it to Sales to generate the license.
  • Make sure that the archiver is disabled in the cron until we have tested…
  • Enter the license that was provided and check that the data matches the requirements.
  • Ensure that the archive times is configured so that you can test. Go to the Archive page and set the start time to be earlier that what it is now.

    This can be set to a valid range for this customer after the test is done.

amtarchiver

  • Run the doarchive.sh script again and check that it logs properly. the first run will take a long time to run so make sure that you run this ins a Byobu session so that you can disconnect and reconnect later.
2023-02-06 16:47:55.884 1.0.6.3 Purging only: True
2023-02-06 16:47:55.884 1.0.6.3 Archive days live = 90
2023-02-06 16:47:55.943 1.0.6.3 DoDeleteKeepCallDetails - deleting recordings, but keeping call details
2023-02-06 16:51:53.290 1.0.6.3 DoDeleteKeepCallDetails finished
2023-02-06 16:51:53.290 1.0.6.3 DoPurge - keeping live from 2022-11-08

Then the recording deletion should start:

2023-02-06 16:55:21.159 1.0.6.3 DEBUG UpdateArchiveStatus((342, 0, 6)
2023-02-06 16:55:21.222 1.0.6.3 TArchive.DoPurge - deleted /mnt/drive2/exclusive/20161103/a161103-00011a.gsc
2023-02-06 16:55:21.222 1.0.6.3 DEBUG UpdateArchiveStatus((393, 0, 6)
2023-02-06 16:55:21.300 1.0.6.3 TArchive.DoPurge - deleted /mnt/drive2/exclusive/20161103/a161103-00011b.gsc
2023-02-06 16:55:21.300 1.0.6.3 DEBUG UpdateArchiveStatus((343, 0, 6)
2023-02-06 16:51:53.290 1.0.6.3 DoDeleteKeepCallDetails finished
2023-02-06 16:51:53.290 1.0.6.3 DoPurge - keeping live from 2022-11-08
  • If the time slot are configured incorrectly you will see this error message
2023-02-06 16:40:15.001 1.0.6.3 Archiving enabled, but not in archive time yet - time now is 16:40:15, archive time is 18:00-06:00