I remember reading one guy who said he implemented a pre-screen before a call rang through. He said his first design was simple a voice message that said "Press 1 to continue" which he planned to ratchet up in complexity until spam calls stopped. He never ended up improving it because the "Press 1" message got the job done.