Данной командой устанавливается номер автосекретаря.
Путь команды:
/domain/test_domain/auto-attendant/set
Синтаксис:
set number <Value>
Параметры:
<number>: номер .
<Value>: Новый номер автосекретаря.
Пример:
Задать номер автосекретаря:
/domain/test_domain/auto-attendant/set number 42000 Property "number" successfully changed from: to 42000. |
Изменить номер автосекретаря с 42000 на 42999:
/domain/test_domain/auto-attendant/set number 42999 Property "number" successfully changed from: 42000 to 42999. |
Просмотреть результат выполнения команды можно при помощи команды "info":
Данной командой выполняется просмотр номера автосекретаря.
Путь команды:
/domain/test_domain/auto-attendant/info
Синтаксис:
info [<number>]
Параметры:
<number>: Номер (опциональный параметр).
Пример:
Просмотреть номер автосекретаря:
/domain/test_domain/auto-attendant/info ┌────────┬───────────┬─────┐ │Property│ Domain │Value│ ├────────┼───────────┼─────┤ │number │test_domain│42999│ └────────┴───────────┴─────┘ /domain/test_domain/auto-attendant/info number 42999 Command error: Invalid command's arguments: test_domain number 42999 /domain/test_domain/auto-attendant/info number END OF COMMAND /domain/test_domain/auto-attendant/info number ┌────────┬───────────┬─────┐ │Property│ Domain │Value│ ├────────┼───────────┼─────┤ │number │test_domain│42999│ └────────┴───────────┴─────┘ |
Данной командой выполняется удаление номера автосекретаря.
Путь команды:
/domain/test_domain/auto-attendant/clean
Синтаксис:
clean [<number>] [--force]
Параметры:
<number>: Номер (опциональный параметр).
--force: форсировать выполнение команды без подтверждения (только в конце строки)
Пример:
Удалить номер автосекретаря:
/domain/test_domain/auto-attendant/clean [clean] You are going to clean all customized properties in the domain "test_domain". Are you sure?: yes/no ?> yes Properties values successfully restored /domain/test_domain/auto-attendant/info number ┌────────┬───────────┬─────┐ │Property│ Domain │Value│ ├────────┼───────────┼─────┤ │number │test_domain│ │ └────────┴───────────┴─────┘ /domain/test_domain/auto-attendant/clean number Property number values successfully restored /domain/test_domain/auto-attendant/clean --force Property number values successfully restored |