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

Carlos Andrés Tapasco Viera ctapasco at opengroupsa.com
Wed Apr 1 12:04:23 CDT 2009


Hi, I'd check cables, made a loopback test with my card and everithing was
OK;  when I called my provider, there told me the E1 was blocked, for that
reason in mfcr2 show channels appeared the RX line BLOCKED.  Finally my
provider unblocked the channels and the card swap from RED to OK, but now I
have next error messages in my CLI.  Thanks in advance guys.

*************************************************
Executing [9033187076030 at gerencia:1] Answer("SIP/200-08dafa20", "") in new
stack
    -- Executing [9033187076030 at gerencia:2] Dial("SIP/200-08dafa20",
"DAHDI/g0/2317070/033187076030,,rtT") in new stack
[Apr  1 10:03:25] WARNING[11663]: chan_dahdi.c:1646
dahdi_r2_get_channel_category: Invalid category specified 'National
Subscriber' for chan DAHDI/1-1, using default National Subscriber
[Apr  1 10:03:25] NOTICE[11663]: chan_dahdi.c:1926 dahdi_r2_write_log: Chan
1 - Char '/' is not a digit, DNIS will not be sent.
    -- Called g0/2317070/033187076030
[Apr  1 10:03:25] NOTICE[11663]: chan_dahdi.c:1926 dahdi_r2_write_log: Chan
1 - Far end disconnected. Reason: Network Congestion
    -- MFC/R2 call disconnected on chan 1
    -- DAHDI/1-1 is circuit-busy
    -- Hungup 'DAHDI/1-1'
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [9033187076030 at gerencia:3] Hangup("SIP/200-08dafa20", "")
in new stack
  == Spawn extension (gerencia, 9033187076030, 3) exited non-zero on
'SIP/200-08dafa20'
[Apr  1 10:03:25] NOTICE[30282]: chan_dahdi.c:1796 dahdi_r2_on_call_end:
MFC/R2 call end on chan 1
    -- SIP/120-08db0f10 answered SIP/118-08da4ba8
[Apr  1 10:03:29] NOTICE[30284]: chan_dahdi.c:1680 dahdi_r2_on_call_init:
New MFC/R2 call detected on chan 31.
[Apr  1 10:03:35] WARNING[30284]: chan_dahdi.c:1929 dahdi_r2_write_log: Chan
31 - MF back cycle timed out!
[Apr  1 10:03:35] ERROR[30284]: chan_dahdi.c:1932 dahdi_r2_write_log: Chan
31 - Protocol error. Reason = Multi Frequency Cycle Timeout, R2 State =
Seize ACK Transmitted, MF state = DNIS Request Transmitted, MF Group =
Backward Group A, CAS = 0x00
DNIS = 070, ANI = , MF = 0x20
[Apr  1 10:03:35] ERROR[30284]: chan_dahdi.c:1709
dahdi_r2_on_protocol_error: MFC/R2 protocol error on chan 31: Multi
Frequency Cycle Timeout
  == Spawn extension (macro-extensiones, s, 2) exited non-zero on
'SIP/118-08da4ba8' in macro 'extensiones'
  == Spawn extension (administrativo, 120, 1) exited non-zero on
'SIP/118-08da4ba8'
[Apr  1 10:03:43] NOTICE[30284]: chan_dahdi.c:1680 dahdi_r2_on_call_init:
New MFC/R2 call detected on chan 30.
*********************************************

======================
/etc/asterisk/extensions.conf
======================
[globals]
MAXUSER => 5                                              ;Máximo número de
personas por conferencia
TRUNKTEL => DAHDI/g0/2317070                    ;Telefónica 2317070
;
[celular]
exten => _9033XXXXXXXXX,1,Answer()
exten => _9033XXXXXXXXX,n,Dial(${TRUNKTEL}/${EXTEN:1},,rtT)
exten => _9033XXXXXXXXX,n,HangUp()


On Tue, Mar 31, 2009 at 10:09 AM, Moises Silva <moises.silva at gmail.com>wrote:

> 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
> _______________________________________________
> --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




-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-r2/attachments/20090401/3d63ccf0/attachment-0001.htm 


More information about the asterisk-r2 mailing list