Install Asterisk 1.8 on Debian 7

    內容表格
    1. 1. 系統環境
    2. 2. 開始安裝

    系統環境

    Debian 7
    Asterisk 1.8.32.3

    開始安裝

    相依性套件安裝

    apt-get install build-essential linux-headers-`uname -r` ncurses-dev
    apt-get install bison festival festival-dev libssl-dev zlib1g-dev libnewt-dev
    apt-get install libvorbis-dev automake libmysqlclient-dev mysql-client
    apt-get install php5 php5-cli php5-common php5-dev
    apt-get install curl libgnutls26 libgnutls-dev libtiff5-dev libtiff-tools
    apt-get install libasound2-dev portaudio19-dev libportaudio2 jackd
    apt-get install unixodbc unixodbc-bin unixodbc-dev
    apt-get install libbluetooth-dev libxml2-dev
    apt-get install sox subversion libcurl4-gnutls-dev
    

    安裝 Asterisk
    下載連結:http://downloads.asterisk.org/pub/te...risk/releases/

    wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.32.3.tar.gz
    tar xzf asterisk-1.8.32.3.tar.gz
    cd asterisk-1.8.32.3/
    
    ./configure
    make menuselect
    make
    make install
    make samples
    make config
    

    設定 Asterisk

    addgroup --system asterisk
    adduser --system --ingroup asterisk --home /var/lib/asterisk --no-create-home --shell /bin/bash asterisk
    
    vi /etc/default/asterisk
    
    AST_USER="asterisk"
    AST_GROUP="asterisk"
    
    chown -R asterisk:asterisk /etc/asterisk
    chown -R asterisk:asterisk /var/{run,log,spool,lib}/asterisk
    adduser asterisk audio
    
    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core