I use this feature ALL THE TIME!! This is a great article on how to block unwanted calls or messages in iOS. I get a certain amount of spam calls just like you. When I do I just use the above technique to block them. It sure avoids any further annoyances from those folks.