Asterisk basics
Connect to console
with debugConsole commands
All peers
only oneSip registration
Channels
Settings
Текущие звонки и каналы
оборвать зависший звонок
оборвать ВСЕ зависшие звоноки
Диапланы
Позвонить из консоли
Подготовка звуковых файлов
# для поддержки MP3
apt-get install libsox-fmt-mp3
#
# ULAW
sox -V hello.wav -r 8000 -c 1 -t ul hello.ulaw
sox hello.mp3 -r 8000 -c 1 -t ul hello.ulaw
# ALAW
sox -V hello.wav -r 8000 -c 1 -t al hello.alaw
# GSM
sox -V hello.wav -r 8000 -c 1 -t gsm hello.gsm
Варианты размещения зависят от ОС и способа установки:
# Debian 9. восстановить отсутствующий конфиги
dpkg -i --force-confmiss /var/cache/apt/archives/asterisk-config_1%3a13.14.1~dfsg-2_all.deb
Отключить вывод Remote UNIX connection