Reply
 
Thread Tools Display Modes
  #21  
Old 03-11-08, 11:19 AM
jdaustin jdaustin is offline
Member
 
Join Date: Nov 2007
Posts: 33
There are a couple of gotchas that they don't document.
You have to copy the /usr/src/oslec/kernel/oslec.ko to /lib/modules/<kernelversion>/misc/oslec.ko
and add
/lib/modules/<kernelversion>/misc/oslec.ko
to the zaptel line in /lib/modules/<kernel version>/modules.dep

----------------------------------------
/etc/init.d/asterisk stop
/etc/init.d/zaptel stop
amportal stop
cd /usr/src
svn co http://svn.astfin.org/software/oslec/trunk/ oslec
cd oslec
make
cp kernel/oslec.ko /lib/modules/`uname -r`/misc/.
insmod kernel/oslec.ko
cd ../zaptel
cp /usr/src/oslec/kernel/Module.symvers .
./configure
patch -p1 < ../oslec/kernel/../oslec/kernel/zaptel-1.4.9.2.patch
make
make install
grep /lib/modules/`uname -r`/misc/zaptel.ko: /lib/modules/`uname -r`/modules.dep
#if oslec.ko isn't shown add it to
/lib/modules/`uname -r`/modules.dep as a dependency for zaptel.
Reply With Quote
  #22  
Old 07-19-08, 07:32 AM
FitnessPlus FitnessPlus is offline
Guru
 
Join Date: Mar 2008
Posts: 213
I'm confused.

I don't see the gotcha lines in the step by step instructions. Do these need to be done before, after, or in the middle of some of these steps?
Reply With Quote
  #23  
Old 07-19-08, 07:36 AM
Alex728 Alex728 is offline
Guru
 
Join Date: Dec 2007
Location: Ipswich, Suffolk, UK
Posts: 379
use all the steps after the ------------------------

this is what worked for me

Also, make sure that you use the correct patch for your zaptel version..
Reply With Quote
  #24  
Old 07-24-08, 08:02 PM
Alex728 Alex728 is offline
Guru
 
Join Date: Dec 2007
Location: Ipswich, Suffolk, UK
Posts: 379
oops, forgot to add that there is a typo in the above

patch -p1 < ../oslec/kernel/../oslec/kernel/zaptel-1.4.9.2.patch

should be (NB also altered for latest zaptel version as of date of this post)

patch -p1 < ../oslec/kernel/zaptel-1.4.11.patch
Reply With Quote
  #25  
Old 08-17-08, 10:18 PM
osok osok is offline
Junior Member
 
Join Date: Jul 2008
Posts: 5
i have to agree, most echo problems are caused by faulty tuning, or crappy lines.

software is a dumb way of solving what is really a hardware problem. (impedance mismatch and reflection out of the hybrid)
Reply With Quote
  #26  
Old 12-16-08, 12:44 PM
rushter rushter is offline
Member
 
Join Date: Oct 2008
Posts: 49
Updated OSLEC instructions with Sangoma A200 cards
I had terrible echo on the lines and discussed these things with Sangoma. Originally from previous Google searches we had somewhat determined that the best echo cancellation software for the non-hardware echo cards from Sangoma would be the Octware version of echo cancellation. Alas, we were wrong. So we found out about the OSLEC drivers and found jdaustin and Alex's great instructions and tested it out. They work perfectly for us.
We had to make a few mods to his instructions because we were using the Sangoma card and wanted to update everyone here on the updated instructions as they applied to us.

Code:
amportal kill
wanrouter stop (for Sangoma cards only)
service zaptel stop
cd /usr/src
svn co http://svn.astfin.org/software/oslec/trunk/ oslec
cd oslec
make
cp kernel/oslec.ko /lib/modules/`uname -r`/misc/.
insmod kernel/oslec.ko
cd ../zaptel
cp /usr/src/oslec/kernel/Module.symvers .
./configure
patch -p1 < ../oslec/kernel/zaptel-1.4.11.patch 
make
make install
grep /lib/modules/`uname -r`/misc/zaptel.ko: /lib/modules/`uname -r`/modules.dep
reboot
(Please note that we are using the 1.4.12 drivers and that this is the latest patch available at the time we installed it - without doing this patch these instructions did not work - so the patch is needed.)
(If all went well you should be able to reboot into your brand new 'echo-free' enviroment)

#if oslec.ko isn't shown add it to
/lib/modules/`uname -r`/modules.dep as a dependency for zaptel.

Last edited by rushter : 12-18-08 at 09:52 AM.
Reply With Quote
  #27  
Old 02-17-09, 08:25 PM
WaywardGeek WaywardGeek is offline
Junior Member
 
Join Date: Feb 2009
Posts: 1
I'll make it four requests.

I hated Trixbox because of echo until they added oslec. My boss was going to throw away the system I'd configured, but then I added oslec with the new Trixbox update, and the echo is gone! I also hate AstriskNow, for more reasons than just echo, but echo is near the top of the list. Digium refuses to add any GPL'd software they don't own to their distro. I see that elastix also comes with oslec by default.

I'm currently happily using Trixbox at three locations, but since they seem to have gone over to the dark side, my next installation will most likely be pbxiaf or elastix. I'm a lazy user. I don't want to compile oslec into the kernel. I just want it to be there. Unless a strong competitor comes along, I'm going to stick with oslec-enabled asterisk distros. I see the point of keeping pbxiaf bloat-free, but skimping on voice quality is a mistake, IMO.
Reply With Quote
  #28  
Old 02-18-09, 01:27 AM
jroper jroper is offline
Guru
 
Join Date: Oct 2007
Posts: 3,333
Echo is not always a problem, echo cancel when used on lines that do not need it can have a detrimental effect on quality as well.

Additionally, echo cancel is better done by the hardware on the card, not in software.

So if you are going to use any asterisk based system with POTs lines, you would be advised to spend the extra money on an echo cancel module to go on the line card from whatever manufacturer you purchase your card from, and ignore the software echo cancel.

Joe
Reply With Quote
  #29  
Old 02-18-09, 07:17 AM
dghundt dghundt is offline
Guru
 
Join Date: Nov 2007
Posts: 344
Rhino fxo cards are not too expensive. Free and high quality support are excellent. The only thing missing is echo.
__________________

Reply With Quote
  #30  
Old 03-03-09, 12:05 AM
totalimpact totalimpact is offline
Junior Member
 
Join Date: Oct 2007
Posts: 26
where is 1.4.12 patch?
Originally Posted by rushter View Post
... (Please note that we are using the 1.4.12 drivers and that this is the latest patch available at the time we installed it ...
Where can I get this 1.4.12 patch as the latest in their svn seems to be 1.4.11????
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:58 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007-2008, Ward Mundy & Associates