Problem with dahdi and E1

The thing is that occasionally the voice will start hearing the voice is heard wrong … hoarse after the E1 and does not take or receive calls

This are my configs…

cat /etc/dahdi/system.conf

span=1,1,0,ccs,hdb3
bchan=1-15
dchan=16
bchan=17-31

fxsks=32
#echocanceller=mg2,32
fxsks=33
#echocanceller=mg2,33
fxsks=34
#echocanceller=mg2,34
fxsks=35
#echocanceller=mg2,35
fxsks=36
#echocanceller=mg2,36
fxsks=37
#echocanceller=mg2,37
fxsks=38
#echocanceller=mg2,38
fxsks=39
#echocanceller=mg2,39

Global data

loadzone = us
defaultzone = us

#cat /etc/asterisk/chan_dahdi.conf

[channels]
language=es
#include chan_dahdi_additional.conf
#include dahdi-channels.conf
context=from-pstn
signalling=fxs_ks
faxdetect=incoming
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
callerid=asreceived
usecallerid=yes
hidecallerid=no
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
callgroup=1
pickupgroup=1
immediate=no
;amaflags=default
musiconhold=default
busydetect=yes
group=0
callerid=asreceived
context=from-zaptel
signalling=pri_cpe
switchtype=euroisdn
channel => 1-15,17-31
signalling=fxs_ks
callerid=asreceived
group=1
context=from-zaptel
channel => 32
signalling=fxs_ks
callerid=asreceived
group=1
context=from-zaptel
channel => 33
signalling=fxs_ks
callerid=asreceived
group=2
context=from-zaptel
channel => 34
signalling=fxs_ks
callerid=asreceived
group=2
context=from-zaptel
channel => 35
signalling=fxs_ks
callerid=asreceived
group=2
context=from-zaptel
channel => 36
signalling=fxs_ks
callerid=asreceived
group=2
context=from-zaptel
channel => 37
signalling=fxs_ks
callerid=asreceived
group=3
context=from-zaptel
channel => 38
signalling=fxs_ks
callerid=asreceived
group=3
context=from-zaptel
channel => 39

cat /etc/asterisk/dahdi-channels.conf

; Span 1: WCT1/0 “Wildcard TE121 Card 0” (MASTER) HDB3/CCS/CRC4 REDClockSource
group=0
context=from-zaptel
switchtype=euroisdn
signalling=pri_cpe
channel => 1-15,17-31

signalling=fxs_ks
callerid=asreceived
group=1
context=from-zaptel
channel => 32

signalling=fxs_ks
callerid=asreceived
group=1
context=from-zaptel
channel => 33

signalling=fxs_ks
callerid=asreceived
group=2
context=from-zaptel
channel => 34

signalling=fxs_ks
callerid=asreceived
group=2
context=from-zaptel
channel => 35

signalling=fxs_ks
callerid=asreceived
group=2
context=from-zaptel
channel => 36

signalling=fxs_ks
callerid=asreceived
group=2
context=from-zaptel
channel => 37

signalling=fxs_ks
callerid=asreceived
group=3
context=from-zaptel
channel => 38

signalling=fxs_ks
callerid=asreceived
group=3
context=from-zaptel
channel => 39

cat /proc/interreuptions

129: 64976317 0 0 0 IO-APIC-level wcte12xp0
130: 66 461 694 2347 PCI-MSI-X eth1-2
137: 152387 56580966 0 8192205 IO-APIC-level wctdm24xxp0
138: 68 2696 1514 557 PCI-MSI-X eth1-3

ls /usr/src/asterisk/

asterisk-1.4.27.1
dahdi-linux-complete-2.2.0.2+2.2.0
libpri-1.4.10.2
asterisk-addons-1.4.10

Kernel (the newest from centos 5.4, any recommendations for kernel?)

kernel-2.6.18-164.9.1.el5
kernel-headers-2.6.18-164.9.1.el5
kernel-devel-2.6.18-164.9.1.el5

cat /proc/dahdi/1
Span 1: WCT1/0 “Wildcard TE121 Card 0” (MASTER) HDB3/CCS ClockSource
IRQ misses: 30 (problems with irqs??)

       1 WCT1/0/1 Clear (In use) (EC: VPM150M)
       2 WCT1/0/2 Clear (In use)
       3 WCT1/0/3 Clear (In use)
       4 WCT1/0/4 Clear (In use)
       5 WCT1/0/5 Clear (In use) (EC: VPM150M)
       6 WCT1/0/6 Clear (In use)
       7 WCT1/0/7 Clear (In use)
       8 WCT1/0/8 Clear (In use)
       9 WCT1/0/9 Clear (In use)
      10 WCT1/0/10 Clear (In use)
      11 WCT1/0/11 Clear (In use)
      12 WCT1/0/12 Clear (In use)
      13 WCT1/0/13 Clear (In use)
      14 WCT1/0/14 Clear (In use)
      15 WCT1/0/15 Clear (In use)
      16 WCT1/0/16 HDLCFCS (In use)
      17 WCT1/0/17 Clear (In use)
      18 WCT1/0/18 Clear (In use)
      19 WCT1/0/19 Clear (In use)
      20 WCT1/0/20 Clear (In use)
      21 WCT1/0/21 Clear (In use)
      22 WCT1/0/22 Clear (In use)
      23 WCT1/0/23 Clear (In use)
      24 WCT1/0/24 Clear (In use)
      25 WCT1/0/25 Clear (In use) (EC: VPM150M)
      26 WCT1/0/26 Clear (In use)
      27 WCT1/0/27 Clear (In use)
      28 WCT1/0/28 Clear (In use)
      29 WCT1/0/29 Clear (In use)
      30 WCT1/0/30 Clear (In use)
      31 WCT1/0/31 Clear (In use)

cat /proc/dahdi/2

Span 2: WCTDM/0 "Wildcard AEX800 Board 1"
IRQ misses: 30

      32 WCTDM/0/0 FXSKS (In use) RED
      33 WCTDM/0/1 FXSKS (In use)
      34 WCTDM/0/2 FXSKS (In use)
      35 WCTDM/0/3 FXSKS (In use)
      36 WCTDM/0/4 FXSKS (In use)
      37 WCTDM/0/5 FXSKS (In use)
      38 WCTDM/0/6 FXSKS (In use) (EC: VPM150M)
      39 WCTDM/0/7 FXSKS (In use) RED

both card have an eco cancellation hardware (e1 and 8FXO)

The error in asterisk console

[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 09:44:48] NOTICE[9461] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 11:47:12] NOTICE[23384] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 11:47:23] DEBUG[23384] chan_dahdi.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/1 span 1
[Jan 13 11:47:24] NOTICE[23384] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 11:47:24] NOTICE[23384] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1
[Jan 13 11:47:26] DEBUG[23384] chan_dahdi.c: Echo cancellation already on
[Jan 13 11:47:26] NOTICE[23384] chan_dahdi.c: PRI got event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Jan 13 11:47:27] ERROR[23384] chan_dahdi.c: !! Got reject for frame 38, but we have nothing – resetting!
[Jan 13 11:47:37] NOTICE[23384] chan_dahdi.c: PRI got event: HDLC Abort (6) on Primary D-channel of span 1

Only works if i restart dahdi…

Any comments ?

Howdy,

Please open a case directly with our Support team here:

digium.com/en/supportcenter/

Cheers.