Microphone stopped working for calls

Microphone stopped working for calls

Today I went to make a phone call and the person could not hear me. So I called my other phone and sure enough no audio, I could hear the person I called but they could not hear me.
Thinking maybe a mic problem I tried the audio search and the mic worked. Tried another call but mic still didn't work in call. Powered phone off and back on, still the same. So I took the battery out, now the mic works in calls again.

Anybody else seen this. Only wish I had called the phone to see if it would work on an incoming call.