iPhone constantly outputting audio via universal connector My iPhone 3GS has just developed an unusual problem. Audio will not come out of the loudspeaker, but the ear piece works, the headphones work and plugging into iPhone speakers via universal connector works. Oddly, the loudspeaker works when on a call and setting to loudspeaker.

I think the audio is constantly being routed through the universal connector, for the following reasons:


It tells me that the device is is plugged into is not compatible with iPhone, despite not being plugged into anything at all.
It connects to my speakers instantly, normally there is a slight delay is it needs to redirect the audio.


Also, I tried plugging it in and out of the speakers with audio running, without and it various other variations. One time I did get sound out through the speakers, but it only lasted 2 seconds before it returned to no audio.

Volume control has no effect unless headphones plugged in.

I have tried reboot and muting/unmuting several time.
Take a look at this Apple Support article. Not exactly your problem, but similar.

Basically, it says that it there's nothing clogging the audio-related components. If there is, it suggests cleaning them and tells you how:


  If the speaker, microphone mesh, or
  top microphone (iPhone 4 only) appear
  clogged, please use a clean, small,
  dry, soft-bristled brush to clean
  them. To do this follow these
  instructions: Use the brush to
  carefully and gently brush the speaker
  and microphone mesh. Brush away from
  the 30-pin dock connector to avoid
  getting any debris into the dock
  connector.


And, if that doesn't work, Apple suggests that you get it serviced.