Record Mover (recmover)
Description
Role for moving call recordings across domain storages. Intercepts recording mixing completion events and moves recordings according to recording rules into the file storages of the corresponding domains.
Made redundant in Active-Passive mode. Scaled by splitting the domain tree.
Initiates the transcription process upon completion of its own operation. Also generates the callevents.records_moved message.
The Message Broker is required in the configuration.
Code |
|
Operation mode |
|
Redundancy mode |
|
Site types |
|
Layer |
|
Placement |
|
State preservation and recovery on restart |
|
Application |
|
Own storage |
|
Limitations
-
A S3 storage specified by a recording rule can act as the domain file storage. By default, the domain recording storage is a subdirectory inside the common directory where data is placed after mixing (the mix role).
-
If the storage is unavailable, the placement task is saved in a buffer. The buffer is shared by all system domains. The buffer size is 100 thousand tasks. Each task is stored in the buffer for 24 hours after mixing. Retry attempts are made approximately every 10 minutes, but in queue order.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
|
|
required |
Name. May consist of Latin letters and digits and must start with a letter. |
|
|
required |
Role type. Possible values: |
|
|
empty |
Additional role options. Contains a JSON object or list. |
|
|
empty |
Role activity flag. When set to false, the role does not participate in validation and is not started. |
|
|
empty |
Limit on the number of CPU logical cores used. Default: 0 - unlimited. |
|
|
empty |
Default logging level set specifically for the role instance (microservice type). More |
|
|
|
Flag allowing parameter differences in roles of the same group. Default: false - not allowed. |
|
|
required |
Group number. |
|
|
required |
Order of the role instance within the group. |
|
|
|
Interval until the next iteration in case of an error, in seconds. |
|
|
|
Interval between copy operations (from completion of the previous to start of the next), in seconds. |
|
|
|
Mode of handling recordings as a data provider. Possible values:
|
|
|
|
Object storage operation mode.
|
|
|
global |
Takeover mode switch.
|
|
empty |
Configuration code of the call recording storage on the server (server.recstorepaths.key), which in turn contains an alias of the server directory for storing call recordings by default. If a recording rule assigns a specific existing storage in the domain, the call recording in that domain is placed there, and this parameter is not used. If the directory does not exist, it is created. |
Configuration example
Configuration management is performed in an application available to master domain administrators. The application hides the full configuration content, but it is still available through the API.
The configuration contains a section describing all instances of all roles. Parameters are defined for each specific role instance.
{
"name": "recmoverl1",
"roletype": "recmover",
"group": 11210,
"order": 1,
"intervalerrsec": 30,
"intervalsec": 30,
"mode": "copy"
}