Difference between revisions of "Archived calls"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
=Description=
=Description=


When there are many old calls that are no longer useful, they can be archived and moved from [[Last Calls]] page to '''STATISTICS –> Calls –> Archived Calls'''.   
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.  
Such house-keeping increases system stability, reliability and speed.  


<br>
This functionality also proportionally reduces size of /var/lib/elasticsearch/ directory.
[[File:old-calls.png]]
<br><br>
<br><br>
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]]<br>


'''NOTE''' Simple Users cannot see Archived Calls page.
=Usage=
 
==Settings==
<br><br>
[[File:Archived calls settings2.png]]
<br><br>
<br><br>
Script 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 Files |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 [http://wiki.kolmisoft.com/index.php/Configuration_from_GUI#FTP FTP]server details if you would like to use this option.<br>
* '''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.<br>
* '''Archive only ANSWERED calls''' – check to archive only answered Calls. Failed, Busy and No Answer Calls will be deleted.<br>
* '''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.<br>
* '''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.<br>
* '''Delete Calls instead of Archiving''' - if you don't need Calls older than X days, you can delete them instead of archive.<br>
* '''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.<br>


=Settings=
'''NOTE''': you can check the completion of calls archiving process and other information in [[Background_Tasks| Background Tasks]].
Archiving options can be set in '''SETTINGS -> Setup -> Settings -> Calls''' tab:
<br><br>


'''Archive Calls older than''' - this is the number of days. When call is older than the number you set, it will be archived and moved to '''Archived Calls'''.<br>
==Archived Calls==
'''Archive only ANSWERED calls''' - check to archive just answered Calls.<br>
'''Archive Calls every day at''' - this is the time when [[Background_Tasks| Background Task]] takes place and calls from Last Calls are moved to '''Archived Calls'''.<br>
'''Archive Calls till''' - if there are many old calls, it will take time to archive all of them. You may need to set the time when background task no longer proceeds and the action is done. <br>
'''Delete Calls instead of Archiving''' - if you don't need Calls older than X days, you can delete them instead of archive. <br>
'''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. <br>


'''NOTE''': you can check the completion of calls archiving process and other information in [[Background_Tasks| Background Tasks]].
If calls are stored in another MySQL table ''mor.calls_old'' it can be found at '''STATISTICS –> Calls –> Archived Calls'''
<br><br>
[[File:old-calls.png]]
<br><br>
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]]<br>


'''NOTE''' Simple Users cannot see Archived Calls page.
<br><br>
= See also =  
= See also =  


<!--* Call Rerating-->
<!--* Call Rerating-->
* [[Background_Tasks| Background Task]]
* [[Background_Tasks| Background Task]]
* [[Archived Calls in Files]]

Latest revision as of 14:32, 15 October 2024

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



Archived calls settings2.png

Script 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