Waiting list (hunt)
Description
Waiting queue descriptor. Queue resources are assigned as SIP users.
Served by the role huntq, which builds waiting queues based on descriptors, monitors the states of resources, and connects waiting objects to resources based on configured strategies.
Calls can be placed in the queue. The placement of calls in the queue is managed by the IVR role via a CAF (featurecode) with type 'hunt' and 'queue'.
For the organization of personal and group queues, you may not create entities separately, they are dynamically recreated by default with default settings for queue organization at the moment when a call arrives at the CAF of type 'queue'. If it is necessary to set specific properties for such a queue, it is enough to create an entity with the required parameters and specify in the 'phonenumber' field of the entity the number of the corresponding user or group.
The object can be a template based on which queue descriptors are dynamically built when a call to the subscriber function code is received "queue".
Thus, with one instance of the hunt entity, you can configure a single format of different queues for several (or all) objects - users or groups. An entity is treated as a template if the value of the 'opts.template_type' field is specified as 'personal' or 'group'.
When a call arrives on the queue, the postfix of the dialed number (extension) is treated as a number by which a specific hunt entity is first searched, then a pattern is searched, then a dynamic descriptor with standard default values is built.
Whether a particular template will be applied to dynamically build a descriptor based on it depends on the specified type ('opts.template_type') and the number mask ('opts.filter_number'). Specifically, whether the mask specified in the 'opts.filter_number' (and optionally 'opts.tab') field satisfies the dialed number extension. If satisfied, the sipuser or sipgroup account with the investigated number is detected, depending on which template type is specified in the field 'opts.template_type'.
Limitations
-
The collection is not available in the master domain.
-
Licensed by a quantitative parameter: a license is consumed for the number of resources of the selected type.
Fields
{
"id": uuid,
"code": str,
"phonenumber": str,
"priority": int,
"type": str,
"resourses": array<object>,
"strategy": object,
"resmode": str,
"objmode": str,
"weight": int,
"wivrscript": str,
"qivrscript": str,
"preivrscript": str,
"reslimit": int,
"maxattempts": int,
"maxattemptstrannumber": str,
"resdialtimeout": int,
"timeout": int,
"timeouttrannumber": str,
"displayname": str,
"huntblock": object,
"resbansec": int,
"opts": {
"title": str,
"comment": str,
"exit_no_resource": bool
},
"ext": {
"ct": date,
"lwt": date
}
}
Specification | Description |
---|---|
Field: |
Identifier. Can be specified at creation, otherwise generated by the system. |
Field: |
Code. Used to associate with other entities. Unique value. |
Field: |
Phone number. Is a key when searching for an entity when a call is received on a CAF (featurecode) of type 'hunt'. The field is not used when forming the template and is filled in automatically. |
Field: |
Queue priority. |
Field: |
|
Field: |
List of resources (members) in the queue with their priority. Composition of fields of the list element. |
Field: |
The strategy for adding participants for an object (subscriber). Field composition. |
Field: |
Strategy for selecting a resource (participant) from among the free resources when a new object arrives in an empty queue |
Field: |
Queue object selection strategy when the resource is released |
Field: |
Queue weight. |
Field: |
Call Queue Greeting IVR Script Code. |
Field: |
Field: |
IVR script code preplayed to the member of the call queue after their answer before connecting to the caller. |
Field: |
Number of resources to be issued simultaneously. |
Field: |
Maximum allowed number of resource (participant) calls. |
Field: |
Number to switch when attempts are exceeded maxattempts. |
Field: |
Duration of dialing attempt in seconds. |
Field: |
Maximum waiting time in queue in seconds |
Field: |
Number to switch when the maximum waiting time is exceeded. |
Field: |
DislpayName substituted into the call from the queue to the resource. |
Field: |
Mode of applying a temporary ban on the use of the SIP user type resource after the call service is completed. Example:
Used in type = |
Field: |
The time in seconds for which the resource (member) becomes locked due to a connection failure. |
Field: |
Field: |
|
Arbitrary header |
Field: |
Arbitrary comment |
|
An indication that the wait is terminated when no resources are available |
Field: |
Switch off early-media mode while waiting in queue. For calls from outside the network, providers can limit the dwell time in the Early Media state to, for example, 20 seconds, after which it drops the session.
|
Field: |
Template Mode. Not used by default. Value options:
|
Field: |
Filter mask of the number to which the forwarding rule belongs. |
Field: |
Tabular data for using filters within a single entity search session. |
Field: |
Allows you to extend the compound with arbitrary keys and values |
Field: |
Object creation time |
Field: |
Types of queues
Value | Description |
---|---|
|
All resources are identifiers of the object user. |
|
All resources are identifiers of the object sipuser. |
Composition of the fields of the resource list item
Field | Value Type | Description |
---|---|---|
|
|
|
|
|
Priority of the resource (participant) at the time of application resmode |
Composition of strategy fields
Field | Value Type | Description |
---|---|---|
|
|
Strategy Title:
|
|
|
A list of time shifts of the start of the next resource (participant) call, starting from the second resource. |
Resource (participant) selection strategies
Value | Description |
---|---|
|
Selects the most prioritized resource from the free resources, and if there are several of them, selects among them randomly |
|
Selects a random resource from the currently available resources |
|
Selects from free resources exactly in the order they are listed in the list in the field resources |
Object (subscriber) selection strategies
Value | Description |
---|---|
|
(Strict Priority Queueing) – queue selection mode based on priority |
|
(Weighted Fair Queueing) – queue selection mode based on weight |
|
queue selection mode, based on priority, and among identical by weight |
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: |