info

Команда предназначена для просмотра списка доступных медиасерверов.

Путь команды:

/system/media/msr/info

Синтаксис:

info

Параметры:

<property> - ccid - отобразить id контрольной коннекции MSR

Пример:

admin@mycelium1@ecss1:/$ system/media/msr/info 
Default:
┌─────────────────────────────────┬─────────────┬────────────────────────────────────────────────────────────────────────────────┐
│            Property             │    Value    │                                  Description                                   │
├─────────────────────────────────┼─────────────┼────────────────────────────────────────────────────────────────────────────────┤
│check_cp                         │false        │Check call process by UPDATE from msr?                                          │
│check_cp_timeout                 │200          │Timeout of wait response from call process, ms                                  │
│close_cc                         │true         │Do close control connection to msr after registration expires from msr?         │
│cps_limit                        │50           │Maximum number(limit) of CPS(Calls per Second) distributed to msr, from 0 to 50 │
│critical_load                    │100          │If the load of msr more or equal this value, msr will no longer be selected to h│
│                                 │             │andle calls. Percent, from 0 to 100                                             │
│is_subscribe_to_call_count       │false        │Is subscribe to call count on msr?                                              │
│'media/chatroom'                 │'audio/video'│Media of the chatroom                                                           │
│'media/conference'               │'audio/video'│Media of the network conference                                                 │
│'media/meetme'                   │'audio/video'│Media of the meet me conference                                                 │
│'media/teleconference'           │'audio/video'│Media of the teleconference                                                     │
│performance_coefficient          │1.0          │Msr performance coefficient                                                     │
│subscribe_to_call_count_expires  │60           │Expires of subscribe to call count on msr, s                                    │
│zmq_connection_response_timeout  │500          │Connection response timeout, ms                                                 │
│zmq_connection_update_ack_timeout│500          │Connection update ack timeout, ms                                               │
│zmq_connection_update_timeout    │1000         │Connection update timeout, ms                                                   │
│zmq_reconnect_timeout            │1000         │Reconnect timeout, ms                                                           │
│zmq_src_port                     │undefined    │Source port of control connection                                               │
└─────────────────────────────────┴─────────────┴────────────────────────────────────────────────────────────────────────────────┘
MSR:
┌───┬────────┬─────┐
│MSR│Property│Value│
├───┼────────┼─────┤
└───┴────────┴─────┘

[exec at: 15.03.2023 16:04:06, exec time: 29ms, nodes: core1@ecss1 v.3.14.12.932]

set

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

Путь команды:

/system/media/msr/set

Синтаксис:

set <property> <value>

Параметры:

<PROPERTY> - название свойства;

<VALUE> - значение свойства.


Пример:

admin@mycelium1@ecss1:/$ system/media/msr/set --msr_name msr_1 --performance_coefficient 1    
Success: Property has been set for msr_1.

admin@mycelium1@ecss1:/$ system/media/msr/set --subscribe_to_call_count_expires 30s          
Success: Property has been set.

clean

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

Путь команды:

/system/media/msr/clean

Синтаксис:

clean <property>

Параметры:

<PROPERTY> - название свойства;

<VALUE> - значение свойства.

Пример:

admin@mycelium1@ecss1:/$ system/media/msr/clean --performance_coefficient              
Success: Property has been clean.

subscription

Команда для просмотра информации о состоянии подписки о загрузке медиасервера.

Путь команды:

/system/media/msr/subscription

Синтаксис:

subscription

Параметры:

Пример:

admin@[mycelium1@ecss1#ECSS 010145]:/$ system/media/msr/subscription              
 Subscriptions on msr
┌───────┬─────────────┬──────────────────┬────────┬─────────┬────────┬─────────────────────┬──────────────────┬────────┐
│  MSR  │   Is MSR    │      Event       │ Active │ Expires │ Notify │      Timestamp      │     Event id     │ Status │
│       │ registered? │                  │        │         │        │                     │                  │        │
├───────┼─────────────┼──────────────────┼────────┼─────────┼────────┼─────────────────────┼──────────────────┼────────┤
│ MSR1  │ true        │ eltex-call-count │ true   │      30 │      0 │ 2019/05/14 23:16:34 │ 0615cfa9332fdbbd │ active │
│ MSR2  │ true        │ eltex-call-count │ true   │      30 │      0 │ 2019/05/14 23:16:31 │ 0615cfa9f704d743 │ active │
└───────┴─────────────┴──────────────────┴────────┴─────────┴────────┴─────────────────────┴──────────────────┴────────┘