I mean I already mute and mash till the line drops when they do come in, but they may not continue doing so at a low enough rate to keep that feasible, and boringly mechanical but necessary tasks are always prime candidates for automation in any case.
I don't have the time to set up Asterisk but this story inspired me to generate a collection of handy random DTMF tones that could semi-automate a mute and mash approach.