There are?
Go into your router settings through which you use your landline (or the settings in the phone app on your phone), it should look like this http://www.digiversum.de/wp-content/uploads/2012/05/Rufsperr... and then add the number you want to block.
I have never been harassed like that, but I have often wished for a feature like that.