Are you a bit amazed that we still deal with phone harassment roughly the same as we did at the advent of caller ID, with no advancements? (We got caller ID in the 1990s, around the time cell phones were still big enough to use as bludgeons.)
If you think about it, our telephone providers in all forms could easily enable us to block calls from any number we wished. Yet they do not; it is treated as almost a constitutional right for any jackass, scammer, charity or freak to bother us at any hour, unless it rises above the considerable threshold for the law to pretend to care. And the only solution our precious government could devise was a new government program called the ‘do not call’ list, which doesn’t work well even on domestic harassers, and has zero impact on foreign harassers. Easiest thing in the world: a law requiring telephone providers to permit a phone number’s owner to block calls from chosen numbers. Wasn’t even up for consideration.
This is a good example of why whether something is legal or illegal is never a factor in my judgment of its morality. It always amazes me when someone confuses the two, as if law were moral. Morality is about behavior; the options we select. Law is about control, and nothing else. Conflate the two, and you let a bunch of people so stupid and/or evil they will not give you a way to block a phone number dictate right and wrong to you.