В текущем разделе описываются команды управления свойствами виртуальной АТС.
Командами по пути /domain/properties/ выполняется настройка глобальных свойств виртуальной АТС или определенной АТС.
В таблице 1 приведено описание конфигурируемых свойств виртуальных АТС.
admin@mycelium1@ecss1:/$ domain/properties/set -h Change value of requested property. Usage: set * | <DomainName> <Field> <Value> <DomainName>: name of the properties' node <Field>: abonent_control_out (true): enable abonent control for outgoing traffic. alternate_route_acp_causes ([routeFailure1,routeFailure2,routeSelectFailure,noCircuitAvailable, noRequestedCircuitAvailable,terminationDenied,notReachable]): release ACP causes for try make call at alternate trunk/direction. alternate_route_isup_causes ([]): release ISUP causes for try make call at alternate trunk/direction. alternate_route_sip_causes ([]): release SIP causes for try make call at alternate trunk/direction. basic_transfer_unattended_mode (legacy): Operation mode of unattended transfer. call_forwarding_isup_causes ([21,25]): ISUP cause to indicate do we need release forwarded call or continue original call. call_record_server_peer (system): Server's peer for call records. connected_number_mode (origin_b): type of number B to use in connected number origin_b - B number before routing; modified_b - B number after routing; default_call_policy (allow): allow or deny partially configured calls. fax_server_peer (system): Server's peer for received faxes. pictures_server_peer (system): Server's peer for domains' pictures. public_names ([]): Public DNS names for incomming SIP trafic. redirecting_number_mode (modified_b): type of number B to use in redirecting number during call forwarding. origin_b - B number before routing; modified_b - B number after routing; replica_type (none): Domain's replica type. Master - current domain master on current site. Backup - current domain is backed up on current site. None - current domain hasn't reserve. site ("ecss10"): The name of the site for current domain. sounds_server_peer (system): Server's peer for domains' sounds. speech_recognition_server_peer (system): Server's peer for domain's speech recognition. ss_codes_report_template ("default"): Template name to generate handbook with supplementary services' feature codes. tc_display_name ("Teleconference"): Display name for teleconference service. tc_notification_ban_timeout (1000): Notification ban timeout for teleconference, ms. teleconference_notification_ban_timeout (1000): Notification ban timeout for coral teleconference, ms. trunk_control_in (true): enable trunking control for incoming traffic. trunk_control_out (true): enable trunking control for outgoing traffic. vats_type (private): the type of the Virtual ATS. Supported types: private | local | international | transit | transit_offroad. voicemail_server_peer (system): Server's peer for voicemail records. |
Таблица 1 - Описание общих свойств виртуальных АТС
|
Данной командой для свойства/свойств виртуальной АТС устанавливается значение по умолчанию. Значения по умолчанию приведены в таблице 1.
Путь команды:
domain/properties/clean
Синтаксис:
clean [<DOMAIN> [<FIELD>]] [--force]
Параметры:
<DOMAIN> - имя виртуальной АТС, значения свойств которой необходимо установить по умолчанию. При указании символа "*" значения свойств всех виртуальных АТС устанавливаются по умолчанию;
<FIELD> - свойство, значение которого необходимо установить в значение по умолчанию. Опциональный параметр. Если не указывать данный параметр, то значения по умолчанию будут восстановлены для всех свойств заданной виртуальной АТС. Описание свойств приведено в таблице 1.
--force - выполнить команду без запроса подтверждения.
Пример:
admin@[mycelium1@ecss1]:/$ domain/properties/clean front.office redirecting_number_mode Property redirecting_number_mode values successfully restored [exec at: 21.02.2019 16:20:58, exec time: 438ms, nodes: core1@ecss1] admin@[mycelium1@ecss1]:/$ domain/properties/clean * tc_display_name Property tc_display_name values successfully restored [exec at: 21.02.2019 16:21:13, exec time: 350ms, nodes: md1@ecss1] |
Данная команда позволяет посмотреть общие настройки определенной виртуальной АТС или всех АТС.
Путь команды:
/domain/properties/info
Синтаксис:
info [<DOMAIN> [<FIELD>]]
Параметры:
<DOMAIN> - имя виртуальной АТС, значения свойств которой необходимо просмотреть. При указании символа "*" будет показана информация по всем виртуальным АТС системы;
<FIELD> - имя свойства, которое нужно просмотреть. Опциональный параметр. Если параметр не указывать, будут выведены все свойства. Описание свойств приведено в таблице 1.
Пример:
admin@mycelium1@ecss1:/$ domain/properties/info biysk.local ┌───────────────────────────────────────┬───────────┬───────────────────────────────────────┐ │ Property │ Domain │ Value │ ├───────────────────────────────────────┼───────────┼───────────────────────────────────────┤ │abonent_control_out │biysk.local│true │ │alternate_route_acp_causes │biysk.local│routeFailure1 │ │ │ │routeFailure2 │ │ │ │routeSelectFailure │ │ │ │noCircuitAvailable │ │ │ │noRequestedCircuitAvailable/system │ │ │ │terminationDenied │ │ │ │notReachable/user │ │alternate_route_isup_causes │biysk.local│ │ │alternate_route_sip_causes │biysk.local│ │ │basic_transfer_unattended_mode │biysk.local│legacy │ │call_forwarding_isup_causes │biysk.local│21 (call rejected) │ │ │ │25 (exchange routing error) │ │call_record_server_peer │biysk.local│system (http://system.restfs.ecss:9990)│ │connected_number_mode │biysk.local│origin_b │ │default_call_policy │biysk.local│allow │ │fax_server_peer │biysk.local│system (http://system.restfs.ecss:9990)│ │pictures_server_peer │biysk.local│system (http://system.restfs.ecss:9990)│ │public_names │biysk.local│biysk.local │ │redirecting_number_mode │biysk.local│modified_b │ │replica_type │biysk.local│none │ │site │biysk.local│ecss10 │ │sounds_server_peer │biysk.local│system (http://system.restfs.ecss:9990)│ │speech_recognition_server_peer │biysk.local│system (http://system.restfs.ecss:9990)│ │ss_codes_report_template │biysk.local│default │ │tc_display_name │biysk.local│Teleconference │ │tc_notification_ban_timeout │biysk.local│1000 │ │teleconference_notification_ban_timeout│biysk.local│1000 │ │trunk_control_in │biysk.local│true │ │trunk_control_out │biysk.local│true │ │vats_type │biysk.local│private │ │voicemail_server_peer │biysk.local│system (http://system.restfs.ecss:9990)│ └───────────────────────────────────────┴───────────┴───────────────────────────────────────┘ [exec at: 31.07.2019 07:47:16, exec time: 13ms, nodes: md1@ecss1] |
Данной командой производится изменение свойств подсистемы в заданной виртуальной АТС или во всей системе.
Путь команды:
/domain/properties/set
Синтаксис
set <DOMAIN> <FIELD> <VALUE>
Параметры:
<DOMAIN> - имя виртуальной АТС, значения свойств которой необходимо установить. При указании символа "*" значение свойства устанавливается для всех виртуальных АТС системы;
<FIELD> - имя свойства, значение которого необходимо изменить. Описание свойств приведено в таблице 1;
<VALUE> - новое значение свойства, возможные значения приведены в таблице 1.
Примеры:
admin@[mycelium1@ecss1]:/$ domain/properties/set * tc_display_name Conf Property "tc_display_name" successfully changed from: Teleconference to Conf. [exec at: 21.02.2019 16:13:55, exec time: 441ms, nodes: sip1@ecss1] |
admin@[mycelium1@ecss1]:/$ domain/properties/set front.office redirecting_number_mode modified_b Property "redirecting_number_mode" successfully changed from: modified_b to modified_b. [exec at: 21.02.2019 16:16:30, exec time: 350ms, nodes: core1@ecss2] |