[asterisk-r2] MFC R2 Variant Venezuela using openR2

Luis Morales fastonion at gmail.com
Sat Apr 24 06:32:02 CDT 2010


I suggest contact cantv asistence with protocol analizer and verify
for mfcr2 incoming/outgoing channels and them do the same procedure
for your asterisk pbx.

I have many asterisk E1 setups  in venezuela for cantv and movistar
all work fine and you don't need be an guru to setup. There are very
standart setup if your signalling it's ok.

Regards,


On Fri, Apr 23, 2010 at 7:44 PM, Madini Ladino <madinix at gmail.com> wrote:
> I checked carefully my configuration and everything is OK. My red alarm was
> caused by a bad coaxial cable. I changed it and I finally got a green. Works
> perfectly with incoming and outgoing calls.
>
>                 Best regards,
>
> On Tue, Mar 30, 2010 at 10:27 PM, <asterisk-r2-request at lists.digium.com>
> wrote:
>>
>> Send asterisk-r2 mailing list submissions to
>>        asterisk-r2 at lists.digium.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://lists.digium.com/mailman/listinfo/asterisk-r2
>> or, via email, send a message with subject or body 'help' to
>>        asterisk-r2-request at lists.digium.com
>>
>> You can reach the person managing the list at
>>        asterisk-r2-owner at lists.digium.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of asterisk-r2 digest..."
>>
>>
>> Today's Topics:
>>
>>   1. r2 state unknown (Anton Krall)
>>   2. MFC R2 Variant Venezuela using openR2 (Madini Ladino)
>>   3. Re: MFC R2 Variant Venezuela using openR2 (Juan Carlos Huerta)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 30 Mar 2010 11:06:52 -0600
>> From: Anton Krall <antonkrall at gmail.com>
>> Subject: [asterisk-r2] r2 state unknown
>> To: <asterisk-r2 at lists.digium.com>
>> Message-ID: <C7D78BCC.B8811%antonkrall at gmail.com>
>> Content-Type: text/plain;       charset="US-ASCII"
>>
>> Guys.
>>
>> Im starting to see this:
>>
>> [Mar 30 10:27:31] ERROR[22019]: Chan 2 - Protocol error. Reason = Invalid
>> R2
>> state, R2 State = *Unknown*, MF state = MF Engine Off, MF Group = Backward
>> Group B, CAS = 0x08
>>
>> This happends on many PBXs... Anybody in Mexico having the same issues?
>>
>>
>>
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 30 Mar 2010 20:37:21 -0400
>> From: Madini Ladino <madinix at gmail.com>
>> Subject: [asterisk-r2] MFC R2 Variant Venezuela using openR2
>> To: asterisk-r2 at lists.digium.com
>> Message-ID:
>>        <b6d9e3551003301737p3b35289ct8db63b442120af8a at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> I have problems with E1s R2 MFC (CANTV) in Venezuela. Using zttool I got
>> Red
>> Alarm.
>>
>> I'm using following versions:
>>
>> Asterisk 1.4.26.1
>> *CLI> mfcr2 show version
>> OpenR2 version: 1.2.0, revision: (release)
>>
>> My digium card is:
>> pci:0000:0b:08.0     wct4xxp+     d161:0220 Wildcard TE220 (4th Gen)
>>
>> My  /etc/zaptel.conf  config is:
>>
>> span=1,1,0,ccs,hdb3,crc4
>> bchan=1-15
>> dchan=16
>> bchan=17-31
>> loadzone =es
>> defaultzone=es
>>
>> span=2,1,0,cas,hdb3,crc4
>> cas=32-46:1101
>> dchan=47
>> cas=48-62:1101
>> loadzone =es
>> defaultzone=es
>>
>> (span 1: I have a ISDN E1 (currently working), span 2: I have MFC R2  E1
>> from CANTV)
>>
>>
>> My /etc/zapata.conf
>>
>> group=4
>> signalling=mfcr2
>> mfcr2_variant=ve
>> mfcr2_get_ani_first=no
>> mfcr2_max_ani=10
>> mfcr2_max_dnis=4
>> mfcr2_category=national_subscriber
>> mfcr2_mfback_timeout=-1
>> mfcr2_metering_pulse_timeout=-1
>> mfcr2_logdir=log
>> mfcr2_logging=all
>> channel => 32-46
>> channel => 48-62
>>
>>
>> Actually this R2 E1 is connected to a Nortel and works. When I connect to
>> digium card I only got Red alarm.  I'm using a balun to convert to RJ45.
>>
>> When I do zap restart I got:
>>
>>  == Starting D-Channel on span 1
>>  == Starting R2 context on span 1
>>  == Starting R2 context on span 2
>> [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 32
>> [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 48
>> [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 33
>> [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 49
>> [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 50
>> [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 34
>> [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 51
>> [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 35
>> [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 52
>> [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 36
>> [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 53
>> [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> dahdi_r2_on_line_blocked:
>> Far end blocked on chan 37
>>
>>
>> When I run mfcr2 show channels I have:
>>
>> *CLI> mfcr2 show channels
>> Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS   Rx CAS
>>  32 VE      10      4        No        No               IDLE     BLOCK
>>  33 VE      10      4        No        No               IDLE     BLOCK
>>  34 VE      10      4        No        No               IDLE     BLOCK
>>  35 VE      10      4        No        No               IDLE     BLOCK
>>  36 VE      10      4        No        No               IDLE     BLOCK
>>  37 VE      10      4        No        No               IDLE     BLOCK
>>  38 VE      10      4        No        No               IDLE     BLOCK
>>  39 VE      10      4        No        No               IDLE     BLOCK
>>  40 VE      10      4        No        No               IDLE     BLOCK
>>  41 VE      10      4        No        No               IDLE     BLOCK
>>  42 VE      10      4        No        No               IDLE     BLOCK
>>  43 VE      10      4        No        No               IDLE     BLOCK
>>  44 VE      10      4        No        No               IDLE     BLOCK
>>  45 VE      10      4        No        No               IDLE     BLOCK
>>  46 VE      10      4        No        No               IDLE     BLOCK
>>  48 VE      10      4        No        No               IDLE     BLOCK
>>  49 VE      10      4        No        No               IDLE     BLOCK
>>  50 VE      10      4        No        No               IDLE     BLOCK
>>  51 VE      10      4        No        No               IDLE     BLOCK
>>  52 VE      10      4        No        No               IDLE     BLOCK
>>  53 VE      10      4        No        No               IDLE     BLOCK
>>  54 VE      10      4        No        No               IDLE     BLOCK
>>  55 VE      10      4        No        No               IDLE     BLOCK
>>  56 VE      10      4        No        No               IDLE     BLOCK
>>  57 VE      10      4        No        No               IDLE     BLOCK
>>  58 VE      10      4        No        No               IDLE     BLOCK
>>  59 VE      10      4        No        No               IDLE     BLOCK
>>  60 VE      10      4        No        No               IDLE     BLOCK
>>  61 VE      10      4        No        No               IDLE     BLOCK
>>  62 VE      10      4        No        No               IDLE     BLOCK
>>
>>
>> This is my zttool for my span 2:
>>
>> ?????????????????? T2XXP (PCI) Card 0 Span 2 ??????????????????
>>   ???????                                                            ?
>> ??????
>>   ?     ?                                                            ?
>> ?
>>   ?     ?    Current Alarms:     Red Alarm                           ?
>> ?
>>   ?     ?    Sync Source:        Internally clocked                  ?  ?
>> ?
>>   ?     ?    IRQ Misses:               0                             ?  ??
>> ?
>>   ?     ?    Bipolar Viol:             0                             ?  ?
>> ?
>>   ?     ?    Tx/Rx Levels:         0/  0                             ?  ?
>> ?
>>   ?     ?    Total/Conf/Act:      31/ 31/ 30                         ?  ??
>> ?
>>   ?     ?                 1111111111222222222233         ????????    ?  ?
>> ?
>>   ?     ?        1234567890123456789012345678901         ? Back ?    ?  ?
>> ?
>>   ?     ?    TxA 111111111111111-111111111111111         ????????    ?  ?
>> ?
>>   ?     ?    TxB 000000000000000-000000000000000                     ?  ??
>> ?
>>   ?     ?    TxC 000000000000000-000000000000000                     ?  ?
>> ?
>>   ?     ?    TxD 111111111111111-111111111111111                     ?
>> ?
>>   ?     ?                                                ????????    ?
>> ?
>>   ?     ?    RxA 111111111111111-111111111111111         ? Loop ?    ?
>> ?
>>   ?     ?    RxB 111111111111111-111111111111111         ????????    ?
>> ?
>>   ?     ?    RxC 000000000000000-000000000000000                     ?
>> ?
>>   ?     ?    RxD 111111111111111-111111111111111                     ?
>> ?
>>   ???????                                                            ?
>> ?????
>>         ??????????????????????????????????????????????????????????????
>>
>>
>>
>> Anybody can help me?
>>
>>                      Best regards,
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://lists.digium.com/pipermail/asterisk-r2/attachments/20100330/3a1dec3b/attachment-0001.htm
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Tue, 30 Mar 2010 20:27:02 -0600
>> From: Juan Carlos Huerta <juancarloshuerta at gmail.com>
>> Subject: Re: [asterisk-r2] MFC R2 Variant Venezuela using openR2
>> To: asterisk-r2 at lists.digium.com
>> Message-ID:
>>        <o2q60e5bf4c1003301927w2e60c4bfq6b4d2758be26772c at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> It seems that the other end (CANTV) has blocked your E1 link, maybe
>> you can ask to your carrier to check the link status in their end.
>>
>> Juan Carlos
>> ~ Lo que no te mata te fortalece ~
>>
>>
>>
>> On Tue, Mar 30, 2010 at 6:37 PM, Madini Ladino <madinix at gmail.com> wrote:
>> > I have problems with E1s R2 MFC (CANTV) in Venezuela. Using zttool I got
>> > Red
>> > Alarm.
>> >
>> > I'm using following versions:
>> >
>> > Asterisk 1.4.26.1
>> > *CLI> mfcr2 show version
>> > OpenR2 version: 1.2.0, revision: (release)
>> >
>> > My digium card is:
>> > pci:0000:0b:08.0???? wct4xxp+???? d161:0220 Wildcard TE220 (4th Gen)
>> >
>> > My? /etc/zaptel.conf? config is:
>> >
>> > span=1,1,0,ccs,hdb3,crc4
>> > bchan=1-15
>> > dchan=16
>> > bchan=17-31
>> > loadzone =es
>> > defaultzone=es
>> >
>> > span=2,1,0,cas,hdb3,crc4
>> > cas=32-46:1101
>> > dchan=47
>> > cas=48-62:1101
>> > loadzone =es
>> > defaultzone=es
>> >
>> > (span 1: I have a ISDN E1 (currently working), span 2: I have MFC R2? E1
>> > from CANTV)
>> >
>> >
>> > My /etc/zapata.conf
>> >
>> > group=4
>> > signalling=mfcr2
>> > mfcr2_variant=ve
>> > mfcr2_get_ani_first=no
>> > mfcr2_max_ani=10
>> > mfcr2_max_dnis=4
>> > mfcr2_category=national_subscriber
>> > mfcr2_mfback_timeout=-1
>> > mfcr2_metering_pulse_timeout=-1
>> > mfcr2_logdir=log
>> > mfcr2_logging=all
>> > channel => 32-46
>> > channel => 48-62
>> >
>> >
>> > Actually this R2 E1 is connected to a Nortel and works. When I connect
>> > to
>> > digium card I only got Red alarm.? I'm using a balun to convert to RJ45.
>> >
>> > When I do zap restart I got:
>> >
>> > ? == Starting D-Channel on span 1
>> > ? == Starting R2 context on span 1
>> > ? == Starting R2 context on span 2
>> > [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 32
>> > [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 48
>> > [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 33
>> > [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 49
>> > [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 50
>> > [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 34
>> > [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 51
>> > [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 35
>> > [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 52
>> > [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 36
>> > [Mar 30 19:49:23] NOTICE[5397]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 53
>> > [Mar 30 19:49:23] NOTICE[5396]: chan_dahdi.c:1539
>> > dahdi_r2_on_line_blocked:
>> > Far end blocked on chan 37
>> >
>> >
>> > When I run mfcr2 show channels I have:
>> >
>> > *CLI> mfcr2 show channels
>> > Chan Variant Max ANI Max DNIS ANI First Immediate Accept Tx CAS?? Rx CAS
>> > ? 32 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 33 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 34 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 35 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 36 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 37 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 38 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 39 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 40 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 41 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 42 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 43 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 44 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 45 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 46 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 48 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 49 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 50 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 51 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 52 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 53 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 54 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 55 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 56 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 57 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 58 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 59 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 60 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 61 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> > ? 62 VE????? 10????? 4??????? No??????? No?????????????? IDLE???? BLOCK
>> >
>> >
>> > This is my zttool for my span 2:
>> >
>> > ?????????????????? T2XXP (PCI) Card 0 Span 2 ??????????????????
>> > ?? ?????????????????????????????????????????????????????????????????? ?
>> > ??????
>> > ?? ????? ???????????????????????????????????????????????????????????? ?
>> > ?
>> > ?? ????? ???? Current Alarms:???? Red Alarm?????????????????????????? ?
>> > ?
>> > ?? ????? ???? Sync Source:??????? Internally clocked????????????????? ??
>> > ?
>> > ?
>> > ?? ????? ???? IRQ Misses:?????????????? 0???????????????????????????? ??
>> > ??
>> > ?
>> > ?? ????? ???? Bipolar Viol:???????????? 0???????????????????????????? ??
>> > ?
>> > ?
>> > ?? ????? ???? Tx/Rx Levels:???????? 0/? 0???????????????????????????? ??
>> > ?
>> > ?
>> > ?? ????? ???? Total/Conf/Act:????? 31/ 31/ 30???????????????????????? ??
>> > ??
>> > ?
>> > ?? ????? ????????????????? 1111111111222222222233???????? ??????????? ??
>> > ?
>> > ?
>> > ?? ????? ???????? 1234567890123456789012345678901???????? ? Back ???? ??
>> > ?
>> > ?
>> > ?? ????? ???? TxA 111111111111111-111111111111111???????? ??????????? ??
>> > ?
>> > ?
>> > ?? ????? ???? TxB 000000000000000-000000000000000???????????????????? ??
>> > ??
>> > ?
>> > ?? ????? ???? TxC 000000000000000-000000000000000???????????????????? ??
>> > ?
>> > ?
>> > ?? ????? ???? TxD 111111111111111-111111111111111???????????????????? ?
>> > ?
>> > ?? ????? ???????????????????????????????????????????????? ??????????? ?
>> > ?
>> > ?? ????? ???? RxA 111111111111111-111111111111111???????? ? Loop ???? ?
>> > ?
>> > ?? ????? ???? RxB 111111111111111-111111111111111???????? ??????????? ?
>> > ?
>> > ?? ????? ???? RxC 000000000000000-000000000000000???????????????????? ?
>> > ?
>> > ?? ????? ???? RxD 111111111111111-111111111111111???????????????????? ?
>> > ?
>> > ?? ?????????????????????????????????????????????????????????????????? ?
>> > ?????
>> > ???????? ??????????????????????????????????????????????????????????????
>> >
>> >
>> >
>> > Anybody can help me?
>> >
>> > ????????????????????? Best regards,
>> >
>> > --
>> > _____________________________________________________________________
>> > -- 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
>> >
>>
>> ------------------------------
>>
>> _______________________________________________
>> --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
>>
>> End of asterisk-r2 Digest, Vol 19, Issue 34
>> *******************************************
>
>
> --
> _____________________________________________________________________
> -- 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
>



-- 
---------------------------------------------------------------------------------
Luis Morales
Consultor de Tecnologia
Cel: +(58)412-2352745
---------------------------------------------------------------------------------
"Empieza por hacer lo necesario, luego lo que es posible... y de
pronto estarás haciendo lo imposible"

Leonardo Da'Vinci
---------------------------------------------------------------------------------



More information about the asterisk-r2 mailing list