This has been driving me crazy for weeks. I have looked at every setting on my phone a 100 times. Finally came across a thread that solved it - I have an app called Auto Call Record and there is a setting called "enable or disable auto speaker" - not even sure what the purpose of this setting is...