sleepyguitar 发表于 2013-1-28 22:55:51

debian 上安装 asterrisk 1.4


[*]apt-getupdate
[*]apt-get-y upgrade
[*] apt-get -y install build-essential libncurses5-dev libcurl3-devlibvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-devlinux-headers-`uname -r`
[*]cd /usr/src     download  asterisk and zaptel  wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.26.1.tar.gz  wgethttp://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
[*] tar xvzfasterisk-1.4-current.tar.gz && tar xvzfzaptel-1.4-current.tar.gz
[*]We build the Zaptel drivers first.   ./configure && make && makeinstall
[*]Asterisk MeetMe conferences require a timing source. In the absence ofa hardware timing source, we use the software timing source contained in theztdummy kernel module. Load the module with modprobeztdummy
[*]/usr/src/asterisk-1.4.2and build it with ./configure && make && makeinstall
[*]Asterisk is now installed, but we're not finished yet. Essentialconfiguration files in /etc/asterisk do not yet exist.Rather than start from scratch, we install a set of sample configurationfiles with make samples
[*]asterisk -V    
[*]To make sure that Asterisk starts automatically at boot time and    shuts down cleanly during shutdown or reboot, we need init scripts.    Install them from the /usr/src/asterisk-1.4.2    directory with make config
[*]The ztdummy kernel module must also start at    boot time; add it to /etc/modules with echo    "ztdummy" >> /etc/modules
[*]安装完成,现在开始正式配置 Hello world.
参考文档
http://www.the-asterisk-book.com/unstable/installation-1.4-debian-4.0.html
页: [1]
查看完整版本: debian 上安装 asterrisk 1.4