Routing vector (route)
Description
A vector for routing phone calls and state subscriptions applied in the first stage of the two-stage routing process.
Vectors are analyzed in a strictly defined order corresponding to priorities.
The vector is analyzed through matching the conditions with the query parameters. In case all conditions are met, a search for routing rules inside the vector takes place - the second step of the routing process.
The configured set of routing vectors and rules can be tested through the diagnostic API.
Fields
{
"id": uuid,
"vector": str,
"priority": int,
"dir": str,
"fromnumber": str,
"fromdomain": str,
"fromextaccount": str,
"tonumber": str,
"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: |
Vector code |
Field: |
Vector priority. When the priorities of multiple vectors match, they are checked and applied in random order. Smaller value means higher priority. |
Field: |
Filter based on call initiator environment |
Field: |
Source number filter mask. |
Field: |
Source Domain Filter Mask. |
Field: |
Field: |
Field: |
Specifies the activity schedule of the rule. |
Field: |
Activity interval during the week. |
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: |
Time of last modification of the object |
The environment of the call initiator
Value | Description |
---|---|
|
The vector can only be applied to calls initiated within the current domain |
|
The vector can only be applied to calls that came in from the outside through a provider account in the current domain |
|
The vector can only be applied to calls coming from another domain |
|
No filter is applied, the vector is suitable for all call initiator environments |
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: |
Work schedule
Value | Description |
---|---|
|
The vector is available for use at all times |
|
The rule is not available for use ever |
|
The vector is available for use only during business hours |
|
The vector is only available for use after hours |
|
The vector defines the individual availability schedule in the |
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 |