You are asking about blocking my number from calling you?
(example). I am not sure of a way to do this. You can block extensions (DID) from receiving calls, but I don't think you can block a PSTN phone number from dialing you.
That would need to be done at the LEC, using "Call Blocking".
Hope this helps.