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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 11 13:30:28 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13897 
====================================================================== 
Reported By:                tzafrir
Assigned To:                tzafrir
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13897
Category:                   wcb4xxp
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     confirmed
====================================================================== 
Date Submitted:             2008-11-13 16:17 CST
Last Modified:              2009-03-11 13:30 CDT
====================================================================== 
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.

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

---------------------------------------------------------------------- 
 (0101577) Odicha (reporter) - 2009-03-11 13:30
 http://bugs.digium.com/view.php?id=13897#c101577 
---------------------------------------------------------------------- 
lanzaandrea: Hi! 
The patch is intended for other cards. You seem to have a HFC-S card (1
port). 

It's for 2,4 & 8 ports models (HFC-4S & HFC-8S). 

You can test with BeroNet BN2S0 (HFC-4S chip), but you might test it on
Asterisk 1.6.1 svn trunk because chan_dahdi in 1.4 trunk doesn't have bri
signalling

When you recompile it, please follow this order.
libpri -> dahdi-linux -> dahdi-tools -> asterisk

then if you make dahdi_genconf and dahdi_cfg -vv you might have basic
support. This creates /etc/dahdi/modules , /etc/dahdi/system.conf &
/etc/asterisk/dahdi-channels.conf
You might manually edit /etc/dahdi/system.conf and change dchan channels
to hardhdlc
# Autogenerated by /usr/sbin/dahdi_genconf on Sat Mar  7 02:33:15 2009 --
do not hand edit
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: B4/0/1 "B4XXP (PCI) Card 0 Span 1" (MASTER) AMI/CCS 
span=1,1,0,ccs,ami
# termtype: te
bchan=1-2
hardhdlc=3
echocanceller=mg2,1-2

# Span 2: B4/0/2 "B4XXP (PCI) Card 0 Span 2" AMI/CCS RED
span=2,2,0,ccs,ami
# termtype: te
bchan=4-5
hardhdlc=6
echocanceller=mg2,4-5

It might look like this.

asterisk*CLI> pri show spans
PRI span 1/0: Provisioned, Up, Active
PRI span 2/0: Provisioned, In Alarm, Down, Active

Please report results. Thanks in advance 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-11 13:30 Odicha         Note Added: 0101577                          
======================================================================




More information about the asterisk-bugs mailing list