Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Оглавление

info

Команда позволяет просмотреть информацию о параметрах выбранной очереди.

...

Без форматирования
admin@[mycelium1@ecss1]:/$ domain/biysk.local/cc/queue/info line1
┌──────────────────────────────────────────┬─────────────┐
│                 Property                 │    Value    │
├──────────────────────────────────────────┼─────────────┤
│remember_choice                           │none         │
│window_duration                           │10           │
│max_distribution_duration                 │20           │
│max_distribution_attempts                 │3            │
│skill_based_distribution                  │false        │
│time_prediction\min_values_in_statistics  │10           │
│time_prediction\defined_value             │60           │
│time_prediction\based_on                  │defined_value│
│time_prediction\statistics\max_count      │100          │
│time_prediction\statistics\upper_threshold│1800         │
│time_prediction\statistics\lower_threshold│10           │
│groups                                    │ltp1         │
│description                               │             │
│max_wait_time                             │3600         │
│distribution_mode                         │random       │
│agents                                    │agent:500    │
│                                          │agent:501    │
│                                          │agent:502    │
│                                          │agent:503    │
│                                          │agent:504    │
│                                          │agent:505    │
│                                          │agent:506    │
│                                          │agent:507    │
│                                          │agent:508    │
│                                          │agent:509    │
│queue_id                                  │line1        │
└──────────────────────────────────────────┴─────────────┘

declare

Команда позволяет создать новую очередь.

...

Блок кода
admin@[restfs1@ecss2]:/$ /domain/pv.ssw2/cc/queue/declare my_first_queue agents = [agent:160, agent:161], description = Моя первая очередь, distribution_mode = serial, groups = default, max_distribution_attempts = 3, max_distribution_duration = 10,  max_wait_time = 300, rules\max_predicted_time = 800, skill_based_distribution = true, rules\queue_length = 20, window_duration = 2 
ok

is-member

Команда проверяет относится ли агент или алиас(номер) к указанной очереди.

...

Блок кода
admin@[restfs1@ecss2]:/$ /domain/pv.ssw2/cc/queue/is-member my_first_queue agent 160 
true

list

Команда предназначена для отображения списка очередей.

...

Блок кода
admin@[restfs1@ecss2]:/$ /domain/pv.ssw2/cc/queue/list                               
┌──────────────┬──────────┬─────────┬────────────┬────────────┬────────┬───────────────────────┬──────────────────┐
│   Queue id   │  Groups  │ Agents  │Skill-based │Distribution│Max wait│         Rules         │   Description    │
│              │          │         │distribution│    mode    │  time  │                       │                  │
├──────────────┼──────────┼─────────┼────────────┼────────────┼────────┼───────────────────────┼──────────────────┤
│my_first_queue│default   │agent:160│true        │serial      │300     │max_predicted_time: 800│Моя первая очередь│
│              │          │agent:161│            │            │        │queue_length: 20       │                  │
│              │          │         │            │            │        │                       │                  │
│real_queue    │real_group│agent:160│false       │random      │120     │queue_length: 100      │real_test         │
│              │          │agent:161│            │            │        │max_predicted_time: 60 │                  │
│              │          │agent:162│            │            │        │                       │                  │
│              │          │agent:163│            │            │        │                       │                  │
│              │          │agent:164│            │            │        │                       │                  │
│              │          │agent:165│            │            │        │                       │                  │
│              │          │         │            │            │        │                       │                  │
│second_queue  │real_group│agent:160│false       │random      │120     │max_predicted_time: 300│Вторая очередь    │
│              │test_group│agent:161│            │            │        │queue_length: 3        │                  │
│              │          │agent:162│            │            │        │                       │                  │
│              │          │agent:163│            │            │        │                       │                  │
│              │          │agent:164│            │            │        │                       │                  │
│              │          │agent:165│            │            │        │                       │                  │
│              │          │agent:166│            │            │        │                       │                  │
│              │          │         │            │            │        │                       │                  │
│test_queue    │real_queue│         │false       │mia         │3600000 │                       │                  │
└──────────────┴──────────┴─────────┴────────────┴────────────┴────────┴───────────────────────┴──────────────────┘

remove

Команда предназначена для удаления очереди.

...