免费注册 查看新帖 |

Chinaunix

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

如何安装OpenR2(中国1 号) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-29 18:50 |只看该作者 |倒序浏览
hello:
this is a sample installation for Openr2,
=================================
FIRST Download and unpack:
# mkdir packs
# cd packs
# wget http://downloads.digium.com/pub/ ... -linux-2.0.0.tar.gz
# wget http://downloads.digium.com/pub/ ... -tools-2.0.0.tar.gz
# wget http://downloads.digium.com/pub/ ... libpri-1.4.7.tar.gz
# wget http://www.libopenr2.org/libopenr2-0.1.1.tar.gz
# ls | while read pack; do tar -xvzf $pack -C /usr/src ; done
# cd /usr/src
# please download from this svn path, do not use other versions of asterisk!
# svn co http://svn.digium.com/svn/asterisk/team/moy/mfcr2 asterisk

SECOND Compile them

1 - dahdi-linux
# make ; make install

2 - dahdi-tools
# ./configure ; make ; make install ; make config

3 - Libpri
# make ; make install

4 - libopenr2
# ./configure --libdir=/usr/lib ; make ; make install

5 - asterisk
# ./configure ; make ; make install ; make samples


a simple configuration for brazilian r2 is:

/etc/dahdi# cat system.conf
loadzone = br
defaultzone =br

span=1,1,0,cas,hdb3
cas=1-15:1101
cas=17-31:1101
dchan=16


/etc/asterisk# cat chan_dahdi.conf
[trunkgroups]

[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes

signalling=mfcr2
mfcr2_variant=br
mfcr2_get_ani_first=no
mfcr2_max_ani=20
mfcr2_max_dnis=20
mfcr2_category=national_subscriber
mfcr2_logdir=span1
mfcr2_logging=all

context=in-e1
group=0
callgroup=0
pickupgroup=0
channel => 1-15
channel => 17-31

==============================
more details, please refer these:
http://www.libopenr2.org/
source: http://blog.alexandrealencar.net ... m-mfcr2-openr2.html
email list: http://lists.digium.com/pipermail/asterisk-r2/
http://code.google.com/p/openr2/downloads/list

====openr2 1.0.0 the list is====:
Variant Code Country:
AR Argentina
BR Brazil
CN China // 支持中国还没有做完整的测试,这是官方的说法。
CZ Czech Republic
CO Colombia
EC Ecuador
ITU International Telecommunication Union
MX Mexico
PH Philippines
VE Venezuela
=================================

regards!
James.zhu

论坛徽章:
0
2 [报告]
发表于 2012-01-10 09:59 |只看该作者
深圳鼎信通达发布支持中国1好(R2) 信令网关。鼎信通达的数字网关支持的信令包括了:PRI, 7号,中国1号信令。

论坛徽章:
0
3 [报告]
发表于 2012-01-18 16:03 |只看该作者
James zhu,dinstar做的不错阿,赞。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP