Asterisk 是一個開放源代碼的軟件VoIP PBX系統,它是一個運行在Linux環境下的純軟件實施方案。Asterisk是一種功能非常齊全的應用程序,提供了許多電信功能,能夠把你的x86機 器變成你自己的交換機,還能夠當作一台企業級的商用交換機。Asterisk讓人激動的事情是它在小企業預算可承受的范圍內提供了商業交換機的功能和可伸 縮性。你可以使用一台老式的奔騰3計算機,讓你的機構看起來就同世界上的大企業一樣。
安裝Debian 5.
refer to :
http://www.linuxidc.com/Linux/2011-03/33726.htm
安裝Asterisk1.6
login is as root.
apt-get install ssh
然後可以通過SSH遠程登錄進行操作
apt-get install gcc g++ make libncurses5-dev
cd /usr/local/src
mkdir asterisk
下載Asterisk 1.6及相關軟件,本文以asterisk-1.6.1.16 為例。
tar xzvf asterisk-1.6.1.16.tar.gz
cd asterisk-1.6.1.16
./configure
make
make install
至此Asterisk 1.6 被成功安裝。
安裝Sample
make samples
安裝腳本以便機器重啟時自動啟動Asterisk
make config
which will choose the right init files for your distribution, and copy them in /etc/asterisk
For your information, those files are located in the contrib/init.d/ folder
啟動asterisk
asterisk -vvvc
停止asterisk
stop now
all of the above, refer to
http://www.linuxidc.com/Linux/2011-03/33725p2.htm
安裝Addons
tar xzvf asterisk-addons-1.6.1.2.tar.gz
cd asterisk-addons-1.6.1.2
./configure
make
make install
make samples