Hello,<br><br>On a 4 BRI Euro-ISDN TE/PtmP production system (Asterisk 1.6.1.18, Dahdi 2.5.0, Libpri 1.4.12), I sudently got the console cluttered with messages like this:<br>PRI got event: HDLC Abort(6) on Primary D-Channel of span &lt;foo&gt;<br>
<br>Then a flow of messages (twice per second) like this:<br>PRI got event: HDLC Overrun(7) on Primary D-Channel of span 2<br><br>Contrary to the first one which concerned all of the 4 spans, the second message type only concerned one span (span2).<br>
<br>So I stopped dahdi and asterisk, disabled span 2 and restarted everything.<br><br>No I see :<br>PRI span 1/0: Provisioned, Up, Active<br>PRI span 3/0: Provisioned, In Alarm, Up, Active<br>PRI span 4/0: Provisioned, Up, Active<br>
<br>With dahdi_tool main screen, I can exactly read<br>Alarms                         Span<br>OK                              HA8-0000<br>UNCONFIGURED         HA8-0000<br>OK                              HA8-0000<br>RED                            HA8-0000<br>
<br>With &quot;pri intensive debug span 3&quot;, I&#39;m getting:<br><br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: t203_expire<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c:<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; TEI: 75 State 7(Multi-frame established)<br>
[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; V(A)=3, V(S)=3, V(R)=1<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; K=1, RC=0, l3_initiated=0, reject_except=0, ack_pend=0<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; T200_id=0, N200=3, T203_id=0<br>
[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; [ 00 97 01 03 ]<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; Supervisory frame:<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; SAPI: 00  C/R: 0 EA: 0<br>
[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt;  TEI: 075        EA: 1<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; Zero: 0     S: 0 01: 1  [ RR (receive ready) ]<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; N(R): 001 P/F: 1<br>
[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &gt; 0 bytes of data<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: -- Starting T200 timer<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c:<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; TEI: 75 State 8(Timer recovery)<br>
[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; V(A)=3, V(S)=3, V(R)=1<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; K=1, RC=0, l3_initiated=0, reject_except=0, ack_pend=0<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; T200_id=16384, N200=3, T203_id=0<br>
[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; [ 02 97 01 07 ]<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; Supervisory frame:<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; SAPI: 00  C/R: 1 EA: 0<br>
[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt;  TEI: 075        EA: 1<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; Zero: 0     S: 0 01: 1  [ RR (receive ready) ]<br>[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; N(R): 003 P/F: 1<br>
[Dec  6 10:32:58] VERBOSE[11461] chan_dahdi.c: &lt; 0 bytes of data<br><br>With dahdi_scan :<br>dahdi_scan <br>[1]<br>active=yes<br>alarms=OK<br>description=HA8-0000<br>name=WCBRI/0/0<br>manufacturer=Digium<br>devicetype=HA8-0000<br>
location=PCI Bus 04 Slot 07<br>basechan=1<br>totchans=3<br>irq=20<br>type=digital-TE<br>syncsrc=0<br>lbo=0 db (CSU)/0-133 feet (DSX-1)<br>coding_opts=B8ZS,AMI,HDB3<br>framing_opts=ESF,D4,CCS,CRC4<br>coding=AMI<br>framing=CCS<br>
[2]<br>active=yes<br>alarms=UNCONFIGURED<br>description=HA8-0000<br>name=WCBRI/0/1<br>manufacturer=Digium<br>devicetype=HA8-0000<br>location=PCI Bus 04 Slot 07<br>basechan=4<br>totchans=3<br>irq=20<br>type=digital-TE<br>syncsrc=0<br>
lbo=0 db (CSU)/0-133 feet (DSX-1)<br>coding_opts=B8ZS,AMI,HDB3<br>framing_opts=ESF,D4,CCS,CRC4<br>coding=<br>framing=CAS<br>[3]<br>active=yes<br>alarms=OK<br>description=HA8-0000<br>name=WCBRI/0/2<br>manufacturer=Digium<br>
devicetype=HA8-0000<br>location=PCI Bus 04 Slot 07<br>basechan=7<br>totchans=3<br>irq=20<br>type=digital-TE<br>syncsrc=0<br>lbo=0 db (CSU)/0-133 feet (DSX-1)<br>coding_opts=B8ZS,AMI,HDB3<br>framing_opts=ESF,D4,CCS,CRC4<br>
coding=AMI<br>framing=CCS<br>[4]<br>active=yes<br>alarms=RED<br>description=HA8-0000<br>name=WCBRI/0/3<br>manufacturer=Digium<br>devicetype=HA8-0000<br>location=PCI Bus 04 Slot 07<br>basechan=10<br>totchans=3<br>irq=20<br>
type=digital-TE<br>syncsrc=0<br>lbo=0 db (CSU)/0-133 feet (DSX-1)<br>coding_opts=B8ZS,AMI,HDB3<br>framing_opts=ESF,D4,CCS,CRC4<br>coding=AMI<br>framing=CCS<br><br><br><br><br>I&#39;m trying to understand what is going on.<br>
<br>My questions are:<br><br>1. Am I correct observing span status provided by pri show spans and dahdi_tool, differ:<br>pri show spans says span 3 is in Alarm while dahdi_tool (and dahdi_scan) say that span 4 is in Alarm.<br>
<br>2. Which tool would give me the most accurate reason why a Dahdi span is in RED Alarm ?<br><br>3. Does the  &quot;pri intensive debug span 3&quot; output above really belongs to span 3 and to an In Alarm span ?<br><br>
4. Suggestions ? Comments ?<br><br>Regards<br>