As of iPhone OS 3.1, the volume control disappears in the iPod app when the iPhone is plugged via the dock connector into a device that will control the volume externally (e.g. a car iPhone adapter). Previously, the volume control was there but didn’t do anything.