Nomorobo (http://nomorobo.com) is great for this too on iOS.
Fun fact about Aaron Foss, who started Nomorobo: In 2014 he was invited to testify to the FCC on his efforts to fight robocalling. To drive home the magnitude of the issue, he printed the anonymized call logs for the 15M calls blocked by NomoRobo, and bought the 25 boxes of printouts with him to the floor.
https://www.wired.com/2015/01/guy-found-way-block-robocalls-...