I am not sure of this feature.
But to achieve what you are describing, an option would be to try Magicall.
It is one of, if not the best call blocking programs out there. And it does alot more.
You can find more info here>>
http://www.mobiion.com/magicall.html
I have used Magicall for a few months and it is great software.
In addition, the developer stands behind his software 100% and offers excellent support which I can attest to.
You can also lock the program and password protect it.
It also has the ability to block text messaging.