I had exactly the same problem happen to me.

Even though I have my iPhone configured to only allow calls from my contacts, some some spam calls got through. I just needed to delete my old ‘Don’t answer’ contact, which I used in the past to silence known phone spammers.

Jeroen Sangers @jeroensangers