This started for me 2 days ago on a 3GS. It was a rainy day and I had used the phone outside once or twice. The message began popping up regularly, especially each time I received a text message. When the message appeared, I would lose lock sounds, keyboard clicks, etc., although ringtones and alarms still worked.
I did a restart to no avail. Placed the phone overnight in rice (as suggested above) with no results. Today I attempted SEVERAL of the hints suggested early in this thread, one of which worked (and none of which is a bad thing to do regardless):
- Removed screen protector to release any trapped condensate
- Wiped down phone with a soft cloth
- Took a dry cotton swab and gently wiped down connector terminals
- Removed most of the cotton from tip of another swab, then gently cleaned the headphone jack
- Took a dry, soft toothbrush and removed debris from terminals and speakers
- Blew out excess residue with compressed air
After these steps I simply shut the phone off. When I turned it back on, there were no error messages and I had full sound. The steps mentioned took less than ten minutes, plus: I did not need to take my phone to the Apple store; I did not need to deal with tech support; the problem is solved; and, my phone is pretty darn clean!