configurations/program/asterisk.md

38 lines
650 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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 экстеншен