Tom,

Your problem is you need Sangoma's "wan_ec_client" command, we we currently 
don't include.  I will work on that and get back to you.

Lonnie


On Mar 14, 2011, at 8:20 PM, Tom Mazzotta wrote:

> Lonnie,
> 
> I didn't have double quotes around the parameter, which I have since added, 
> but it didn't help (still have the echo). After examining the console output 
> from my Soekris box during bootup, it looks like oslec is loading:
> 
> ----------------------------------------------------------
> dahdi_echocan_oslec: Registered echo canceler 'OSLEC'
> dahdi: Registered tone zone 0 (United States / North America)
> wanpipe1: Open (usecount=1, channo=1, chanpos=1)...
> wanpipe1: Open (usecount=1, channo=2, chanpos=2)...
> wanpipe1: Open (usecount=1, channo=3, chanpos=3)...
> wanpipe1: Open (usecount=1, channo=4, chanpos=4)...
> ----------------------------------------------------------
> 
> I also see that the Sangoma board has a h/w ec module, which is erroring out:
> 
> ----------------------------------------------------------
> --> Loading ec image OCT6116-64S.ima...
> wanpipe1: Clear Echo Canceller chip reset.
> wanpipe1: Module 1: FXO Line is disconnected!
> wanec1: Opening HW Echo: [Mode=Normal NoiseRed=Off VQE=1836 DtmfRmv=Off 
> Acust=Off NLP=On ]
> wanec1: Opening HW Echo: [Mode=Normal NoiseRed=Off VQE=1836 DtmfRmv=Off 
> Acust=Off NLP=On ]
> wanec1: Opening HW Echo: [Mode=Normal NoiseRed=Off VQE=1836 DtmfRmv=Off 
> Acust=Off NLP=On ]
> wanec1: Opening HW Echo: [Mode=Normal NoiseRed=Off VQE=1836 DtmfRmv=Off 
> Acust=Off NLP=On ]
> sh: wan_ec_clienwanpipe1: Set Echo Canceller chip reset.
> t: command not found
> --> Error: system command: wan_ec_client wanpipe1 be all
> wanconfig: Failed to Bypass enable EC device wanpipe1 (err=127)!
> 
> 
> wanconfig: HWEC configuration failed on wag1
> 
> Please check /var/log/wanrouter and
> /var/log/messages for errors.
> 
> Configuring interfaces: wag1 
> done.
> ----------------------------------------------------------
> 
> I will contact Sangoma to diagnose error 127, but would the hardware EC 
> affect the operation of oslec?
> 
> I also found some other problems with the firewall while investigating this 
> issue. I will post that info to a separate thread. Thanks again for all your 
> help.
> 
> -tm
> 
> -----Original Message-----
> From: Lonnie Abelbeck [mailto:li...@lonnie.abelbeck.com] 
> Sent: Monday, March 14, 2011 5:28 PM
> To: AstLinux Users Mailing List
> Subject: Re: [Astlinux-users] OSLEC configuration
> 
> Tom,
> 
> Maybe you have a typo, the user.conf via the web interface should contain:
> --
> DAHDIMODS="dahdi_echocan_oslec"
> --
> 
> Lonnie
> 
> 
> On Mar 14, 2011, at 3:45 PM, Tom Mazzotta wrote:
> 
>> Giovanni,
>> 
>> I updated the system.conf and chan_dahdi.conf as you suggested. Now, when 
>> I'm on a call using one of the FXO lines I issue a "dahdi show channel" 
>> command in asterisk and I can see "Echo Cancellation: 128 taps, currently 
>> ON", however, I still hear an echo on the line. Is the dahdi show channel 
>> command the best way to see if I have correctly turned on OSLEC, or is there 
>> a better way to verify the configuration?
>> 
>> -tm
>> 
>> -----Original Message-----
>> From: giovanni.v [mailto:i...@keybits.org]
>> Sent: Monday, March 14, 2011 3:35 PM
>> To: astlinux-users@lists.sourceforge.net
>> Subject: Re: [Astlinux-users] OSLEC configuration
>> 
>> Il 14/03/2011 18.47, Tom Mazzotta ha scritto:
>>> I recently upgraded to astlinux-0.7.7 (Asterisk 1.4.40) and I am using a 
>>> Sangoma A200 w/ FXO ports for my analog calls. I would like to test the 
>>> OSLEC echo cancellation because I am experiencing a minor echo problem when 
>>> using this board (no echo problems with calls using my SIP provider). After 
>>> going through the email archive, I can see that I need to define 
>>> DAHDIMODS=dahdi_echo_oslec, which I have done via the GUI in user.conf. 
>>> What else needs to be done to activate the module? I found a reference to 
>>> configuring /mnt/kd/dahdi/system.conf, but I'm not sure what needs to be 
>>> done there. The current contents of my system.conf file follow:
>>> 
>>> loadzone=us
>>> defaultzone=us
>>> 
>>> #Sangoma A200 [slot:14 bus:0 span:1]<wanpipe1>
>>> fxsks=1 # fxo port
>>> fxsks=2 # fxo port
>>> fxoks=3 # fxs port
>>> fxoks=4 # fxs port
>> 
>> 
>> # Set Echo Cancellers
>> echocanceller=oslec,1-4
>> 
>> #*OR* individually set
>> echocanceller=oslec,1
>> echocanceller=oslec,3
>> ...
>> 
>> The tail setting for the echo canceller goes in the [channel] 
>> definition in chan_dahdi.conf, e.g.:
>> [channels]
>> ...
>> echocancel=128
>> ...
>> channel => 1-4
>> 
>> ----------------------------------------------------------------------
>> --------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit for your 
>> organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>> 
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
>> 
>> 
>> ----------------------------------------------------------------------
>> --------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit for your 
>> organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>> 
>> Donations to support AstLinux are graciously accepted via PayPal to 
>> pay...@krisk.org.
>> 
>> 
> 
> 
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit for your organization 
> - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> 
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Astlinux-users mailing list
> Astlinux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to 
> pay...@krisk.org.
> 
> 


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to