debian 上安装 asterrisk 1.4

  1. apt-get update
  2. apt-get -y upgrade
  3. apt-get -y install build-essential libncurses5-dev libcurl3-dev libvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-dev linux-headers-`uname -r`
  4. cd /usr/src     download  asterisk and zaptel  wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.26.1.tar.gz  wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
  5. tar xvzf asterisk-1.4-current.tar.gz && tar xvzf zaptel-1.4-current.tar.gz
  6. We build the Zaptel drivers first.   ./configure && make && make install
  7. Asterisk MeetMe conferences require a timing source. In the absence of a hardware timing source, we use the software timing source contained in the ztdummy kernel module. Load the module with modprobe ztdummy
  8. /usr/src/asterisk-1.4.2 and build it with ./configure && make && make install
  9. Asterisk is now installed, but we're not finished yet. Essential configuration files in /etc/asterisk do not yet exist. Rather than start from scratch, we install a set of sample configuration files with make samples
  10. asterisk -V     
  11. 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
  12. The ztdummy kernel module must also start at boot time; add it to /etc/modules with echo "ztdummy" >> /etc/modules
  13. 安装完成,现在开始正式配置 Hello world.

参考文档

http://www.the-asterisk-book.com/unstable/installation-1.4-debian-4.0.html

你可能感兴趣的:(html,linux,Debian)