Not quite the same thing, but I have my mobile network set up to forward every call to a Twilio number which just states that my number doesn't accept calls. It sends me an SMS so I know someone tried to. It's great. People who do need to call me then will just use FaceTime Audio or WhatsApp calls.