Was this page helpful?

Asterisk GUI for Asterisk 1.8

    系統環境

    • Ubuntu 11.10
    • Asterisk 1.8.7.1
    • Asterisk-GUI Revision 5218

    安裝及設定

    (https://wiki.asterisk.org/wiki/displ...T/Asterisk+GUI)
    安裝 svn 套件

    yum install subversion
    

    下載 Asterisk GUI

    cd /usr/src
    svn checkout http://svn.asterisk.org/svn/asterisk-gui/branches/2.0/ asterisk-gui
    cd asterisk-gui
    ./configure
    make
    make install
    make checkconfig 
    

    /etc/asterisk/http.conf

    [general]
    enabled=yes
    enablestatic=yes
    #bindaddr=127.0.0.1 # require access from the machine Asterisk is running on
    bindaddr=0.0.0.0 # allow GUI to be accessible from all IP addresses. bindport=8088
    bindport=8088
    prefix=asterisk 
    

    /etc/asterisk/manager.conf

    [general]
    enabled = yes
    webenabled = yes
    ...
    ...
    [admin]
    secret = thiswouldbeaninsecurepassword
    deny = 0.0.0.0/0.0.0.0
    permit = 192.168.7.0/255.255.255.0
    read = system,call,log,verbose,command,agent,config,read,write,originate
    write = system,call,log,verbose,command,agent,config,read,write,originate
    

    TIPs:

    permit 可以是 IP 或子網路

    設定目錄權限

    chown -R asterisk:asterisk /etc/asterisk /var/lib/asterisk
    chmod 644 /etc/asterisk/* 
    

    NOTEs:

    owner 必須與啟動 asterisk 服務的帳號相同。

    完成。

    開啟瀏覽器輸入 http://123.123.123.123:8088/asterisk/static/config/index.html,登入帳號/密碼就是 manager.conf 所設定的。

    NOTEs:

    asterisk 就是 /etc/asterisk/http.conf 的 prefix。

    URL 必須輸入完整文字。

    介面預覽

    asterisk-gui-home.png

    Was this page helpful?
    標籤 (Edit tags)
    • No tags

    文件 1

    文件大小日期附件上傳者 
     asterisk-gui-home.png
    Asterisk GUI
    43.49 KB13:30, 23 Feb 2012alang動作
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core