centos 5.4 上chan_ss7-1.2.1 安装方法
2010-07-05 04:10
288 查看
1) download asterisk-1.4.20, zaptel-1.4.11 and chan_ss7-1.2.1.tar.gz
2) unzip asterisk-1.4.20.tar.gz to /usr/src, under asterisk dir, please run: ./configure, make and make install, make samples.
3) unzip zaptel-1.4.11.tar.gz to /usr/src/, under zaptel dir, please run: ./confiugre, make and make install
4) unzip the chan_ss7_1.1 to /usr/src, under chan_ss7-1.2.1, please do this:
4.1) modify the l4isup.c file,do like this
#define DAHDI_EVENT_DTMFDUP ZT_EVENT_DTMFUP
改成
#define DAHDI_EVENT_DTMFUP ZT_EVENT_DTMFUP
4.2) modify the Makefile, do like this:
=======================
#INCLUDE+=-I../source/telephony/dahdi/include
INCLUDE+=-I /usr/src/zaptel-1.4.11/kernel
CFLAGS+=-DUSE_ZAPTEL
INCLUDE+=-I../asterisk-1.4.20/include
#INCLUDE+=-I../source/telephony/asterisk/include
=======================
使用Dahdi和Zaptel,Makefile也要相应地修改。
Chan_ss7-1.1版本是用CFLAGS+=-DDAHDI来定义是否使用Dahdi,否则使用Zaptel。
1.2版本之后是用CFLAGS+=-DUSE_ZAPTEL来定义是否使用Zaptel,否则使用Dahdi。
感谢 Wayne
http://www.openvox.cn/bbs/viewthread.php?tid=923
4.2) save and quit
4.3) run make and make install
4.4) copy the ss7.conf file to /etc/asterisk
4.5) copy the chan_ss7.so to /usr/lib/asterisk/modules
接下来和james.zhu 的一样的
参看http://bbs.openvox.cn/viewthread.php?tid=905&extra=page%3D1
2) unzip asterisk-1.4.20.tar.gz to /usr/src, under asterisk dir, please run: ./configure, make and make install, make samples.
3) unzip zaptel-1.4.11.tar.gz to /usr/src/, under zaptel dir, please run: ./confiugre, make and make install
4) unzip the chan_ss7_1.1 to /usr/src, under chan_ss7-1.2.1, please do this:
4.1) modify the l4isup.c file,do like this
#define DAHDI_EVENT_DTMFDUP ZT_EVENT_DTMFUP
改成
#define DAHDI_EVENT_DTMFUP ZT_EVENT_DTMFUP
4.2) modify the Makefile, do like this:
=======================
#INCLUDE+=-I../source/telephony/dahdi/include
INCLUDE+=-I /usr/src/zaptel-1.4.11/kernel
CFLAGS+=-DUSE_ZAPTEL
INCLUDE+=-I../asterisk-1.4.20/include
#INCLUDE+=-I../source/telephony/asterisk/include
=======================
使用Dahdi和Zaptel,Makefile也要相应地修改。
Chan_ss7-1.1版本是用CFLAGS+=-DDAHDI来定义是否使用Dahdi,否则使用Zaptel。
1.2版本之后是用CFLAGS+=-DUSE_ZAPTEL来定义是否使用Zaptel,否则使用Dahdi。
感谢 Wayne
http://www.openvox.cn/bbs/viewthread.php?tid=923
4.2) save and quit
4.3) run make and make install
4.4) copy the ss7.conf file to /etc/asterisk
4.5) copy the chan_ss7.so to /usr/lib/asterisk/modules
接下来和james.zhu 的一样的
参看http://bbs.openvox.cn/viewthread.php?tid=905&extra=page%3D1
相关文章推荐
- CentOS5.4 安装php5.2.x 和 ZendOptimizer-3.3.9的方法,方便支持phpMyAdmin-3.2.2
- Intel SAS RAID安装CentOS 5.4 Linux操作系统的方法
- 方法2:CentOS SVN安装与配置 (RHEL5.4平台测试通过)
- tel S5000SAV RAID安装CentOS 5.4 Linux操作系统的方法
- CentOS5.4 安装php5.2.x 和 ZendOptimizer-3.3.9的方法,方便支持phpMyAdmin-3.2.2
- CentOS5.4 安装php5.2.x 和 ZendOptimizer-3.3.9的方法,方便支持phpMyAdmin-3.2.2
- centos安装MySQLdb,及相关问题解决方法
- Centos 7安装oracle 11g R2问题及解决方法汇总
- CentOS命令行下装oracle 12c的方法(命令行模式安装)
- JSTL 1.2.1 安装方法
- Centos安装错误的解决方法
- centos的软件安装方法rpm和yum
- windows安装centos7双系统后丢失windows启动项的简单解决方法
- CentOS7.3编译安装Python3.6.2的方法
- CentOS安装crontab及使用方法(转)
- centos下yum搭建安装linux+apache+mysql+php环境的方法
- 搭建LAMP时,通过VM在centos5.4上安装GD库报错,肯请高手看看,帮忙解决~高分悬赏~
- CentOS7下MySQL5.7安装配置方法图文教程(YUM)
- 【解决】 CentOS6.6安装Cloudera Manager5.4的问题
- CentOS安装jdk步骤方法