[Freeswitch-users] FreeTDM and DAHDI+OSLEC/MG2 anyone?

Jeroen C. van Gelderen jeroeng at thegreek.com
Mon Jun 28 12:33:00 PDT 2010


Hi Mark,

I'm curious to see if you'd had any luck with DAHDI built-in echo cancellers
such as MG2? (I figured since MG2 has been built into DAHDI for a while it
would be slightly more likely to work than OSLEC. In my case neither MG2 nor
OSLEC works.)

In order to determine whether echo cancellation is in use with DAHDI you can
check the output of lsdahdi:

[root at elastix ~]# lsdahdi
### Span  1: XBUS-00/XPD-00 "Xorcom XPD #00/00: FXS" (MASTER)
  1 FXS        FXOKS       (In use) (SWEC: OSLEC) (EC: OSLEC)
  2 FXS        FXOKS       (In use) (SWEC: OSLEC)

This shows FXS port 1 in off-hook with OSLEC in-use.
FXS port 2 has OSLEC configured but is on-hook.

If I were to run FreeSwitch the channel would be silent in this
configuration.

HTH,
-Slim
--
Jeroen C. "Slim" van Gelderen
Olympic Sports Data Services
Email: jeroeng at thegreek.com
Phone: +1 876 953 6182 x128

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mark
Maly
Sent: Monday, June 28, 2010 13:45
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] FreeTDM and DAHDI+OSLEC/MG2 anyone?

I'm attempting to use Freeswitch/DAHDHI and OSLEC, as well.  I agree in
commenting out the "echocancellation" line in zt.conf.  The channels seem to
work OK but the echo cancellation does not seem to work (I can see the
kernel drivers for it, but I still have a great deal of echo).
Mark

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Jeroen
C. van Gelderen
Sent: Saturday, June 26, 2010 7:57 PM
To: freeswitch-users at lists.freeswitch.org
Subject: [Freeswitch-users] FreeTDM and DAHDI+OSLEC/MG2 anyone?

Hi everybody,

I have a feeling I must be missing the obvious...

I've been trying to get echo canceling to work with Freeswitch/FreeTDM/DAHDI
but I have been failing miserably for days. When I enable echo cancellation
(MG2 or OSLEC) on a DAHDI/FreeTDM channel (FXS or FXO) that channel goes
silent.

In absence of better suggestions I was hoping to replicate someone's "known
working" configuration. Is anyone successfully running the following
combination:

- any x86 hardware
- any recent flavor Linux
- any recent version of DAHDI using FXO ports
- FreeSwitch/FreeTDM trunk from git
- OSLEC echo canceller (or MG2)
- (BONUS:) Xorcom Astribank with FXO/FXS ports.

I addition to much Googling I've tried most permutations of:
- CentOS 5.4, 5.5, Ubuntu 10.04 LTS, Elastix
- x86 and x64 single and multicore CPUs.
- Non-PAE kernels for 32-bit installs.
- DADHI from SVN (or -in case of Elastix- the built-in 2.2.0.2)
- MG2 and OSLEC echo cancellers
- Freeswitch from Git trunk

In each case everything configures fine to the point that Asterisk 1.6 will
function with echo cancellation enabled. So we know that DAHDI layer works.
But Freeswitch channels go silent when echo cancellation is enabled.

Puzzled,
-Slim

--
Jeroen C. "Slim" van Gelderen



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list