[asterisk-bugs] [DAHDI-linux 0013897]: [patch] Support for generic HFC-4S cards

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 19 10:53:15 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13897 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13897
Category:                   wcb4xxp
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2008-11-13 16:17 CST
Last Modified:              2008-11-19 10:53 CST
====================================================================== 
Summary:                    [patch] Support for generic HFC-4S cards
Description: 
A patch to add some basic support of other HFC-4S -based PCI cards (such as
the ones made by Junghanns). 

Status: gets rid of the echo canceller messages when not needed, but still
needs work.

Specifically:
* It adds too broad a range of cards (which also include bero.net cards) 
* The range may include some 2-ports cards, which will probably not work.

Not yet tested to work, though it it is at least configured.

====================================================================== 

---------------------------------------------------------------------- 
 (0095075) jdg (reporter) - 2008-11-19 10:53
 http://bugs.digium.com/view.php?id=13897#c95075 
---------------------------------------------------------------------- 
Tested the patch with a Junghanns duoBRI. It does not work. Driver loads
and card is recognised, but dahdi_test looks wrong, and .

Nov 19 06:46:42 tiare kernel: dahdi: Telephony Interface Registered on
major 196
Nov 19 06:46:42 tiare kernel: dahdi: Version: SVN--r5321M
Nov 19 06:46:42 tiare kernel: wcb4xxp 0000:04:01.0: probe called for
b4xx...
Nov 19 06:46:42 tiare kernel: wcb4xxp 0000:04:01.0: PCI INT A -> GSI 19
(level, low) -> IRQ 19
Nov 19 06:46:42 tiare kernel: wcb4xxp 0000:04:01.0: Identified HFC-4S PCI
(controller rev 1) at 0000000000019400, IRQ 19
Nov 19 06:46:42 tiare kernel: wcb4xxp 0000:04:01.0: port 0, B channel 0

[root at tiare ~]# dahdi_cfg -vvvvv
DAHDI Tools Version - SVN--r5309

DAHDI Version: SVN--r5321M
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)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: Hardware assisted D-channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: Hardware assisted D-channel (Default) (Slaves: 06)

6 channels to configure.

Changing signalling on channel 1 from Unused to Clear channel
Changing signalling on channel 2 from Unused to Clear channel
Changing signalling on channel 3 from Unused to Hardware assisted
D-channel
Changing signalling on channel 4 from Unused to Clear channel
Changing signalling on channel 5 from Unused to Clear channel
Changing signalling on channel 6 from Unused to Hardware assisted
D-channel

[root at tiare ~]# dahdi_test
Opened pseudo dahdi interface, measuring accuracy...
49.999% 49.995% 49.998% 49.998% 49.999% 49.999% 49.999% 49.998%
49.999% 49.998% 49.998% 50.000% 49.999% 49.999% 49.999% ^C49.999%
49.999% 49.998% 49.999% ^C
--- Results after 19 passes ---
Best: 50.000 -- Worst: 49.995 -- Average: 49.998453, Difference:
49.998453

*CLI> pri show span 1
Primary D-channel: 3
Status: Provisioned, Down, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 1
Logical Channel Mapping: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T309 Timer: -1
T313 Timer: 4000
N200 Counter: 3
Overlap Recv: Yes

*CLI> [Nov 19 06:50:56] WARNING[30207]: app_dial.c:1498 dial_exec_full:
Unable to create channel of type 'Dahdi' (cause 34 - Circuit/channel
congestion)
[Nov 19 06:51:13] NOTICE[30179]: chan_dahdi.c:10585 pri_dchannel: PRI got
event: HDLC Bad FCS (8) on Primary D-channel of span 1
[Nov 19 06:51:18] NOTICE[30179]: chan_dahdi.c:10585 pri_dchannel: PRI got
event: HDLC Bad FCS (8) on Primary D-channel of span 1

Also tried to force numspans=2, same result. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-19 10:53 jdg            Note Added: 0095075                          
======================================================================




More information about the asterisk-bugs mailing list