[asterisk-bugs] [Asterisk 0017270]: getting warning message every 4 seconds

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Nov 11 20:31:30 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17270 
====================================================================== 
Reported By:                jmls
Assigned To:                rmudgett
====================================================================== 
Project:                    Asterisk
Issue ID:                   17270
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                       SWP-1423 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 271483 
Request Review:              
====================================================================== 
Date Submitted:             2010-04-30 17:05 CDT
Last Modified:              2010-11-11 20:31 CST
====================================================================== 
Summary:                    getting warning message every 4 seconds
Description: 
I have a 4-span EuroISDN span, with 

https://issues.asterisk.org/view.php?id=1 connected to telecoms provider
https://issues.asterisk.org/view.php?id=2 looped to
https://issues.asterisk.org/view.php?id=3
https://issues.asterisk.org/view.php?id=3 looped to
https://issues.asterisk.org/view.php?id=2
https://issues.asterisk.org/view.php?id=4 unplugged

Upgraded libpri and zaptel to latest versions 

zaptel: URL: http://svn.digium.com/svn/zaptel/branches/1.4 Revision: 4696
libpri: URL: http://svn.digium.com/svn/libpri/branches/1.4 Revision: 1684

before this upgrade, I was getting _no_ warning messages, now I am getting
a
 
"WARNING[2659]: chan_dahdi.c:2790 pri_find_dchan: No D-channels available!
 Using Primary channel 109 as D-channel anyway!"

message every 4 seconds

If I remove the definition of the 4th span from zapata.conf, the message
goes away
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014031 [patch] "pri_find_dchan: No D-chan...
has duplicate       0017481 getting warning message every 4 seconds
====================================================================== 

---------------------------------------------------------------------- 
 (0128811) svnbot (reporter) - 2010-11-11 20:31
 https://issues.asterisk.org/view.php?id=17270#c128811 
---------------------------------------------------------------------- 
Repository: libpri
Revision: 2113

U   branches/1.4/pri_internal.h
U   branches/1.4/pri_q921.h
U   branches/1.4/q921.c

------------------------------------------------------------------------
r2113 | rmudgett | 2010-11-11 20:31:26 -0600 (Thu, 11 Nov 2010) | 16 lines

Asterisk is getting a "No D-channels available!" warning message every 4
seconds.

For PTP links, libpri generated the PRI_EVENT_DCHAN_DOWN event every time
it failed to bring layer 2 up because the physical layer is down.

For PTP links, made generate the PRI_EVENT_DCHAN_UP/PRI_EVENT_DCHAN_DOWN
only when it enters/exits the Q.921 superstate consisting of states
7(Q921_MULTI_FRAME_ESTABLISHED) and 8(Q921_TIMER_RECOVERY).

Also changed the PTP link restart delay to be link specific instead of D
channel specific because the GR-303 PTP switch types have more than one
Q.921 link.

(closes issue https://issues.asterisk.org/view.php?id=17270)
Reported by: jmls

------------------------------------------------------------------------

http://svn.digium.com/view/libpri?view=rev&revision=2113 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-11 20:31 svnbot         Note Added: 0128811                          
======================================================================




More information about the asterisk-bugs mailing list