[asterisk-users] Echo cancellation on DAHDI

Brian brel.astersik100129 at copperproductions.co.uk
Tue Mar 2 10:38:50 CST 2010


On Tue, 2010-03-02 at 15:59 +0000, Brian wrote:
> On Tue, 2010-03-02 at 12:45 -0300, Vinícius Fontes wrote:
> > ----- "Brian" <brel.astersik100129 at copperproductions.co.uk> escreveu:
> > 
> > > On Tue, 2010-03-02 at 09:22 -0300, Vinícius Fontes wrote:
> > > > ----- "DHAVAL INDRODIYA" <dhaval.it01034 at gmail.com> escreveu:
> > > >
> > > > > Dear All,
> > > > >
> > > > > How can we know the On board supports echo cancellation
> > > > >
> > > > > I have Digium, Inc. Wildcard TE410P quad-span T1/E1/J1 card 3.3V
> > > (rev
> > > > > 02) board
> > > > >
> > > > > all working fine but sometimes i got echo when user are calling a
> > > PRI.
> > > > >
> > > > > is there any way to know on board echo cancellation .
> > > > >
> > > > >
> > > > > regards
> > > > >
> > > > > Dhaval
> > > >
> > > > Do you have an echo cancelling module attached to that board? If so,
> > > all you need is to set echocancel=yes and echocancelwhenbridged=no on
> > > your chan_dahdi.conf. If you don't... well you should!
> > > >
> > > > Anyway, you can turn on the echocancelling via software with
> > > echocancel=256. I strongly recommend using OSLEC in that case. You'll
> > > need to patch your DAHDI in order to use it, but it's totally worth
> > > it.
> > > >
> > > On the subject of DAHDI -v- OSLEC.
> > > 
> > > I never had any luck getting it to work with DAHDI 2.2.1 despite
> > > following:
> > > 
> > > http://www.rowetel.com/ucasterisk/oslec.html#install_dahdi
> > > 
> > > All I ever go was a bad case of the blues :-(
> > > 
> > > make[3]: *** No rule to make target
> > > `/usr/src/dahdi/linux/drivers/dahdi/echo.c', needed by
> > > `/usr/src/dahdi/linux/drivers/dahdi/echo.o'.
> > > 
> > > I guess I missed something somewhere???
> > > 
> > 
> > Get the most recent version of Linux 2.6 kernel. Inside you'll find a directory named staging/echo. Copy that entire directory to the drivers/linux directory of the DAHDI sources. In the end you gotta have a directory named linux/drivers/staging/echo inside your DAHDI sources.
> 
> I already have those :-(
> ls -alh /usr/src/dahdi/dahdi/linux/drivers/staging/echo
> drwxr-xr-x 2 root root 4.0K 2010-03-02 14:04 .
> drwxr-xr-x 3 root root 4.0K 2010-03-02 14:04 ..
> -rw-r--r-- 1 root root 5.7K 2010-03-02 14:04 bit_operations.h
> -rw-r--r-- 1 root root  20K 2010-03-02 14:04 echo.c
> -rw-r--r-- 1 root root 7.2K 2010-03-02 14:04 echo.h
> -rw-r--r-- 1 root root 7.4K 2010-03-02 14:04 fir.h
> -rw-r--r-- 1 root root  251 2010-03-02 14:04 Kconfig
> -rw-r--r-- 1 root root   29 2010-03-02 14:04 Makefile
> -rw-r--r-- 1 root root  14K 2010-03-02 14:04 mmx.h
> -rw-r--r-- 1 root root 2.8K 2010-03-02 14:04 oslec.h
> -rw-r--r-- 1 root root  367 2010-03-02 14:04 TODO
> 
> To be sure I copied them again...
> cp
> -rf /usr/src/dahdi/linux-2.6.28/drivers/staging/echo/* /usr/src/dahdi/dahdi/linux/drivers/staging/echo
> (the /dahdi/dahdi is not a typo...)
> 
> But still no dice :-(
> 
> /usr/src/dahdi/dahdi# make
> make -C linux all
> make[1]: Entering directory `/usr/src/dahdi/dahdi/linux'
> make -C drivers/dahdi/firmware firmware-loaders
> make[2]: Entering directory
> `/usr/src/dahdi/dahdi/linux/drivers/dahdi/firmware'
> make[2]: Leaving directory
> `/usr/src/dahdi/dahdi/linux/drivers/dahdi/firmware'
> make -C /lib/modules/2.6.27-7-server/build
> SUBDIRS=/usr/src/dahdi/dahdi/linux/drivers/dahdi
> DAHDI_INCLUDE=/usr/src/dahdi/dahdi/linux/include DAHDI_MODULES_EXTRA=" "
> HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
> make[2]: Entering directory `/usr/src/linux-headers-2.6.27-7-server'
> make[3]: *** No rule to make target
> `/usr/src/dahdi/dahdi/linux/drivers/dahdi/echo.c', needed by
> `/usr/src/dahdi/dahdi/linux/drivers/dahdi/echo.o'.  Stop.
> make[2]: *** [_module_/usr/src/dahdi/dahdi/linux/drivers/dahdi] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-7-server'
> make[1]: *** [modules] Error 2
> make[1]: Leaving directory `/usr/src/dahdi/dahdi/linux'
> make: *** [all] Error 2
> 
> It would be nice to resolve this - but it's probably beyond my
> understanding and ability.

Actually - looking at that
make[3]: *** No rule to make target
`/usr/src/dahdi/dahdi/linux/drivers/dahdi/echo.c', needed by
`/usr/src/dahdi/dahdi/linux/drivers/dahdi/echo.o'.  Stop.

There is no echo.c in /usr/src/dahdi/dahdi/linux/drivers/dahdi/ - 
That file is in /usr/src/dahdi/dahdi/linux/drivers/staging/echo/

I've followed this with care:
http://www.rowetel.com/ucasterisk/oslec.html#install_dahdi

So I'm stumped...






More information about the asterisk-users mailing list