[asterisk-bugs] [DAHDI-linux 0014995]: DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument(22)

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 6 15:17:02 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14995 
====================================================================== 
Reported By:                sruffell
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   14995
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   text
Priority:                   normal
Status:                     acknowledged
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2009-04-29 10:37 CDT
Last Modified:              2010-01-06 15:17 CST
====================================================================== 
Summary:                    DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid
argument(22)
Description: 
On Gentoo, it appears that the kernel is not configured to allow auto
loading of modules.  This prevents the DAHDI_ATTACH_ECHOCAN from loading
the software echo canceler requested in the /etc/dahdi/system.conf file,
and the result is an error like:

"DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument(22)" 

To work around this the "dahdi_echocan_<name of echocan>" could be added
to /etc/dahdi/modules

I.e.  If you have mg2 configured as the echo canceler in
/etc/dahdi/system.conf, add the line "dahdi_echocan_mg2" to
/etc/dahdi/modules.
====================================================================== 

---------------------------------------------------------------------- 
 (0116160) mykhyggz (reporter) - 2010-01-06 15:17
 https://issues.asterisk.org/view.php?id=14995#c116160 
---------------------------------------------------------------------- 
So, being a Gentoo user and getting "DAHDI_ATTACH_ECHOCAN failed on channel
1: Invalid argument(22) " when trying to change EC to oslec (or hpec even)
rather than mg2, I find adding the module name as indicated didn't make any
difference. 

Probably I'm missing some key element that isn't fully documented in the
brief explanation here. ;-) FWIW, the ebuild I'm using *appears* to build
oslec fine. Anyway, my EC situation is "good enough" with mg2, but I'm keen
to give oslec a try. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-06 15:17 mykhyggz       Note Added: 0116160                          
======================================================================




More information about the asterisk-bugs mailing list