Moto x Xt1056 after lollipop calling audio problem ?

I have a Moto X- XT1056. When making phone calls, I don’t hear a dial tone or any sound at all. However, the other person can hear me just fine. There is no sound when receiving calls either. There is no sound even from the loudspeaker. The only way for me to hear anything is if I plug in earphones. Is this happening to anyone else?

I read online that a probable fix was to switch the runtime from ART to Dalvik but that isn’t possible as I have upgraded to Lollipop. I’ve tried rebooting, factory resetting and even clearing the cache numerous times. Nothing helps.

It was working fine on Kitkat 4.4.2. Any fixes?