# Configuring hardware echo cancellation

When using the hardware echo cancellation capabilities, echo cancellation parameters are fixed. An application cannot change the parameters in the ADI_ECHOCANCEL_PARMS structure with the adiModifyEchoCanceller function.

Use the HardwareEcho.EchoChipEnabled, HardwareEcho.Trunk[x].OnOffTimeslots and HardwareEcho.XLaw keywords to set hardware echo cancellation.

If the application requires flexibility and must modify echo cancellation parameters, use DSP resources to provide software echo cancellation capabilities. For more information, refer to the Dialogic® NaturalAccess™ Alliance Device Interface API Developer's Manual.

Note: Do not use both hardware echo cancellation and software echo cancellation at the same time on a CG 6060C board.