[asterisk-users] The High Performance Echo Canceller (HPEC)

Nic Bellamy nicb-lists at vadacom.co.nz
Mon Feb 19 13:21:28 MST 2007


Wireless wrote:
>>> looks good.
>>>
>>> 9 says type
>>> [root at asterisk ~]# modprobe zaptel
>>>
>>> which returns nothing... when I run 10
>>>
>>>       
>> At this point, if you run "dmesg", do you find the following in your
>> kernel log?
>>
>> Digium High-Performance Echo Canceller, version 8.20
>> Optimized for "i386" CPU architecture
>> Coypright (C) 2006 Digium, Inc. and Adaptive Digital Technologies, Inc.
>> This module is supplied under a commercial license granted by Digium, Inc.
>> Please see the full license text supplied by the accompanying
>> "register" utility, or ask for a copy from Digium.
>>
>> If not, you've probably not got Zaptel built with HPEC properly.
>>     
>>
> I'm truely stuck now, I cannot get HPEC to register with my Sangoma A200
> card.  I'm using
> Asterisk 1.2.15
> Zaptel 1.2.13
> Wanpipe drivers / util 2.3.4-7
>
> I'm just not seeing any mention of HPEC in dmesg and I have tried different
> versions of the HPEC
> i386, i586, i686 and pentium3m the physical proc is a P3 650Mhz running
> CentOS 4.4 (Trixbox 2)  I've rebuilt this box over the weekend from a fully
> patched CentOS 4.4 (yum update) as the hard drive failed!
>
> when I run ./register all seems ok then when I run ./zaphpec_enable it
> reports: No valid licenses for HPEC found.
>
> Any suggestions as to how I can debug what is not happening much appreciated
>   
Before building Zaptel, you are grabbing the correct version of 
hpec_x86_32.o_shipped for your CPU and putting it in zaptel-1.2.13/hpec/ 
right?

It sounds to me like you've either not done that correctly, or something 
with the Sangoma build process is stopping the HPEC build working.

After building zaptel, run "strings zaptel.ko | grep  'High-Performance 
Echo Canceller'" and see if you get a line like:

"Digium High-Performance Echo Canceller, version %s"

If not, you're going to need to dig into the way your Zaptel is being 
built to see why the HPEC module is not being included.

Cheers,
    Nic.

-- 
Nic Bellamy,
Head Of Engineering, Vadacom Ltd - http://www.vadacom.co.nz/



More information about the asterisk-users mailing list