# Asterisk1.8.4.4 dahdi openvox BE400E problem - urgent

**URL:** <https://community.asterisk.org/t/asterisk1-8-4-4-dahdi-openvox-be400e-problem-urgent/35797>\
**Category:** Asterisk Support\
**Created:** [June 30, 2011, 11:44am UTC](https://community.asterisk.org/t/asterisk1-8-4-4-dahdi-openvox-be400e-problem-urgent/35797 "2011-06-30T11:44:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [June 30, 2011, 11:44am UTC](https://community.asterisk.org/t/asterisk1-8-4-4-dahdi-openvox-be400e-problem-urgent/35797/1 "2011-06-30T11:44:45Z")

</div>

Good day all

i’m facing a problem that cours randomly, 3 or 4 times a day

i have a Be400E whit two nt ports as TE and 3 as NT to connect to a legacy siemens PBX

the problem is that interfaces goes dow

logs

[Jun 30 09:41:37] VERBOSE[32511] chan\_dahdi.c: 2 TEI=0 MDL-ERROR (I): T200 expired N200 times sending RR/RNR in state 8(Timer recovery)  
[Jun 30 09:41:37] VERBOSE[32511] chan\_dahdi.c: 2 TEI=0 Sending SABME  
[Jun 30 09:41:37] VERBOSE[32511] chan\_dahdi.c: 2 Changing from state 8(Timer recovery) to 5(Awaiting establishment)  
[Jun 30 09:41:37] VERBOSE[32511] sig\_pri.c: Span: 2 Processing event: PRI\_EVENT\_DCHAN\_DOWN  
[Jun 30 09:41:37] VERBOSE[32511] sig\_pri.c: == Primary D-Channel on span 2 down  
[Jun 30 09:41:37] WARNING[32511] sig\_pri.c: Span 2: No D-channels available! Using Primary channel as D-channel anyway!  
[Jun 30 09:41:37] VERBOSE[32513] chan\_dahdi.c: 4 TEI=0 MDL-ERROR (I): T200 expired N200 times sending RR/RNR in state 8(Timer recovery)  
[Jun 30 09:41:37] VERBOSE[32513] chan\_dahdi.c: 4 TEI=0 Sending SABME  
[Jun 30 09:41:37] VERBOSE[32513] chan\_dahdi.c: 4 Changing from state 8(Timer recovery) to 5(Awaiting establishment)  
[Jun 30 09:41:37] VERBOSE[32513] sig\_pri.c: Span: 4 Processing event: PRI\_EVENT\_DCHAN\_DOWN  
[Jun 30 09:41:37] VERBOSE[32513] sig\_pri.c: == Primary D-Channel on span 4 down  
[Jun 30 09:41:37] WARNING[32513] sig\_pri.c: Span 4: No D-channels available! Using Primary channel as D-channel anyway!  
[Jun 30 09:41:38] VERBOSE[32511] chan\_dahdi.c: 2 TEI=0 Sending SABME  
[Jun 30 09:41:38] VERBOSE[32513] chan\_dahdi.c: 4 TEI=0 Sending SABME  
[Jun 30 09:41:39] VERBOSE[32512] chan\_dahdi.c: 3 TEI=0 MDL-ERROR (I): T200 expired N200 times sending RR/RNR in state 8(Timer recovery)  
[Jun 30 09:41:39] VERBOSE[32512] chan\_dahdi.c: 3 TEI=0 Sending SABME  
[Jun 30 09:41:39] VERBOSE[32512] chan\_dahdi.c: 3 Changing from state 8(Timer recovery) to 5(Awaiting establishment)  
[Jun 30 09:41:39] VERBOSE[32512] sig\_pri.c: Span: 3 Processing event: PRI\_EVENT\_DCHAN\_DOWN  
[Jun 30 09:41:39] VERBOSE[32512] sig\_pri.c: == Primary D-Channel on span 3 down  
[Jun 30 09:41:39] WARNING[32512] sig\_pri.c: Span 3: No D-channels available! Using Primary channel as D-channel anyway!  
[Jun 30 09:41:39] VERBOSE[32511] chan\_dahdi.c: 2 TEI=0 Sending SABME  
[Jun 30 09:41:39] VERBOSE[32513] chan\_dahdi.c: 4 TEI=0 Sending SABME  
[Jun 30 09:41:39] VERBOSE[32510] chan\_dahdi.c: 1 TEI=0 MDL-ERROR (I): T200 expired N200 times sending RR/RNR in state 8(Timer recovery)  
[Jun 30 09:41:39] VERBOSE[32510] chan\_dahdi.c: 1 TEI=0 Sending SABME  
[Jun 30 09:41:39] VERBOSE[32510] chan\_dahdi.c: 1 Changing from state 8(Timer recovery) to 5(Awaiting establishment)  
[Jun 30 09:41:39] VERBOSE[32510] sig\_pri.c: Span: 1 Processing event: PRI\_EVENT\_DCHAN\_DOWN  
[Jun 30 09:41:39] VERBOSE[32510] sig\_pri.c: == Primary D-Channel on span 1 down  
[Jun 30 09:41:39] WARNING[32510] sig\_pri.c: Span 1: No D-channels available! Using Primary channel as D-channel anyway!  
[Jun 30 09:41:40] VERBOSE[32512] chan\_dahdi.c: 3 TEI=0 Sending SABME  
[Jun 30 09:41:40] VERBOSE[32511] chan\_dahdi.c: 2 TEI=0 Sending SABME

I im using dahdi 2.4.0 patched by openvox  
tested libpri 1.4.11.4 and 1.4.11.5  
same problem  
replaced libpri whith SVN version yesterday

My dahdy system.conf

# Span 1: B4/0/1 “B4XXP (PCI) Card 0 Span 1” (MASTER) AMI/CCS

span=1,1,0,ccs,ami

# termtype: te

bchan=1-2  
hardhdlc=3  
#echocanceller=oslec,1-2

# Span 2: B4/0/2 “B4XXP (PCI) Card 0 Span 2” AMI/CCS

span=2,2,0,ccs,ami

# termtype: te

bchan=4-5  
hardhdlc=6  
#echocanceller=oslec,4-5

# Span 3: B4/0/3 “B4XXP (PCI) Card 0 Span 3” AMI/CCS

span=3,0,0,ccs,ami

# termtype: te

bchan=7-8  
hardhdlc=9  
#echocanceller=oslec,7-8

# Span 4: B4/0/4 “B4XXP (PCI) Card 0 Span 4” AMI/CCS

span=4,0,0,ccs,ami

# termtype: te

bchan=10-11  
hardhdlc=12  
#echocanceller=oslec,10-11

# Global data

loadzone = pt  
defaultzone = pt

chan\_dahdi.conf  
; DAHDI Telephony Configuration file  
[trunkgroups]

[channels]

language=en  
#context=from-zaptel  
rxwink=300 ; Atlas seems to use long (250ms) winks  
;  
; Whether or not to do distinctive ring detection on FXO lines  
;  
;usedistinctiveringdetection=yes

usecallerid=yes  
hidecallerid=no  
callwaiting=yes  
usecallingpres=yes  
callwaitingcallerid=yes  
threewaycalling=yes  
transfer=yes  
cancallforward=yes  
callreturn=yes  
echocancel=yes  
echocancelwhenbridged=no  
;echotraining=800  
rxgain=0.0  
txgain=0.0  
group=0  
callgroup=1  
pickupgroup=1  
immediate=no

;faxdetect=both  
;faxdetect=incoming

#include dahdi-channels.conf

dahdi-channels.conf  
; Span 1: B4/0/1 “B4XXP (PCI) Card 0 Span 1” (MASTER) AMI/CCS  
group=0,11  
context=from-pstn  
resetinterval = 300  
switchtype = euroisdn  
signalling = bri\_cpe  
channel =\> 1-2  
context = default  
group = 63

; Span 2: B4/0/2 “B4XXP (PCI) Card 0 Span 2” AMI/CCS  
group=0,12  
context=from-pstn  
resetinterval = 300  
switchtype = euroisdn  
signalling = bri\_cpe  
channel =\> 4-5  
context = default  
group = 63

; Span 3: B4/0/3 “B4XXP (PCI) Card 0 Span 3” AMI/CCS  
group=0,13  
context=from-internal  
resetinterval = 300  
overlapdial=yes  
switchtype = euroisdn  
signalling = bri\_net  
channel =\> 7-8  
context = default  
group = 63

; Span 4: B4/0/4 “B4XXP (PCI) Card 0 Span 4” AMI/CCS  
group=0,14  
context=from-internal  
resetinterval = 300  
overlapdial=yes  
switchtype = euroisdn  
signalling = bri\_net  
channel =\> 10-11  
context = default  
group = 63

TDC-Forter:~# dahdi\_cfg -vv  
DAHDI Tools Version - 2.4.0

# DAHDI Version: 2.4.0 Echo Canceller(s): Configuration

SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)  
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)  
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)  
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Echo Canceler: none) (Slaves: 01)  
Channel 02: Clear channel (Default) (Echo Canceler: none) (Slaves: 02)  
Channel 03: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 03)  
Channel 04: Clear channel (Default) (Echo Canceler: none) (Slaves: 04)  
Channel 05: Clear channel (Default) (Echo Canceler: none) (Slaves: 05)  
Channel 06: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 06)  
Channel 07: Clear channel (Default) (Echo Canceler: none) (Slaves: 07)  
Channel 08: Clear channel (Default) (Echo Canceler: none) (Slaves: 08)  
Channel 09: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 09)  
Channel 10: Clear channel (Default) (Echo Canceler: none) (Slaves: 10)  
Channel 11: Clear channel (Default) (Echo Canceler: none) (Slaves: 11)  
Channel 12: Hardware assisted D-channel (Default) (Echo Canceler: none) (Slaves: 12)

12 channels to configure.

Setting echocan for channel 1 to none  
Setting echocan for channel 2 to none  
Setting echocan for channel 3 to none  
Setting echocan for channel 4 to none  
Setting echocan for channel 5 to none  
Setting echocan for channel 6 to none  
Setting echocan for channel 7 to none  
Setting echocan for channel 8 to none  
Setting echocan for channel 9 to none  
Setting echocan for channel 10 to none  
Setting echocan for channel 11 to none  
Setting echocan for channel 12 to none

TDC-Forter:~# lsdahdi

### Span 1: B4/0/1 “B4XXP (PCI) Card 0 Span 1” (MASTER) AMI/CCS

1 BRI Clear (In use)  
2 BRI Clear (In use)  
3 BRI Hardware-assisted HDLC (In use)

### Span 2: B4/0/2 “B4XXP (PCI) Card 0 Span 2” AMI/CCS

4 BRI Clear (In use)  
5 BRI Clear (In use)  
6 BRI Hardware-assisted HDLC (In use)

### Span 3: B4/0/3 “B4XXP (PCI) Card 0 Span 3” AMI/CCS

7 BRI Clear (In use)  
8 BRI Clear (In use)  
9 BRI Hardware-assisted HDLC (In use)

### Span 4: B4/0/4 “B4XXP (PCI) Card 0 Span 4” AMI/CCS

10 BRI Clear (In use)  
11 BRI Clear (In use)  
12 BRI Hardware-assisted HDLC (In use)

lspci  
02:00.0 ISDN controller: Cologne Chip Designs GmbH ISDN network Controller [HFC-4S] (rev 01)  
Subsystem: Cologne Chip Designs GmbH Device e888  
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-  
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium \>TAbort- \<TAbort- SERR- \<PERR- INTx-  
Interrupt: pin A routed to IRQ 16  
Region 0: I/O ports at 2000 [size=8]  
Region 1: Memory at df900000 (32-bit, non-prefetchable) [size=4K]  
Capabilities: [40] Power Management version 2  
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)  
Status: D0 PME-Enable- DSel=0 DScale=0 PME+  
Kernel driver in use: wcb4xxp  
Kernel modules: wcb4xxp

system debian lenny amd64  
TDC-Forter:~# uname -a  
Linux TDC-Forter 2.6.26-2-amd64 #1 SMP Mon Jun 13 16:29:33 UTC 2011 x86\_64 GNU/Linux

any help apreciated  
thanks

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [June 30, 2011, 11:49am UTC](https://community.asterisk.org/t/asterisk1-8-4-4-dahdi-openvox-be400e-problem-urgent/35797/2 "2011-06-30T11:49:27Z")

</div>

One more strange thing

TDC-Forter\*CLI\> pri show spans  
PRI span 1/0: Up, Active  
PRI span 2/0: Up, Active  
PRI span 3/0: Up, Active  
PRI span 4/0: Up, Active

it should by PRI span 1/0: Provisioned ,Up, Active

after a few minutes/ours it comes dow

TDC-Forter\*CLI\> pri show spans  
PRI span 1/0: Down, Active  
PRI span 2/0: Down, Active  
PRI span 3/0: Down, Active  
PRI span 4/0: Down, Active

---

<div class="post-metadata">

**Author:** ![malcolmd](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/malcolmd/32/5_2.png) [@malcolmd](https://community.asterisk.org/u/malcolmd)\
**Post date:** [July 6, 2011, 6:17pm UTC](https://community.asterisk.org/t/asterisk1-8-4-4-dahdi-openvox-be400e-problem-urgent/35797/3 "2011-07-06T18:17:06Z")

</div>

Buying Digium cards means you can contact the Digium Support department for assistance. It also means you support the continued operation of things like…this forum.

Try your vendor, maybe they can help.
