Same issue here on the 20170723 test build after two weeks without issues. Microphone test confirms the hardware still works fine. Enabling speaker, muting and unmuting, pausing, nothing resets the microphone. Wiping dalvik, cache and flashing the same build also doesn't fix it. So far for this...