[asterisk-bugs] [Asterisk 0014031]: [patch] "pri_find_dchan: No D-channels available!" error on console when using wcb4xxp

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 17 00:50:29 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14031 
====================================================================== 
Reported By:                sruffell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14031
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 160386 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-08 14:55 CST
Last Modified:              2009-06-17 00:50 CDT
====================================================================== 
Summary:                    [patch] "pri_find_dchan: No D-channels available!"
error on console when using wcb4xxp
Description: 
When a wcb4xxp is connected as a BRI span in TE mode, you get errors like:

[Dec 2 22:02:48] WARNING[4759]: chan_dahdi.c:3008 pri_find_dchan: No
D-channels available! Using Primary channel 6 as D-channel anyway!
[Dec 2 22:02:49] WARNING[4758]: chan_dahdi.c:3008 pri_find_dchan: No
D-channels available! Using Primary channel 3 as D-channel anyway!
[Dec 2 22:03:19] WARNING[4759]: chan_dahdi.c:3008 pri_find_dchan: No
D-channels available! Using Primary channel 6 as D-channel anyway!

On your asterisk console and in your asterisk log. 
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0014617 HFC-s card cannot initiate outgoing calls
related to          0012757 [branch] when BRI span go down cannot m...
====================================================================== 

---------------------------------------------------------------------- 
 (0106533) nenadr (reporter) - 2009-06-17 00:50
 https://issues.asterisk.org/view.php?id=14031#c106533 
---------------------------------------------------------------------- 
IMHO, this patch just suppreses console output "D-Channel on span X down"
but when span really is in alarm (down) and that happens sometimes, one
cannot make outgoing calls. We should try to see what is causing span to go
down.

Interesting thing is that if I have incoming call while span is down, it
gets up and call makes through to the asterisk and sip phone asterisk
directs it to, and after that I can call over that span.

Usualy, span goes down after hangup of either incoming or outgoing call,
and goes up again instantly, but I have seen it to go down without apperent
reason, or not to come up on asterisk start (but it comes up on incoming
call). Hardly reproducable :( (if reproducable at all).

This issue might have something to do with Telco is shuting down PMTP BRI
L2 and DC power, afer certain idle period, and a way hows that handled in
wcb4xxp/libpri/chan_dahdi. 

Tested with dahdi-linux 2.2.0-rc5 (wcb4xxp patched to work with with
OpenVoxB400m 4x bri card with patches from 0014871), dahdi-tools-2.2.0-rc3,
libpri 1.4.10 and asterisk 1.6.1.1. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-17 00:50 nenadr         Note Added: 0106533                          
======================================================================




More information about the asterisk-bugs mailing list