<div dir="ltr">If someone is able to reproduce this behavior (unstable bits after red alarm bouncing) I can take a look, however, if the ABCD bits as reported by the DAHDI driver are the problem, there is nothing openr2 can do as it trusts what DAHDI says<div>
<br></div><div>Moy<br><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 9, 2013 at 4:53 PM, Marcelo Pacheco <span dir="ltr">&lt;<a href="mailto:marcelo@m2j.com.br" target="_blank">marcelo@m2j.com.br</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>I have seen this happen when there are
      quick alarm on the trunk, OK-&gt;RED, 1-4 seconds later,
      RED-&gt;OK, check for alarms on the log.<br>
      If it&#39;s this problem, a dahdi restart will rectify.<br>
      Let the developers know, I&#39;m trying to get 100% rid of all MFC R2
      with Asterisk due to this kind of issues, but ISDN is impossible
      to obtain in the countryside.<span class=""><font color="#888888"><br>
      <br>
      Marcelo</font></span><div><div class="h5"><br>
      <br>
      On 05/09/13 17:00, ServTelar wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      
      Check the bit status using dahdi_tool. ABCD=1101 means block, 1001
      means idle (showing in vertical).
      <div><br>
      </div>
      <div>
        <div>    ┌───────────────┤ T4XXP (PCI) Card 0 Span 3
          ├────────────────┐                                            
                   </div>
        <div>                                               ┌─────│    
                                                                 │ ────┐
                                                         </div>
        <div>                                               │     │    
                                                                 │     │
                                                         </div>
        <div>                                               │     │  
           Current Alarms:     No alarms.                          │    
          │                                                </div>
        <div>                                               │     │  
           Sync Source:        T4XXP (PCI) Card 0 Span 1           │  ↑
           │                                                </div>
        <div>                                               │     │  
           IRQ Misses:               0                             │  ▒
           │                                                </div>
        <div>                                               │     │  
           Bipolar Viol:             0                             │  ▒
           │                                                </div>
        <div>                                               │     │  
           Tx/Rx Levels:         0/  0                             │  ▒
           │                                                </div>
        <div>                                               │     │  
           Total/Conf/Act:      31/ 30/ 30                         │  ▒
           │                                                </div>
        <div>                                               │     │    
                                  1111111111222222222233        
          ┌──────┐    │  ▒  │                                          
               </div>
        <div>                                               │     │    
             1234567890123456789012345678901         │ Back │    │  ▮  │
                                                         </div>
        <div>                                               │     │  
           TxA 111111111111111 111111111111111       └──────┘    │  ▒  │
                                                         </div>
        <div>                                               │     │  
           TxB 111111111111111 111111111111111                     │  ▒
           │                                                </div>
        <div>                                               │     │  
           TxC 000000000000000 000000000000000                     │  ↓
           │                                                </div>
        <div>                                               │     │  
           TxD 111111111111111 111111111111111                     │    
          │                                                </div>
        <div>                                               │     │    
                                                                 │     │
                                                         </div>
        <div>                                               │     │  
           RxA 111111111111111 111111111111111                     │    
          │                                                </div>
        <div>                                               │     │  
           RxB 011111111111111 111111111111111                     │    
          │                                                </div>
        <div>                                               │     │  
           RxC 000000000000000 000000000000000                     │    
          │                                                </div>
        <div>                                               │     │  
           RxD 111111111111111 111111111111111                   </div>
      </div>
      <div><br>
      </div>
      <div>In this case just ch=1 is receiving idle, the rest are
        blocked, and we&#39;re transmitting blocked.</div>
      <div><br>
      </div>
      <div>Regards</div>
      <div><br>
      </div>
      <div>Gustavo</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div>On May 9, 2013, at 3:51 PM, Christian Cabrera &lt;<a href="mailto:ccabrera@gmail.com" target="_blank">ccabrera@gmail.com</a>&gt;
          wrote:</div>
        <br>
        <blockquote type="cite">
          <div dir="ltr">
            <div style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Hello,</div>
            <div style="font-family:tahoma,sans-serif;color:rgb(0,0,102)"><br>
            </div>
            <div style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">
              Recently, the E1 of one of my clients stopped &quot;almost&quot;
              working. They have a 10 channel E1 with R2, but only the
              first channel appears as IDLE, while the remaining stay at
              BLOCK.</div>
            <div style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">
              <br>
            </div>
            <div style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">Here&#39;s
              what the mfcr2 show channels throws:</div>
            <div style="font-family:tahoma,sans-serif;color:rgb(0,0,102)">
              <br>
            </div>
            <div>
              <div><font color="#000066" face="tahoma, sans-serif">Chan Variant Max ANI Max
                  DNIS ANI First Immediate Accept Tx CAS   Rx CAS</font></div>
              <div>
                <font color="#000066" face="tahoma, sans-serif">   1 MX
                       10      4        No        No               IDLE
                      IDLE</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">   2 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">   3 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">   4 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">   5 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">   6 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">   7 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">   8 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">   9 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div><font color="#000066" face="tahoma, sans-serif">  10 MX      10      4      
                   No        No               IDLE     BLOCK</font></div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif"><br>
              </div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif"><br>
              </div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif">The
                configuration is as usual. Here&#39;s my system.conf:</div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif"><br>
              </div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif">------------------------------------------</div>
              <div>
                <div><font color="#000066" face="tahoma, sans-serif">span=1,1,0,cas,hdb3</font></div>
                <div><span style="color:rgb(0,0,102);font-family:tahoma,sans-serif">cas=1-15:1101</span><br>
                </div>
                <div><font color="#000066" face="tahoma, sans-serif">cas=17-31:1101</font></div>
                <div><span style="color:rgb(0,0,102);font-family:tahoma,sans-serif">echocanceller=mg2,1-15,17-31</span><br>
                </div>
                <div><br>
                </div>
                <div><font color="#000066" face="tahoma, sans-serif">loadzone
                           = mx</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">defaultzone
                        = mx</font></div>
                <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif">
                  ------------------------------------------<br>
                </div>
              </div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif"><br>
              </div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif"><br>
              </div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif">
                And here&#39;s my chan_dahdi.conf</div>
              <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif"><br>
              </div>
              <div>
                <div>
                  <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif">------------------------------------------<br>
                  </div>
                </div>
                <div><font color="#000066" face="tahoma, sans-serif">signalling=mfcr2</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_variant=mx</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_get_ani_first=no</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_max_ani=10</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_max_dnis=4</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_category=national_subscriber</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_mfback_timeout=-1</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_metering_pulse_timeout=-1</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_forced_release=no</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">context=from-pstn</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">group=0</font></div>
                <div><font color="#000066" face="tahoma, sans-serif"><br>
                  </font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_logdir=span1</font></div>
                <div><font color="#000066" face="tahoma, sans-serif">mfcr2_call_files=yes</font></div>
                <div><span style="color:rgb(0,0,102);font-family:tahoma,sans-serif">mfcr2_logging=all</span><br>
                </div>
                <div><font color="#000066" face="tahoma, sans-serif">channel
                    =&gt; 1-10</font></div>
                <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif">
                  <div style="color:rgb(34,34,34);font-family:arial">
                    <div style="color:rgb(0,0,102);font-family:tahoma,sans-serif">
                      ------------------------------------------<br>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>Unless I just got blind, everything is
                      by the book (and this setup was working fine).
                      These are the specifics of the system:</div>
                    <div><br>
                    </div>
                    <div>OpenR2 1.3.2</div>
                    <div>Asterisk 1.8.21.0</div>
                    <div>Digium Wildcard TE121</div>
                    <div>Carrier: Telmex (México)</div>
                    <div>CentOS 6.4 (just recently did yum -y
                      upgrade so everything is the most recent version
                      as of today)</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>Apart from checking the config files
                      again and again, this is what I also tried:</div>
                    <div><br>
                    </div>
                    <div>- Plugging/unplugging the cable</div>
                    <div>- Rebooting</div>
                    <div>- Switching the card from PCIe slot </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>As you can imagine, Telmex says &quot;its
                      fine from my side&quot;. Since everything started to
                      malfunction with no users involved, my guts tell
                      me its them, not us. How can I prove it with a
                      Digium card? I know the commands from Sangoma for
                      wanpipe debugging, but this cards are not my
                      strongest point when it comes to debugging. </div>
                    <div><br>
                    </div>
                    <div>Any ideas? Any commands I can execute
                      to mail Telmex and prove whose fault is this?</div>
                    <div><br>
                    </div>
                    <div>Regards,</div>
                    <div><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          --<br>
_____________________________________________________________________<br>
          -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a>
          --<br>
          <br>
          asterisk-r2 mailing list<br>
          To UNSUBSCRIBE or update options visit:<br>
            <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a></blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --

asterisk-r2 mailing list
To UNSUBSCRIBE or update options visit:
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br></blockquote></div><br></div></div></div></div>