免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3997 | 回复: 0
打印 上一主题 下一主题

centos 5.4 上chan_ss7-1.2.1 安装方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-05 09:32 |只看该作者 |倒序浏览
[fly]文章转载:http://bbs.voip88.com/thread-12868-1-1.html[/fly]

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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP