Re: [asterisk-users] oslec echo cancellation

2015-10-22 Thread Ethy H. Brito
On Thu, 22 Oct 2015 17:12:46 +0300
Tzafrir Cohen  wrote:

> On Thu, Oct 22, 2015 at 11:46:38AM -0200, Ethy H. Brito wrote:
> > On Thu, 22 Oct 2015 15:06:59 +0300
> > Tzafrir Cohen  wrote:
> > 
> > > On Wed, Oct 21, 2015 at 01:33:27PM -0200, Ethy H. Brito wrote:
> > > > 
> > > > Hi
> > > > 
> > > > Who should insert dahdi_echocan_oslec.ko module in Ubuntu 14.04?
> > > 
> > > dahdi_echocan_oslec should be built by default. What you may miss is the
> > > 'echo.ko' (OSLEC) kernel module.
> > 
> > Ooopss.
> > 
> > I did not make myself clear.
> > 
> > All modules are in place and working  - *if* I "modprobe" them manually.
> > 
> > The problem is "service dahdi start" does not load echo+dahdi_echocan_oslec.
> > 
> > I have a production system that does it. I just do not know how.
> > 
> > After copying this system to another machine and upgrade it (apt-get
> > dist-upgrade), echo+dahdi_echocan_oslec does not get inserted anymore and I
> > am wondering why.
> 
> The echo canceller modules get loaded automatically when needed: if you
> have the line 'echocanceller=foo,12' in /etc/dahdi/system.conf and run
> dahdi_cfg, dahdi_cfg will attempt to configure the echo canceller 'foo'
> for channel 12. The DAHDI core (kernel code) will notice it has no such
> echo canceller and try to load a module caller 'dahdi_echocan_foo'.

I do have a bunch of lines like these:
echocanceller=oslec,1-15,17-31
echocanceller=oslec,32
echocanceller=oslec,33

May the problem be that in this copy we do not have the cards installed?

Quit odd choice dahdi_cfg made if this is the case, since "service dahdi start" 
installed the drivers for these same inexistent cards!

> 
> So, what do you have in /etc/dahdi/system.conf ? What is the output of
> lsdahdi?

Nothing since the cards are installed inside the production system.

Ethy




> 
> -- 
>Tzafrir Cohen
> icq#16849755  jabber:tzafrir.co...@xorcom.com
> +972-50-7952406   mailto:tzafrir.co...@xorcom.com
> http://www.xorcom.com
> 
> -- 
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users


-- 

Ethy H. Brito /"\
InterNexo Ltda.   \ /  CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
+55 (12) 3797-6860 X   ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
S.J.Campos - Brasil   / \ 
 
PGP key: http://www.inexo.com.br/~ethy/0xC3F222A0.asc

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] oslec echo cancellation

2015-10-22 Thread Tzafrir Cohen
On Thu, Oct 22, 2015 at 11:46:38AM -0200, Ethy H. Brito wrote:
> On Thu, 22 Oct 2015 15:06:59 +0300
> Tzafrir Cohen  wrote:
> 
> > On Wed, Oct 21, 2015 at 01:33:27PM -0200, Ethy H. Brito wrote:
> > > 
> > > Hi
> > > 
> > > Who should insert dahdi_echocan_oslec.ko module in Ubuntu 14.04?
> > 
> > dahdi_echocan_oslec should be built by default. What you may miss is the
> > 'echo.ko' (OSLEC) kernel module.
> 
> Ooopss.
> 
> I did not make myself clear.
> 
> All modules are in place and working  - *if* I "modprobe" them manually.
> 
> The problem is "service dahdi start" does not load echo+dahdi_echocan_oslec.
> 
> I have a production system that does it. I just do not know how.
> 
> After copying this system to another machine and upgrade it (apt-get
> dist-upgrade), echo+dahdi_echocan_oslec does not get inserted anymore and I am
> wondering why.

The echo canceller modules get loaded automatically when needed: if you
have the line 'echocanceller=foo,12' in /etc/dahdi/system.conf and run
dahdi_cfg, dahdi_cfg will attempt to configure the echo canceller 'foo'
for channel 12. The DAHDI core (kernel code) will notice it has no such
echo canceller and try to load a module caller 'dahdi_echocan_foo'.

So, what do you have in /etc/dahdi/system.conf ? What is the output of
lsdahdi?

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] oslec echo cancellation

2015-10-22 Thread Ethy H. Brito
On Thu, 22 Oct 2015 15:06:59 +0300
Tzafrir Cohen  wrote:

> On Wed, Oct 21, 2015 at 01:33:27PM -0200, Ethy H. Brito wrote:
> > 
> > Hi
> > 
> > Who should insert dahdi_echocan_oslec.ko module in Ubuntu 14.04?
> 
> dahdi_echocan_oslec should be built by default. What you may miss is the
> 'echo.ko' (OSLEC) kernel module.

Ooopss.

I did not make myself clear.

All modules are in place and working  - *if* I "modprobe" them manually.

The problem is "service dahdi start" does not load echo+dahdi_echocan_oslec.

I have a production system that does it. I just do not know how.

After copying this system to another machine and upgrade it (apt-get
dist-upgrade), echo+dahdi_echocan_oslec does not get inserted anymore and I am
wondering why.

I intend to upgrade the production system tomorrow night and this "bug" is
haunting me.

Regards

Ethy


> 
> Try:
> 
>   /sbin/modinfo echo
> 
> Do you have it available?
> 
> The https://notabug.org/tzafrir/dahdi-linux-extra repository is where I
> maintain a copy of DAHDI with OSLEC and from it I create the OSLEC patch
> for the DAHDI package in Debian.
> 
> -- 
>Tzafrir Cohen
> icq#16849755  jabber:tzafrir.co...@xorcom.com
> +972-50-7952406   mailto:tzafrir.co...@xorcom.com
> http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] oslec echo cancellation

2015-10-22 Thread Tzafrir Cohen
On Wed, Oct 21, 2015 at 01:33:27PM -0200, Ethy H. Brito wrote:
> 
> Hi
> 
> Who should insert dahdi_echocan_oslec.ko module in Ubuntu 14.04?

dahdi_echocan_oslec should be built by default. What you may miss is the
'echo.ko' (OSLEC) kernel module.

Try:

  /sbin/modinfo echo

Do you have it available?

The https://notabug.org/tzafrir/dahdi-linux-extra repository is where I
maintain a copy of DAHDI with OSLEC and from it I create the OSLEC patch
for the DAHDI package in Debian.

-- 
   Tzafrir Cohen
icq#16849755  jabber:tzafrir.co...@xorcom.com
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] oslec echo cancellation

2015-10-21 Thread Ethy H. Brito

Hi

Who should insert dahdi_echocan_oslec.ko module in Ubuntu 14.04?

dahdi start/stop service?

I have a test installation that is not launching it when asterisk/dahdi starts.

Clues?

Regards

Ethy

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users