免费注册 查看新帖 |

Chinaunix

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

Test chan_ss7 with two OpenVox D110P cards [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-29 12:59 |只看该作者 |倒序浏览
Test chan_ss7 with two OpenVox D110P cards



Written by: James.zhu(zhulizhong@gmail.com)
Date: 29/12/2007


SS7 is a very important protocol in telecommunication. Many users use in their business. We know that SS7 environment is easy to get, if we want to test ss7. Thanks, Knielsen, he has published the reference from voip-info.org. Here we give a more details simple test environment to test ss7 with two OpenVox D110P cards. Some steps have to taken in both of two servers(new-host-3 and new-host-4):

Disclaimer
Linux® is a registered trademark of Linus Torvalds
OpenVox® is a registered trademark of Shenzhen OpenVox communication LTD.
Asterisk® is a registered trademark of Digium


1.        Install chan_ss7(we use chan_ss7, not libss7), Asterisk and Zaptel
1.1   Check the support packages, if not installed, please install that.
rpm -q bison
rpm -q bison-devel
rpm -q ncurses
rpm -q ncurses-devel
rpm -q zlib
rpm -q zlib-devel
rpm -q openssl
rpm -q openssl-devel
rpm -q gnutls-devel
rpm -q gcc
rpm -q gcc-c++
rpm -q kernel-devel

1.2  Download chan_1.0.0, asterisk-1.4.15 and zaptel-1.4.7.1

2.        Modify the Makefile in ss7
         You have to edit the Makefile in chan_ss7. Make sure the “INCLUDE” points to your zaptel and asterisk source files.
         # INCLUDE may be overridden to find asterisk and zaptel includes in
         # non-standard places.
         INCLUDE+=-I../zaptel-1.4.7.1 -I../asterisk-1.4.15/include
         CC=gcc

3.        Compile zaptel, asterisk and chan_ss7
3.1        Compile zaptel->./configure->make->make install
3.2        Compile Asterisk->./configure->make->make install
3.3        Compile chan_ss7->make->make install
3.4        Copy the chan_ss7.so to /usr/lib/asterisk/modules
3.5        Copy ss7.conf to /etc/asterisk

4.        Configure ss7.conf , zaptel.conf and extensions.conf
ss7.conf
[linkset-siuc]
enabled => yes
use_connect => no
enable_st => yes
hunting_policy => even_mru
subservice => auto
context = ss7
language => en
[link-|1]
linkset => siuc
channels => 1-15,17-31
schannel => 16
firstcic => 1
enabled => yes

[link-|2]
linkset => siuc
channels => 1-15,17-31
schannel => 16
firstcic => 1
enabled => yes

[host-new-host-3]
enabled => yes
opc => 0x1
dpc =>siuc:0X2
links =>|1:1

[host-new-host-4]
enabled => yes
opc =>0x2
dpc =>siuc:0X1
links =>|2:1

zaptel.conf
# Autogenerated by ./genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#

# It must be in the module loading order

# Span 1: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
span=1,1,0,ccs,hdb3
bchan=1-31
extensions.conf
[from-internal]
exten => 500,1,Dial(ss7/00453377)       ; Call the Asterisk demo
exten => 500,n,hangup           ; Return to the start over message.

5.        Check connection cables and make call to test.
Before making calls, please check the cable connection. It should be RJ48 connector. If you are not sure that, please visit the website to know how to make RJ48 connector (http://www.chebucto.ns.ca/Chebucto/Technical/Manuals/Max/
max6000/gs/cables.htm#17372). It everything is ok. Starting zaptel and asterisk, the LED will in green color. You also can check the ss7 in asterisk console and make sure it is there. If not loaded, please run: load chan_ss7.so to make it be loaded. After dialing 500, the system will forward to ss7. The results are shown in both of host-name-3 and host-name-4.

Reference:
http://www.voip-info.org/wiki/index.php?page=Asterisk+ss7+setup
http://www.chebucto.ns.ca/Chebuc ... gs/cables.htm#17372
http://www.sifira.com/chan-ss7/
http://lists.digium.com/pipermail/asterisk-ss7/
www.openvox.com.cn

Test environment:
1        Centos 5.0
2        Zaptel-1.4.7.1
3        Asterisk-1.4.15
4        Chan_ss7-1.0.0
5        Kernel 2.6
6        OpenVox D110P PRI card
Notes: if you have any problems, please report to asterisk-ss7 email list.  want to know more details, download the pdf file.

[ 本帖最后由 zhulizhong 于 2007-12-29 14:42 编辑 ]

Test chan_ss7.pdf

75.29 KB, 下载次数: 169

test chan_ss7 with OpenVox D110P PRI Card

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP