Storage Limits
The Storage Limits page allows you to limit the amount of storage consumed and set up other quotas for a given tenant.
Info
The Enforcement Job is required for limits to work.
Enable Storage Limits
To enable the storage limits, navigate to Administration > Storage > Storage Limits and click the Edit Limits button next to a specific tenant.
Select the Enable storage limits check box and specify the threshold values for the storage capacity. You can define the following quotas and limits:
- Maximum size of storage space used (in GB).
- Maximum duration of all call recordings (in minutes).
- Maximum retention period for a given tenent (in days).
Info
- The storage space optimization comes into effect when any limit/quota from the above is reached.
- Leaving the threshold values empty will set no storage limits.
Click Save to apply your changes.
Storage Limits Enforcement
The "Storage Limits Enforcement" should be used to start the space optimization of the specific tenant storage.
Navigate to Administration > Storage > Storage Limits Enforcement and click Add to create a new job.
Fill out the required configuration parameters:
- Name - give the job a distinctive name.
- Access scope - specifiy what tenants are affected by this job. This setting is visible only for a multi-tenant environment.
- Test only - use this option for testing purposes. If selected, the job will be simulated by writing a log file to a test drive.
- Delete mode - specify whether the oldest or newest recordings will be deleted first.
- Keep metadata - select this option to keep metadata for deleted files.
Job advanced settings
Please also check the following advanced settings for the job:
- Log file - select this check box to write a detailed log for diagnostic purposes.
- Keep job history - specify the number of days to keep the the successful job history. Default value:
60
. - Timezone - allows you to change the timezone of a scheduled job. Timezone affects the scheduler, date/time attribute in Filtering Criteria, and Filename Format. Leave this attribute empty to use a system default timezone.
- Execution time limit - a job will be aborted if it executes longer than the specified time limit (in minutes). Leave this attribute empty to use a default value. Default value:
<not defined>
. - Keep alive timeout - specify a timeout (in minutes) to terminate the job. Leave this attribute empty to use a default value. Default value:
15
. - Email notification on completion - activates the notification by email about successful job execution. You can trigger the email notification either every time the job completes successfully or for the first of any consecutive completion message.
- Email notification on failure - activates the notification by email about failed job execution. You can trigger the email notification either every time the job failes or for the first of any consecutive failure message.
- Email notification address - specify the email address for notifications. Use a comma to separate multiple email addresses.
Info
Note, it is necessary to configure "Web portal URL" under Administration -> System -> Advanced Settings, otherwise the URL links to job details in the email will be invalid. Also, make sure the email integration is enabled under Administration > System > Email Integration.
Schedule
The job may be started manually or automatically by schedule. The schedule may be configured to run the job every hour/day/week/month. Also, you can set up a custom interval by selecting the Custom (crontab) option.
Please check some examples, on configuring a custom interval:
- Run the job every 5 minutes.
- Run the job on 5-th minute of every hour (i.e. 00:05; 01:05; 02:05 and so on).
- Run the job on 15-th and 45-th minute of every hour (i.e. 00:15; 00:45; 01:15, 01:45 and so on).
- Run the job every hour, on the hour, from 8 AM through 5 PM.