[asterisk-r2] [MFCR2+LIBOPENR2 TELEFONICA COLOMBIA]

Moises Silva moises.silva at gmail.com
Tue Mar 31 10:09:43 CDT 2009


Before trying to setup Asterisk itself you must get rid of the red
alarm. I could not see anything wrong in the config, other than
probably span 2 should be span=2,2,0,cas,hdb3

Try changing the cables, it may be a cabling issue.

On Tue, Mar 31, 2009 at 12:54 AM, Carlos Andrés Tapasco Viera
<ctapasco at opengroupsa.com> wrote:
> Hi, I'm trying to configure an E1/R2 provided by Telefonica in Colombia
> using a Digium TE220P.  I've installed dahdi-linux-complete-2.1.0.4+2.1.0.2,
> openr2-1.1.0 y mfcr2 following the instructions given by Moy in his
> tutorial.  I didn't get any error during installation and I tried to set
> some options in chan_dahdi.conf but I cannot obtain an E1 synchronization.
> First span is connected to provider equipment and a technician have been
> done a loopback test on it.  I'll attach my configuration files if someone
> has a suggestion.  Thanks in advance.
>
> ========================================================
> /etc/dahdi/modules
> ========================================================
> # DAHDI Transcode Module
> dahdi_transcode
>
> # Digium TE205P/TE207P/TE210P/TE212P: PCI dual-port T1/E1/J1
> # Digium TE405P/TE407P/TE410P/TE412P: PCI quad-port T1/E1/J1
> # Digium TE220: PCI-Express dual-port T1/E1/J1
> # Digium TE420: PCI-Express quad-port T1/E1/J1
> wct4xxp
>
> ========================================================
> /etc/dahdi/system.conf
> ========================================================
> span=1,1,0,cas,hdb3
> span=2,1,0,cas,hdb3
> #
> #Interfaz 1
> cas=1-15:1101
> dchan=16
> cas=17-31:1101
> #
> #Interfaz 2
> cas=32-46:1101
> dchan=47
> cas=48-62:1101
> #
> loadzone=fr
> defaultzone=fr
>
> ========================================================
> /etc/asterisk/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=co
> mfcr2_get_ani_first=no
> mfcr2_max_ani=20
> mfcr2_max_dnis=4
> mfcr2_category=national_subscriber
> mfcr2_logdir=span1
> mfcr2_logging=all
>
> context=pstn-brt
> group=0
> callgroup=0
> pickupgroup=0
> channel => 1-15
> channel => 17-31
>
> ========================================================
> CLI commands
> ========================================================
> lancelot*CLI> dahdi show status
> Description                              Alarms  IRQ    bpviol CRC4   Fra
> Codi Options  LBO
> T2XXP (PCI) Card 0 Span 1                RED     0      0      0      CAS
> HDB3 YEL      0 db (CSU)/0-133 feet (DSX-1)
> T2XXP (PCI) Card 0 Span 2                RED     0      0      0      CAS
> HDB3 YEL      0 db (CSU)/0-133 feet (DSX-1)
>
> ******************************************************************************************
>> mfcr2 show channels
> Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS   Rx CAS
>    1 CO      20      4        No        No               IDLE     BLOCK
>    2 CO      20      4        No        No               IDLE     BLOCK
>    3 CO      20      4        No        No               IDLE     BLOCK
>    4 CO      20      4        No        No               IDLE     BLOCK
>    5 CO      20      4        No        No               IDLE     BLOCK
>    6 CO      20      4        No        No               IDLE     BLOCK
>    7 CO      20      4        No        No               IDLE     BLOCK
>    8 CO      20      4        No        No               IDLE     BLOCK
>    9 CO      20      4        No        No               IDLE     BLOCK
>   10 CO      20      4        No        No               IDLE     BLOCK
>   11 CO      20      4        No        No               IDLE     BLOCK
>   12 CO      20      4        No        No               IDLE     BLOCK
>   13 CO      20      4        No        No               IDLE     BLOCK
>   14 CO      20      4        No        No               IDLE     BLOCK
>   15 CO      20      4        No        No               IDLE     BLOCK
>   17 CO      20      4        No        No               IDLE     BLOCK
>   18 CO      20      4        No        No               IDLE     BLOCK
>   19 CO      20      4        No        No               IDLE     BLOCK
>   20 CO      20      4        No        No               IDLE     BLOCK
>   21 CO      20      4        No        No               IDLE     BLOCK
>   22 CO      20      4        No        No               IDLE     BLOCK
>   23 CO      20      4        No        No               IDLE     BLOCK
>   24 CO      20      4        No        No               IDLE     BLOCK
>   25 CO      20      4        No        No               IDLE     BLOCK
>   26 CO      20      4        No        No               IDLE     BLOCK
>   27 CO      20      4        No        No               IDLE     BLOCK
>   28 CO      20      4        No        No               IDLE     BLOCK
>   29 CO      20      4        No        No               IDLE     BLOCK
>   30 CO      20      4        No        No               IDLE     BLOCK
>   31 CO      20      4        No        No               IDLE     BLOCK
>
> ========================================================
> Console commands
> ========================================================
> # ldd channels/chan_dahdi.so | grep openr2
>     libopenr2.so.1 => /usr/lib/libopenr2.so.1 (0x0071f000)
>
>
> --
> Carlos Andrés Tapasco Viera
> OpenGroup S.A.
> Ingeniero Electrónico
> Area de Telecomunicaciones
> IP-PBX +57-24862030
> Mobile 1 +57-3117650143
> Mobile 2 +57-3012141132
> Santiago de Cali
> Valle del Cauca
> Colombia
> Sudamérica
>
> _______________________________________________
> --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
>



-- 
"I do not agree with what you have to say, but I’ll defend to the
death your right to say it." Voltaire


More information about the asterisk-r2 mailing list