[asterisk-bugs] [DAHDI 0013394]: BRI support in dahdi does not work

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Sep 6 15:16:06 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13394 
====================================================================== 
Reported By:                dnehring
Assigned To:                tzafrir
====================================================================== 
Project:                    DAHDI
Issue ID:                   13394
Category:                   General
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2008-08-28 16:38 CDT
Last Modified:              2008-09-06 15:16 CDT
====================================================================== 
Summary:                    BRI support in dahdi does not work
Description: 
I enable #define CONFIG_DAHDI_BRI_DCHANS
in dahdi_config.h

  CC [M] 
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.o
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:
In function 'rx_dchan':
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:469:
error: 'struct dahdi_chan' has no member named 'bytes2receive'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:470:
error: 'struct dahdi_chan' has no member named 'bytes2transmit'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:512:
error: 'struct dahdi_chan' has no member named 'bytes2receive'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:513:
error: 'struct dahdi_chan' has no member named 'eofrx'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:
In function 'tx_dchan':
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:538:
error: 'struct dahdi_chan' has no member named 'bytes2transmit'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:539:
error: 'struct dahdi_chan' has no member named 'eoftx'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:540:
error: 'struct dahdi_chan' has no member named 'bytes2transmit'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:541:
error: 'struct dahdi_chan' has no member named 'eoftx'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:542:
error: 'struct dahdi_chan' has no member named 'bytes2receive'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:543:
error: 'struct dahdi_chan' has no member named 'eofrx'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:
In function 'BRI_card_dahdi_preregistration':
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:691:
error: 'DAHDI_FLAGBIT_BRIDCHAN' undeclared (first use in this function)
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:691:
error: (Each undeclared identifier is reported only once
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:691:
error: for each function it appears in.)
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:700:
error: 'struct dahdi_chan' has no member named 'maxbytes2transmit'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:701:
error: 'struct dahdi_chan' has no member named 'bytes2transmit'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:702:
error: 'struct dahdi_chan' has no member named 'bytes2receive'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:
In function 'BRI_card_close':
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:949:
error: 'struct dahdi_chan' has no member named 'bytes2receive'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:950:
error: 'struct dahdi_chan' has no member named 'eofrx'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:951:
error: 'struct dahdi_chan' has no member named 'bytes2transmit'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:952:
error: 'struct dahdi_chan' has no member named 'eoftx'
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:
In function 'bri_startup':
/usr/src/redhat/BUILD/dahdi-linux-complete-2.0.0-rc3+2.0.0-rc2/linux/drivers/dahdi/xpp/card_bri.c:1040:
error: 'DAHDI_FLAGBIT_BRIDCHAN' undeclared (first use in this function)

I also do not find any bri driver (even not HFC) :-(

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

---------------------------------------------------------------------- 
 (0092150) tzafrir (manager) - 2008-09-06 15:16
 http://bugs.digium.com/view.php?id=13394#c92150 
---------------------------------------------------------------------- 
This is regarding a file in the tree (drivers/dahdi/xpp/card_bri.c) . 
I need to update the patch bri_dchan, I guess. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-06 15:16 tzafrir        Note Added: 0092150                          
======================================================================




More information about the asterisk-bugs mailing list