[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 16:02:32 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 16:02 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0116169) mykhyggz (reporter) - 2010-01-06 16:02
 https://issues.asterisk.org/view.php?id=14995#c116169 
---------------------------------------------------------------------- 
Okay, EC situation is WAY far better with oslec. Turns out, by chance
seeing this patch applied in my Gentoo ebuild
"files/dahdi-2.2.0.2-no-depmod.patch" led me to a WAG... and so I ran
"depmod". (I have no real idea why this would be needed, just guessed after
reading the man page.)

Suddenly alternative-to-mg2 echocan modules loaded w/o a problem. What is
that all about? Basically, when I tried to modprobe the module directly, it
was "not found". Weird. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-06 16:02 mykhyggz       Note Added: 0116169                          
======================================================================




More information about the asterisk-bugs mailing list