Unable to make an outgoing call after calling to *31# in my moto g Hi I have Moto g First Generation mobile bought in India,

When I tried to make my Caller ID hidden
from Here,

I called to *31# and after that I couldnt make a call to anyone.
Then I tried tried and miraculously I could make a call by adding a prefix of *31# to any number 

Please Help me out on fixing this issue.
I tried solutions from the below links
GSM Feature Codes
GSM Codes
but no help.
Called Motorola Customer Care n they told me to Factory Reset. I did after backup of my data and now it works.