This is one of the reasons I was jailbroken way back when. iBlacklist provides the kind of thing you're talking about. Or at least it did. Don't know if it exists anymore. But you had a choice with it on how to handle calls and unknown numbers (you could put in a block of numbers if you wanted). Those blacklisted never reach the device itself.For real, Silence Unknown Callers isn't enough. We need to be able to whitelist our contacts and reject all other incoming transmissions. Add a quick toggle if we're expecting something like an SMS code (for the companies that still use this horrible form of verification) or a call from a customer support line you don't have the number to, etc. I made a shortcut for silence unknown callers and put it in control center (iOS 18), it can't be too difficult to add a full block of unsolicited communications. It makes me think of Kramer trying to put an end to junk mail, like Apple wants spam to continue for whatever reason. Who pays for phone service so they can talk to unknown people? With a US election year, sms spam goes up, and this year's been worse with recent events.
I used to be with Sprint and one of the things I actually miss about leaving Sprint in 2015 (and only that) was that Sprint allowed you to blacklist numbers. At that level they never even got into the carrier's system. Unfortunately, T-Mobile doesn't offer a similar thing and what they do offer you have to pay for.