- apt-get update
- apt-get -y upgrade
- apt-get -y install build-essential libncurses5-dev libcurl3-dev libvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-dev linux-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 wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
- tar xvzf asterisk-1.4-current.tar.gz && tar xvzf zaptel-1.4-current.tar.gz
- We build the Zaptel drivers first. ./configure && make && make install
-
Asterisk MeetMe conferences require a timing source. In the absence of
a hardware timing source, we use the software timing source contained in the
ztdummykernel module. Load the module with modprobe ztdummy - /usr/src/asterisk-1.4.2 and build it with ./configure && make && make install
- Asterisk is now installed, but we're not finished yet. Essential
configuration files in
/etc/asteriskdo not yet exist. Rather than start from scratch, we install a set of sample configuration files 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.2directory with make config -
The
ztdummykernel module must also start at boot time; add it to/etc/moduleswith echo "ztdummy" >> /etc/modules - 安装完成,现在开始正式配置 Hello world.
参考文档
http://www.the-asterisk-book.com/unstable/installation-1.4-debian-4.0.html
本文详细介绍如何在Linux环境下使用Apt-get安装必要的依赖包,下载并编译Asterisk PBX系统及其配套驱动,包括配置核心组件及初始化设置等步骤。
2163

被折叠的 条评论
为什么被折叠?



