You have to add the numbers to a contact, and block that contact. Silly, I know.
If you look in settings, you should see a call+SMS Filter option. Clicking on it will open a window like below.
View attachment 54075
You can add numbers directly here. I turned on the option to block private numbers (blocked). It's simple and works like a champ!!
