This has now happened three times. Sound comes through the ear piece, through headphones, but not through the speaker (for MP3's, notifications etc.) The Speakerphone does work so it's not the speaker itself.
I can't figure out why it's going off or how to get it back on via software. The only solution has been to completely powerdown the phone, then about 2 hours later the problem comes back.
Any ideas ?