I'm wondering the same thing. I have an old dock with S-Video and audio out on the back. I brought it into the office because I wanted to play Ambience sounds through my speaker system there and running a headphone jack out the top of the phone while in a dock is...clunky.
No audio comes out the dock port. Just the iPhone speaker.