Filtering beeps in the audio

Sometimes we hear an acoustic signal (2-4 beeps) when a caller has hung up. We use headsets and when the caller was very quiet, the volume is turned up and the beeps get very loud. Is it possible to filter the beeps on the Asterisk side? Either by acting on the beeps (hanging up) or by filtering them from the audio stream?