[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
Mon Jun 7 11:28:26 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14031 
====================================================================== 
Reported By:                sruffell
Assigned To:                mattf
====================================================================== 
Project:                    Asterisk
Issue ID:                   14031
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
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:              2010-06-07 11:28 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0123062) Terence (reporter) - 2010-06-07 11:28
 https://issues.asterisk.org/view.php?id=14031#c123062 
---------------------------------------------------------------------- 
timking: I am from Canada.  It happened again today, but at a much later
time of 07:29:32.  I did not set the intense debugging since I restarted
but I did notice a few other errors which might be related so I'll see what
I can dig up here.

[Jun  7 07:29:05] NOTICE[18611] chan_dahdi.c: PRI got event: HDLC Abort
(6) on Primary D-channel of span 1
[Jun  7 07:29:32] ERROR[18611] chan_dahdi.c: PTP MDL can't handle error of
type I
[Jun  7 07:29:32] ERROR[18611] chan_dahdi.c: MDL-ERROR (I): T200 = N200 in
timer recovery state 8
[Jun  7 07:29:36] VERBOSE[18611] logger.c:   == Primary D-Channel on span
1 down
[Jun  7 07:29:36] WARNING[18611] chan_dahdi.c: No D-channels available! 
Using Primary channel 24 as D-channel anyway!
[Jun  7 07:29:40] WARNING[18611] chan_dahdi.c: No D-channels available! 
Using Primary channel 24 as D-channel anyway!
[Jun  7 07:29:42] VERBOSE[18611] logger.c:   == Primary D-Channel on span
1 up
[Jun  7 07:29:42] VERBOSE[18611] logger.c:     -- Channel 0/1, span 1 got
hangup, cause 27
[Jun  7 07:29:42] VERBOSE[18611] logger.c:     -- Channel 0/2, span 1 got
hangup, cause 27
[Jun  7 07:29:42] DEBUG[19900] chan_dahdi.c: Set option AUDIO MODE, value:
ON(1) on DAHDI/2-1
[Jun  7 07:29:42] DEBUG[19900] chan_dahdi.c: Already hungup...  Calling
hangup once, and clearing call
[Jun  7 07:29:42] DEBUG[19900] chan_dahdi.c: Set option AUDIO MODE, value:
OFF(0) on DAHDI/2-1
[Jun  7 07:29:42] DEBUG[19899] chan_dahdi.c: Set option AUDIO MODE, value:
ON(1) on DAHDI/1-1
[Jun  7 07:29:42] DEBUG[19899] chan_dahdi.c: Already hungup...  Calling
hangup once, and clearing call
[Jun  7 07:29:42] DEBUG[19899] chan_dahdi.c: Set option AUDIO MODE, value:
OFF(0) on DAHDI/1-1
[Jun  7 07:29:42] VERBOSE[19899] logger.c:     -- Hungup 'DAHDI/1-1'
[Jun  7 07:29:44] VERBOSE[18611] logger.c:   == Primary D-Channel on span
1 down
[Jun  7 07:29:44] WARNING[18611] chan_dahdi.c: No D-channels available! 
Using Primary channel 24 as D-channel anyway! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-07 11:28 Terence        Note Added: 0123062                          
======================================================================




More information about the asterisk-bugs mailing list