Q. Is the HPEC module running/working?
A. When HPEC is loaded, there should be a message in dmesg saying something like "hpec_license_check: License granted for X channels."
To see which echo cancelers are configured, and which channels are using echo cancellation, if any:
General-Echo-Howto
Q. Do I have to run the dahdihpec_enable
program every time I load the DAHDI modules?
A. Yes. Note: The DAHDI service init script, /etc/init.d/dahdi
, will automatically run /usr/sbin/dahdihpec_enable
if it exists and its file access permissions are set as executable.
Q. I'm getting the error,"failed to get license challenge. No such device," when I run dahdihpec_enable. How do I fix it?
A. This can happen if you've already enabled HPEC and you try to run dahdihpec_enable again, or you have several extraneous DAHDI modules loaded. If you run the dahdi SysV init script (/etc/init.d/dahdi, or "service dahdi start"), dahdihpec_enable is run automatically so there is no need to run it separately. To solve, unload all DAHDI related modules, and only reload the modules you need. For instance, if you have a TDM410P, only load the wctdm24xxp module along with the dahdi base module. This can be achieved easily by running "dahdi_genconf modules" to remove all but the relevant entries in /etc/dahdi/modules. Then start the DAHDI service again again.
Q. I'm getting the error,"failed to get license challenge. Function not implemented," when I run dahdihpec_enable. How do I fix this?
A. This happens because DAHDI is not compiled with HPEC support. This happens when the administrator installing HPEC doesn't copy the HPEC object file properly to /usr/src/dahdi-linux/drivers/dahdi/hpec/ as the README instructs. Recompiling DAHDI with HPEC support fixes this error.