- Исходные данные
# uname -sr FreeBSD 12.2-RELEASE # pkg info | grep asterisk asterisk18-18.8.0_1 Open Source PBX and telephony toolkit
- Установка
# cd /usr/ports/net/asterisk18 # make install clean
Мои настройки:[ ] ASTVERSION Install astversion (requires bash) [x] BACKTRACE Stack backtrace support via (lib)execinfo [ ] CURL Data transfer support via cURL [ ] DAHDI DAHDI support [ ] EXCHANGE Exchange calendar support [ ] FREETDS FreeTDS library support [ ] G729 Install G.729 format sounds for Music-on-Hold (MoH) [ ] LDAP LDAP protocol support [ ] LUA Lua scripting language support [ ] MACRO Enable app_macro (deprecated) [x] MP3PLAYER Install MP3 Player for Music-On-Hold (mpg123) [ ] OOH323 ooh323 support [x] OPTIMIZED_CFLAGS Use extra compiler optimizations [x] PJSIP Build the PJSIP based SIP channel [ ] PORTAUDIO PortAudio library support [ ] RADIUS RADIUS protocol support [x] SNMP SNMP network protocol support [ ] SPANDSP SpanDSP faxing support [ ] SRTP SecureRTP support [ ] SYSINFO Use devel/libsysinfo to get system information [ ] URIPARSER Use RFC 3986 compliant uriparser library [ ] XMLDOC Build and install XML documentation [ ] XMPP XMPP/GTALK support ───────────────────── Encoder/Decoder (Codec) Support ──────────────────── [x] GSM GSM codec support [ ] NEWG711 New G711 Codec [ ] OPUS Opus Codec [x] SPEEX Speex audio format support [x] VORBIS Ogg Vorbis audio codec support ───────────────────────────── Database Support ─────────────────────────── [x] MYSQL MySQL database support [ ] ODBC ODBC database backend [ ] PGSQL PostgreSQL database support ─────────────────────── Menuselect Interface Backend ───────────────────── [ ] NCURSES Console (text) interface support [x] NEWT Newt User Interface
- Настройка
/etc/rc.confasterisk_enable="YES"
- Запускаем
# /usr/local/etc/rc.d/asterisk start
- Конфигурация
Конфигурационные файлы хранятся в папке /usr/local/etc/asterisk
- Работа
Шелл астериска:# asterisk -rv
Статья опубликована: 2021-11-28 12:01:08
Последние правки: 2021-11-29 00:48:37
Устанавливаем Asterisk 18 на FreeBSD.