Check that you have including the country code and any required area or city codes.
Call barring of outgoing calls is not possible if any call diversion for voice is switched on.
Some call forwarding and call barring options may not be used at the same time. For example, enabling call divert of all calls and barring of all outgoing calls is not possible.