A method for providing echo cancellation between a first and second communication
unit detects an echo condition (200) between first and second communication
units. In addition, the method includes detecting whether a decoded near end audio
packet contains a suitable level of background noise to be used as a background
noise packet. If so, the current near end encoded audio packet is stored (202)
in a buffer (26), such as a circular buffer. Previous near end encoded audio
packets (42) that are also determined to have a suitable level of background
noise based on their decoded corresponding counterparts are also stored in the
circular buffer. When an echo condition is detected with respect to a current near
end encoded audio packet, the method includes substituting a previous near end
encoded audio packet stored in the buffer as the next encoded audio packet for
transmission (204).