One of the useful feature in CyanogenMod 12 is the ability to blacklist and stop unwanted calls. You can block the phone numbers from calling or sending you texts by adding those numbers to the Blacklist.
Here is how to set up a Blacklist:
- Go to > Settings > Privacy > Blacklist
- In the Blacklist, touch the Add (+) button to add an entry and touch OK.