Archived calls

From Kolmisoft Wiki
Revision as of 13:01, 29 September 2020 by Edvardas (talk | contribs) (→‎Settings)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

When there are many old calls that are no longer useful, they can be archived and moved to other place.

Such house-keeping increases system stability, reliability and speed.

This functionality also proportionally reduces size of /var/lib/elasticsearch/ directory.

Usage

Settings

Archiving options can be set in SETTINGS -> Setup -> Settings -> Calls tab:

Archived calls settings2.png

  • Delete not-Archived not-Answered Calls older than: - this is the number of days (default is 45 days in fresh installations). When not-Archived not-Answered call is older than the number you set, it will be deleted. Linux cron job /etc/cron.d/mor_delete_old_calls

is executed every 30 minutes which check if there are any matching calls and delete them if it find any.

  • Archive to - choose where to store Archived Calls.
  • By default Archived Calls are stored in another MySQL table mor.calls_old.
  • You can also choose to store Archived Calls in compressed CSV files by selecting File (TGZ) option. If File (TGZ) option is enabled, Calls will be archived to CSV files (max 50000 lines per file), then compressed to TGZ and stored in your Backup storage directory (http://wiki.kolmisoft.com/index.php/Backup_system#Configuration).
  • It is also possible to choose to store Archived Calls to FTP (TGZ). In this case Archived Calls will be stored on FTP server. Please enter FTPserver details if you would like to use this option.
  • Archive Calls older than – this is the number of days (default 365 days). When Call is older than the number you set, it will be archived and moved to Archived Calls. If set to 0, then feature is disabled.
  • Archive only ANSWERED calls – check to archive only answered Calls. Failed, Busy and No Answer Calls will be deleted.
  • Archive Calls every day at – when archiving process should be started? Call archiving requires a lot of system resources therefore it is advisable to start archiving when call traffic is low.
  • Stop Archiving Calls at – when archiving process should be stopped? If is advisable to stop archiving before call traffic is increased. If time is not specified, Call archiving will be stopped when all Calls are archived.
  • Delete Calls instead of Archiving - if you don't need Calls older than X days, you can delete them instead of archive.
  • Delete Archived Calls older than - this is the number of days. When archived Call is older than the number you set, it will be deleted.
  • Retrieve PCAP files from the Proxy Server – default off. Works only when CCL module is activated.

NOTE: you can check the completion of calls archiving process and other information in Background Tasks.

Archived Calls

If calls are stored in another MySQL table mor.calls_old it can be found at STATISTICS –> Calls –> Archived Calls

Old-calls.png

Here you can see similar table to Last Calls, so you can check calls information at anytime you want. You can find more information about each field in Last Calls

NOTE Simple Users cannot see Archived Calls page.

See also