安裝Asterisk on ubuntu
1. sudo apt-get install asterisk
安裝Asterisk GUI
1. 下載 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
2. 設定
/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
chown -R asterisk:asterisk /etc/asterisk /var/lib/asterisk chmod 644 /etc/asterisk/*4.開啟頁面
開啟瀏覽器輸入 http://123.123.123.123:8088/asterisk/static/config/index.html,登入帳號/密碼就是 manager.conf 所設定的。
參考資料: http://www.osslab.com.tw/VoIP/IP_PBX/%E8%BB%9F%E9%AB%94%E5%BC%8F_IP_PBX/Asterisk_-_%E5%85%8D%E8%B2%BB_IP_PBX_%E7%B6%B2%E8%B7%AF%E9%9B%BB%E8%A9%B1%E4%BA%A4%E6%8F%9B%E5%B9%B3%E5%8F%B0/Addons/Asterisk_GUI/Asterisk_GUI_for_Asterisk_1.8
您好
回覆刪除請教您一個問題?我有一台FREE PBX ,接有兩路中繼,一路是SIP Trunk ,另一路是DAHDI,兩路設定都OK, 我要這台FREE PBX 有中繼匯接功能,就是由SIP Trunk中繼撥入後不下車,直接再從DAHDI撥出,接另外一台PBX,反之亦然,目前都無法設定好,請問我要如何設定參數,才能作到? 謝謝