A good tactic I use is as stated + if you see a number you don't recognize is to answer and then put yourself on mute and wait. Typically robocalls just hang up after a few seconds of silence.
Call centers will dial multiple numbers and connect to only the ones where someone responds. Sometimes they will still hang up on you because multiple calls responded.