asterisk部署文档

时间:2015-03-19 04:18:56
【文件属性】:

文件名称:asterisk部署文档

文件大小:113KB

文件格式:DOCX

更新时间:2015-03-19 04:18:56

asterisk

安装完CenterOS5.4 系统登陆后进到#号下,一般我们选择/usr/src目录进行下载及安装: cd /usr/src //安装开发环境及编绎环境: yum -y groupinstall 'Development Tools' yum -y install libtool* yum -y install kernel-heads* yum -y install ncurses-dev* yum -y install kernel-devel yum install -y kernel kernel-devel //下载最新的ver:1.6版本 wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4.10.2.tar.gz wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.2.8-rc1.tar.gz wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.2.1.tar.gz wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-2.3.0.tar.gz wget http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-2.3.0.tar.gz //安装libpri: tar zxvf libpri-1.4.10.2.tar.gz cd libpri-1.4.10.2 make make install cd .. //安装dahdi驱动: tar zxvf dahdi-linux-2.3.0.tar.gz cd dahdi-linux-2.3.0 make make install cd .. //安装dahdi-tools工具: tar zxvf dahdi-tools-2.3.0.tar.gz cd dahdi-tools-2.3.0 ./configure make make install make config cd .. Dahdi开启回音消除模块:编辑/etc/dahdi/modules 在末尾处添加Dahdi_echocan_mg2 yum install libxml2-devel ncurses-devel subversion doxygen texinfo yum install gcc-c++ make gnutls-devel kernel-devel //安装asterisk: tar zxvf asterisk-1.6.2.8-rc1.tar.gz cd asterisk-1.6.2.8-rc1 ./configure make make install make config make samples cd .. //安装asterisk扩展包(H323\mysql支持): tar zxvf asterisk-addons-1.6.2.1.tar.gz cd asterisk-addons-1.6.2.1 ./configure make make install make samples 至此 asterisk的基本环境安装完毕!


网友评论

  • 谢谢分享,挺有用