Главная
Главная Руководства Asterisk › Asterisk 13, установка в FreeBSD



Автор:

Статья опубликована: 2016-06-01 20:01:00
Последние правки: 2022-03-23 17:20:16

Asterisk 13 больше нет в портах, статьи об установке и настройке Asterisk 18 ищите внизу странички )

  • Исходные данные
    # uname -sr
    FreeBSD 10.1-RELEASE-p13
    # pkg info | grep asterisk
    asterisk13-13.7.2_1            Open Source PBX and telephony toolkit
    

  • Установка
    # cd /usr/ports/net/asterisk13
    # 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
    [ ] LDAP        LDAP protocol support
    [ ] LUA         Lua scripting language support
    [x] MP3PLAYER   Install MP3 Player for Music-On-Hold (mpg123)
    [ ] OOH323      ooh323 support
    [ ] 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
    [ ] XMPP        XMPP/GTALK support
    ───────────────────── Encoder/Decoder (Codec) Support ────────────────────
    [x] GSM         GSM codec support
    [ ] NEWG711     New G711 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
    [ ] SQLITE2     SQLite 2 database support
    ───────────────── Core and Music-on-Hold (MoH) Sound Files ───────────────
    [ ] G729
    ─────────────────────── Menuselect Interface Backend ─────────────────────
    [ ] NCURSES     Console (text) interface support
    [x] NEWT        Newt User Interface
    ───────────────────────────── Compiler to use ────────────────────────────
    ( ) BASE        Use base compiler (experimental)
    (*) GCC         Build with modern GCC (from ports)
    

  • Настройка

    /etc/rc.conf
    asterisk_enable="YES"
    

  • Запускаем
    # /usr/local/etc/rc.d/asterisk start
    

  • Конфигурация

    Конфигурационные файлы хранятся в папке /usr/local/etc/asterisk


  • Работа

    Шелл астериска:
    # asterisk -rv