Rules for automatic recognition of recorded conversations (asrrule)
Description
A rule of thumb for applying automatic telephone conversation-to-text recognition.
Applies after the call ends at the set time.
Only works when configured in the master domain to connect to the recognition service (settings.record_asr_options).
In a single phone call, participants can belong to different domains.
The process of making a recognition decision consists of
(1) Identifying call participants and their domains and preparing search parameters.
(2) Definition of a recognition rule in the initiator domain.
(3) In the case of a cross-domain call, defining a recognition rule in the domain of the called party.
(4) Making a recognition decision based on a positive record decision in at least one of the domains.
(5) Generate an event in each of the domains configured to record and recognize.
By default, conversations are not sent for recognition.
Fields
{
"id": uuid,
"priority": int,
"dir": str,
"fromnumber": str,
"tonumber": str,
"crossdomain": str,
"asr": intbool,
"schedule": str,
"periods": array<object>,
"opts": {
"title": str,
"comment": str
}
"ext": {
"ct": date,
"lwt": date
}
}
Specification | Description |
---|---|
Field: |
Identifier. Can be specified at creation, otherwise generated by the system. |
Field: |
Priority. A lower value means a higher priority. |
Field: |
Field: |
Call initiator number filter mask. |
Field: |
Caller Filter Mask. |
Field: |
Other domain filter mask. |
Field: |
Action qualifier. |
Field: |
Field: |
|
Activity interval during the week. |
Field: |
Field: |
|
Arbitrary header |
Field: |
Arbitrary comment |
Field: |
Allows you to extend the compound with arbitrary keys and values |
Field: |
Object creation time |
Field: |
Filter options by call direction
Value | Description |
---|---|
|
The rule can only be applied to intra-domain calls where both parties are subscribers of the current domain |
|
The rule can only be applied to cross-domain calls where the called party is a subscriber of the current domain |
|
The rule can only be applied to cross-domain calls where the initiating party is a subscriber of the current domain |
|
The rule can be applied to all calls where at least one of the parties is a subscriber in the current domain |
Filter operation modes
Mode | Description |
---|---|
|
The value to be subjected to the conformance check is passed through the filter character by character.
If it is necessary to specify one of the service characters as a target character, it should be enclosed in square brackets, e.g. For example, |
|
The pattern is applied to the original value Pattern. The structure of a regex pattern value: For example,- significance:
All standard regular expression rules can be applied when forming Pattern patterns. |
|
The value subject to compliance checking is a numeric integer and is within the specified numeric range. The structure of the dia-template value: For example,- significance: |
Work schedule
Value | Description |
---|---|
|
The rule is available for use at all times |
|
The rule is not available for use ever |
|
The rule is available for use only during business hours |
|
The rule is only available for use outside of business hours |
|
The rule defines the individual availability schedule in the field |
Weekly schedule list item
Field | Value | Description |
---|---|---|
|
|
Day of the week of the start of the segment ( |
|
|
Day of the week of the end of the segment ( |
|
|
Intraday segment start time in minutes |
|
|
Intraday segment end time in minutes |