keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D-110P 1 Span E1/T1/J1 Interface Card

how to install openr2

14 years 3 months ago #4476 by james.zhu
hello:
this is a sample installation for Openr2,
=================================
FIRST Download and unpack:
# mkdir packs
# cd packs
# wget http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.0.0.tar.gz
# wget http://downloads.digium.com/pub/telephony/dahdi-tools/dahdi-tools-2.0.0.tar.gz
# wget http://downloads.digium.com/pub/libpri/releases/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/2008/05/asterisk-com-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

Attachments:
Time to create page: 0.036 seconds
Powered by Kunena Forum