返回列表 發帖

CentOS 5.4 + Asterisk 1.4 Compilation

本帖最後由 角色 於 2010-8-10 10:20 編輯

1)Download CentOS 5.4 DVD.ISO and install as a server mode. Install the the following packages

yum -y install gcc gcc-c++ kernel-devel bison openssl-devel \
libtermcap-devel ncurses-devel doxygen curl-devel newt-devel \
mlocate lynx tar wget nmap bzip2 mod_ssl crontabs vixie-cron \
speex speex-devel unixODBC unixODBC-devel libtool-ltdl \
libtool-ltdl-devel mysql-connector-odbc mysql mysql-devel \
mysql-server php-mysql php-mbstring php-mcrypt flex screen \
libxml2 libxml2-devel libtiff libtiff-devel

ref: http://www.voip-info.org/wiki/vi ... +1.4.x+installation

2) Download Asterisk 1.4 tar file from www.asterisk.org to /usr/src
3) Untar the file using tar xvf asterisk.tar.gz
4) Change directory to the asterisk folder
5) Enter ./configure
6) Enter make menuselect (In general, you do not need it except some applications or codecs are needed.)
7) make
8) make configure (configure asterisk into the linux box for auto-start)
9) make install
10)  reboot

YH

TOP

其实我们学习时,大家把自己的心得写出来,那么学习的速度会更加快。!!!!

谢谢ckleea兄的信息。

角色

TOP

因为要用Speex和iLBC,所以要自己compile,在坊间根本找不到。而729 codec就可以找到,不用自己compile。

角色

TOP

终于Speex 和 iLBC codecs都搞定。是Asterisk 1.4.34 CentOS 5.4的。现在正在测试用。

角色

TOP

终于Speex 和 iLBC codecs都搞定。是Asterisk 1.4.34 CentOS 5.4的。现在正在测试用。

角色 ...
角色 發表於 2010-8-3 14:24



    邊種協議可以達到  固定電話的音質?

TOP

本帖最後由 角色 於 2010-8-3 15:47 編輯

iLBC可以之找搬过去,但是Speex好像不行。

角色

TOP

It is better to install Asterisk1.4 using yum if there is no other specific apps.

TOP

Agree absolutely. I am able to compile the Asterisk only. I have problems in make Asterisk-GUI work and include the Dahdi drivers.

For simplicity point of view, it is advised to use AsteriskNOW 1.7 option 4 to install Asterisk 1.4 and Asterisk-GUI 2.0.

YH

TOP

The Asterisk-GUI has been finally successfully installed because the firewall of the CentOS server was disabled by hand using the command /usr/bin/system-config-securitylevel.

YH

TOP

Finally, the codecs iLBC and Speex is successfully compiled and implemented. The next target is to build Dahdi driver to the asterisk system.

YH

TOP

Dahdi can be installed with yum. Try repo from zultron(http://www.zultron.com/rpm-repo/) or atrpms(http://atrpms.net/).

TOP

返回列表