There are also 3rd party devices that sit between the PBX and the PRI that allow you to manipulate inbound before they reach the PBX, and outbound calls from the PBX before they hit the PRI.
If you want to divert inbound calls from specific numbers away from particular internal extensions, this can be a very good solution, although I don't know what the pricing is.