CentOS 6.2安装asterisk
- 最小化安装CentOS后,执行yum –y update,目前有的软件更新到最新
- yum –y install gcc gcc-c++ kernel-devel bison openssl openssl-devel ncurses-devel doxygen newt-devel mlocate curl-devel speex speex-devel libxml2-devel mysql-devel
- mkdir /usr/src/asterisk
cd /usr/src/asterisk
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.11.1.tar.gz
- tar –zxvf asterisk-1.8.11.1.tar.gz
- cd /usr/src/asterisk/asterisk-VERSION
make clean
./configure
make menuselect(自定义选项,支持mysql连接选择res_config_mysql app_mysql cdr_mysql)
make
make install
make samples
make config
6. reboot