Function resolution rule (featurerule)
Description
Enables or blocks a service function call based on the filter by initiator number and destination number. The rule is applied after routing the call to one of featurecode with types: 'mesh', 'prompt', 'monitor', 'pickup', 'callwaiting', 'barge', 'intercom', 'replace', voicemail', as well as BLF subscriptions and notifications - at the time of the respective transaction.
In the test trace of routing rules, no permit rules are applied and the corresponding results are not displayed.
If, according to the applied call initiator and destination number filters, no rules are found that allow the use of a fichacode, the call is terminated by rejection with code 403. The call is also terminated with a rejection if a rule prohibiting the call is detected according to the priority.
When a domain is created, three rules are automatically created: "default all" - allowing everything to everyone, "default self" - allowing users everything to themselves, "default callmanager" - allowing the user callmanager everything to everyone. The first of these must be turned off when configuring constraints. The second and third must remain in some form for the needs of system calls.
Fields
{
"id": uuid,
"name": str,
"types": str,
"filter_from": str,
"filter_to": str,
"enabled": bool,
"priority": int,
"opts": {
"title": str,
"comment": str,
"tab": array<obj>
},
"ext": {
"ct": date,
"lwt": date
}
}
Specification | Description |
---|---|
Field: |
Identifier. Can be specified at creation, otherwise generated by the system. |
Field: |
Rule Name. |
Field: |
Rule switch. |
Field: |
List of subscriber function types (ficacodes) to which the rule applies.
|
Field: |
Source number filter mask. |
Field: |
Field: |
Priority of the rule in the search sequence. The smaller the value, the higher the priority. |
Field: |
Rule Action. Possible options:
|
Field: |
Field: |
|
Arbitrary header |
Field: |
Arbitrary comment |
Field: |
Tabular data for using filters (and modifiers) within a single route search session. |
Field: |
Allows you to extend the compound with arbitrary keys and values |
Field: |
Object creation time |
Field: |
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
Field values in the table can be used as field values:
The tabular modifier may be used in combination with other character mode control commands. 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: |
See also
Logical roles
-
b2b conducts routing and rule enforcement.