iPhone 5: no sound from speaker while making calls.
So, my iPhone 5, less than 3 days out of the box, will not project sound from the ear speaker under the following conditions: during calls, playback from apps that utilize that speaker, voicemail playback. The phone works with the earbuds and on speaker mode as it should but for some reason the ear speaker will not. This problem occurred after it had been working correctly for 2 days and i was able to fix the situation by repeatedly switching between speaker mode and normal mode during a call. However the problem returned the next time I locked the screen. The behavior is as if the phone things earbuds are installed even though they are not.
On an unrelated(maybe it is, im not so sure though) problem, my phone conveniently 'forgot' my voicemail password and all my wireless passwords but not app data, email passwords or any other data stored on the phone. It has not been dropped, wetted or abused in any way. I have not performed a factory reset as I fear it may be a hardware problem and am currently at work where phone restoration is not possible. My questions are 3 fold:
1)Has this problem shown up with anyone else's iphone 5?
2)Does this sound like a hardware issue?
3)What could have caused/lead to this issue or the issue with stored voicemail/wireless pwd's being lost?
iPhone 5, iOS 6, AT&T