38 lines
650 B
Markdown
38 lines
650 B
Markdown
# Asterisk
|
||
|
||
Вход в интерфейс командной строки (Command Line Interface, CLI):
|
||
|
||
```sh
|
||
asterisk -r
|
||
```
|
||
|
||
Выполнить команду не подключаясь к CLI - `asterisk -rx <cmd>`, например:
|
||
|
||
```sh
|
||
asterisk -rx 'sip show peers'
|
||
```
|
||
|
||
## Core
|
||
|
||
Порог отображаемой информации:
|
||
|
||
```sh
|
||
core set verbose <0-9>
|
||
```
|
||
|
||
## SIP
|
||
|
||
Отобразить SIP экстеншены и их статусы:
|
||
|
||
```sh
|
||
sip show peers
|
||
```
|
||
|
||
Отобразить информацио о конкретном SIP экстеншене:
|
||
|
||
```sh
|
||
sip show peer 100
|
||
```
|
||
|
||
где `100` - SIP экстеншен
|