refer to :
http://mikeoverip.wordpress.com/2009/03/11/debian-5-lenny-step-by-step-installation-with-screenshots/
安裝Asterisk1.6
login is as root.
apt-get installssh
然後可以通過SSH遠程登錄進行操作
apt-get install gcc g++ makelibncurses5-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 yourdistribution, and copy them in /etc/asterisk
For your information, those files are located in thecontrib/init.d/ folder
啓動asterisk
asterisk-vvvc
停止asterisk
stop now
all of the above, refer to
http://mikeoverip.wordpress.com/2009/03/11/asterisk-16-compilation-and-installation-on-debian-5-lenny/
安裝Addons
tar xzvfasterisk-addons-1.6.1.2.tar.gz
cdasterisk-addons-1.6.1.2
./configure
make
makeinstall
makesamples
make install
make install