[asterisk-bugs] [DAHDI-tools 0014061]: Wildcard TE122 Card recognition problem

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 7 08:16:55 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14061 
====================================================================== 
Reported By:                copas2
Assigned To:                tzafrir
====================================================================== 
Project:                    DAHDI-tools
Issue ID:                   14061
Category:                   General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2008-12-11 07:34 CST
Last Modified:              2009-01-07 08:16 CST
====================================================================== 
Summary:                    Wildcard TE122 Card recognition problem
Description: 
Dahdi tools can not recognize the Wildcard TE122 as an E1 card (if
configured so by the jumper on the card) because it reads "Span 1: WCT1/0
"Wildcard TE122 Card 0" (MASTER) HDB3/CCS/CRC4 RED" as the card name
($head) in Span.pm. Problem seems to be that the T1 in "WCT1/0" confuses
the tool and it reports that 31 channels are too many for a T1 span :-)
After changing the wcT1 to someting else in the variable $head, it seems
to be working fine.
====================================================================== 

---------------------------------------------------------------------- 
 (0097138) tzafrir (manager) - 2009-01-07 08:16
 http://bugs.digium.com/view.php?id=14061#c97138 
---------------------------------------------------------------------- 
Before removing that line, the pattern there happened to match to 'E1' from
the string 'TE122'. And that implied that the span is E1. This is
regardless of whether the span is actually E1 or T1. 

After removing it, it matches the pattern 'Wildcard TE122'. Whether it is
E1 or T1 is determained by the number of channels in the span.

(And yes, that place in the code has a FIXME note that J1 also has 24
channels. I have not encontered J1 or bug reports from someone with J1
yet). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-07 08:16 tzafrir        Note Added: 0097138                          
======================================================================




More information about the asterisk-bugs mailing list