<HTML>
<HEAD>
<TITLE>Zaptel/DAHDI error's on PRI</TITLE>
</HEAD>
<BODY>
<FONT COLOR="#555555"><FONT SIZE="1"><FONT FACE="Verdana, Helvetica, Arial"><DEFANGED_SPAN STYLE='font-size:8.5pt'>Hi<BR>
<BR>
I've been running into a weird issue, which its hard to get any information on. We successfully setup a R710 system with Asterisk 1.4.22 / libpri 1.4.7, utilizing a Digium TE121B Pci express card. However we are having some stability issues and can't seem to trace it down to if it is a card/system issue or our PRI vendor having a dirty line. I know some will say it is a old version of asterisk, however this is the one that has been deployed as a standard everywhere and our vendor supplied custom apps against it (not relevant to PRI however).<BR>
Basically every once in a while ( arbitrarily throughout the day), the PRI drops and the only way to get it back up is to reboot the system. <BR>
Looking at the dmesg logs we get:<BR>
<BR>
wcte12xp0: Missed interrupt. Increasing latency to 4 ms in order to compensate.<BR>
HDLC Receiver overrun on channel WCT1/0/24 (master=WCT1/0/24)<BR>
<BR>
After searching some state that this could be a IRQ issue or a hardware card issue, however it seems strange as everyone states that it is just a blib and resets itself, not requiring a full hard reset of the entire system. <BR>
Also the card is on its own IRQ as in:<BR>
<BR>
[trixbox proc]# more interrupts <BR>
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 <BR>
0: 603 0 0 1471809 0 0 0 0 IO-APIC-edge timer<BR>
1: 0 0 0 3 0 0 0 0 IO-APIC-edge i8042<BR>
8: 0 0 0 0 0 0 3 0 IO-APIC-edge rtc<BR>
9: 0 0 0 0 0 0 0 0 IO-APIC-level acpi<BR>
12: 4 0 0 0 0 0 0 0 IO-APIC-edge i8042<BR>
50: 0 0 0 21 0 0 0 0 IO-APIC-level ehci_hcd:usb1<BR>
58: 0 0 0 50 0 0 0 0 IO-APIC-level ehci_hcd:usb2, uhci_hcd:usb5<BR>
66: 0 0 0 0 0 0 0 0 IO-APIC-level uhci_hcd:usb3<BR>
74: 0 0 0 0 0 0 0 0 IO-APIC-level uhci_hcd:usb4<BR>
82: 0 0 0 0 0 0 0 0 IO-APIC-level uhci_hcd:usb6<BR>
90: 0 0 0 0 0 8257 0 0 IO-APIC-level ioc0<BR>
98: 0 0 0 0 0 0 15072 0 IO-APIC-level ata_piix<BR>
138: 1415485 0 0 0 0 0 0 0 IO-APIC-level wcte12xp0<BR>
146: 2535 0 0 0 0 0 0 0 PCI-MSI-X eth0<BR>
154: 131 0 0 0 0 0 0 0 PCI-MSI-X eth0<BR>
162: 325 0 0 0 0 0 0 0 PCI-MSI-X eth0<BR>
170: 1036 0 0 0 0 0 0 0 PCI-MSI-X eth0<BR>
178: 108 0 0 0 0 0 0 0 PCI-MSI-X eth0<BR>
186: 814 0 0 0 0 0 0 0 PCI-MSI-X eth0<BR>
194: 134 0 0 0 0 0 0 0 PCI-MSI-X eth0<BR>
NMI: 0 0 0 0 0 0 0 0 <BR>
LOC: 1471806 1471814 1471814 1471813 1471812 1471810 1471809 1471808 <BR>
<BR>
Thus we the next time we had the issue we ran a pri intense debug and received this:<BR>
<BR>
trixbox*CLI> pri intense debug span 1 <BR>
Enabled EXTENSIVE debugging on span 1<BR>
[Feb 15 00:49:07] Sending Set Asynchronous Balanced Mode Extended<BR>
[Feb 15 00:49:07] > [ 00 01 7f ]<BR>
[Feb 15 00:49:07] > Unnumbered frame:<BR>
[Feb 15 00:49:07] > SAPI: 00 C/R: 0 EA: 0 > TEI: 000 EA: 1<BR>
[Feb 15 00:49:07] > M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode extended) ] > 0 bytes of data<BR>
[Feb 15 00:49:08] Sending Set Asynchronous Balanced Mode Extended<BR>
[Feb 15 00:49:08] > [ 00 01 7f ]<BR>
[Feb 15 00:49:08] > Unnumbered frame:<BR>
[Feb 15 00:49:08] > SAPI: 00 C/R: 0 EA: 0> TEI: 000 EA: 1<BR>
[Feb 15 00:49:08] > M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode extended) ] > 0 bytes of data<BR>
[Feb 15 00:49:09] Sending Set Asynchronous Balanced Mode Extended<BR>
[Feb 15 00:49:09] > [ 00 01 7f ]<BR>
[Feb 15 00:49:09] > Unnumbered frame:<BR>
[Feb 15 00:49:09] > SAPI: 00 C/R: 0 EA: 0 > TEI: 000 EA: 1<BR>
[Feb 15 00:49:09] > M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode extended) ] > 0 bytes of data<BR>
[Feb 15 00:49:10] Sending Set Asynchronous Balanced Mode Extended<BR>
[Feb 15 00:49:10] > [ 00 01 7f ]<BR>
[Feb 15 00:49:10] > Unnumbered frame:<BR>
[Feb 15 00:49:10] > SAPI: 00 C/R: 0 EA: 0 > TEI: 000 EA: 1<BR>
[Feb 15 00:49:10] > M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode extended) ] > 0 bytes of data<BR>
[Feb 15 00:49:11] Sending Set Asynchronous Balanced Mode Extended<BR>
<BR>
This repeats endless. <BR>
<BR>
The version of everything:<BR>
Asterisk 1.4.22-4 <BR>
libpri version: 1.4.7<BR>
<BR>
Does anyone have any suggestions?<BR>
Please let me know<BR>
Thanks<BR>
</DEFANGED_SPAN></FONT></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><DEFANGED_SPAN STYLE='font-size:11pt'><BR>
</DEFANGED_SPAN></FONT>
</BODY>
</HTML>