Alan Lord (News)
2009-Feb-12 15:59 UTC
[asterisk-users] OSLEC not being loaded on Ubuntu Intrepid
I wonder if anyone has any ideas on this. I have recently migrated my server from a custom built Linux with Asterisk, Zaptel and Oslec running fine, to Ubuntu Server 8.10. I have Asterisk installed via synaptic at it works fine. I have built and installed the zaptel package by doing the following commands: sudo m-a -t build zaptel cd /usr/src sudo dpkg -i zaptel-modules-{version}.deb sudo modprobe zaptel sudo modprobe wcfxo But when the wcfxo module is loaded, it is not loading the oslec module. There is an oslec.ko in /lib/modules/my-running-kernel-version/misc/oslec/ According to launchpad, oslec should be the default ec now for zaptel. Anyone got any ideas please? Thanks Alan
Alan Lord (News)
2009-Feb-12 17:13 UTC
[asterisk-users] OSLEC not being loaded on Ubuntu Intrepid [SOLVED]
Alan Lord (News) wrote:> I wonder if anyone has any ideas on this. > > I have recently migrated my server from a custom built Linux with > Asterisk, Zaptel and Oslec running fine, to Ubuntu Server 8.10. > > I have Asterisk installed via synaptic at it works fine. > > I have built and installed the zaptel package by doing the following > commands: > > sudo m-a -t build zaptel > cd /usr/src > sudo dpkg -i zaptel-modules-{version}.deb > sudo modprobe zaptel > sudo modprobe wcfxo > > But when the wcfxo module is loaded, it is not loading the oslec module. > There is an oslec.ko in /lib/modules/my-running-kernel-version/misc/oslec/ > > According to launchpad, oslec should be the default ec now for zaptel.Answering my own question - the file zconfig.h is still declaring MG2 as the default ec. I edited this file to define OSLEC instead, zipped up the archive and then rebuilt the zaptel module as above. Now works. Maybe this will help someone else too.
Tzafrir Cohen
2009-Feb-12 18:22 UTC
[asterisk-users] OSLEC not being loaded on Ubuntu Intrepid
On Thu, Feb 12, 2009 at 03:59:26PM +0000, Alan Lord (News) wrote:> I wonder if anyone has any ideas on this. > > I have recently migrated my server from a custom built Linux with > Asterisk, Zaptel and Oslec running fine, to Ubuntu Server 8.10. > > I have Asterisk installed via synaptic at it works fine. > > I have built and installed the zaptel package by doing the following > commands: > > sudo m-a -t build zaptel > cd /usr/src > sudo dpkg -i zaptel-modules-{version}.deb > sudo modprobe zaptel > sudo modprobe wcfxo > > But when the wcfxo module is loaded, it is not loading the oslec module. > There is an oslec.ko in /lib/modules/my-running-kernel-version/misc/oslec/ > > According to launchpad, oslec should be the default ec now for zaptel. > > Anyone got any ideas please?http://bugs.debian.org/510858 Fixed in SVN: http://svn.debian.org/viewsvn/pkg-voip?rev=6684&view=rev As mentioned there, the workaround is to set ECHO_CANC_NAME explicitly: ECHO_CAN_NAME=oslec m-a a-i zaptel -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir