[asterisk-r2] how to openr2
Tiago Durante
tiagodurante at gmail.com
Wed Oct 29 10:15:27 CDT 2008
Hi David...
A quick how to:
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
# 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
well hope it helps you some how...
source: http://blog.alexandrealencar.net/2008/05/asterisk-com-mfcr2-openr2.html
best regards,
On Wed, Oct 29, 2008 at 10:57 AM, David Damian Faerman
<dfaerman at tecnovoz.com.ar> wrote:
> hi
> there is any how to for openr2
>
> i need to install dahdi and asterisk before or after instal openr2?
> and then how i configure a E1 to be R2?
> i dindt find any info in the libopenr2.org nor in vopip-info
> thanks!!!
>
>
> David
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-r2
>
--
Tiago Durante
,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,
Perseverance is the hard work you do after you
get tired of doing the hard work you already did.
-- Newt Gingrich
More information about the asterisk-r2
mailing list