Plug and unplug headphones ... depend on what model you have. Clean the headphone jack. The iPhone thinks headphones are plugged in when it detects there's something in the headphone jack.
[octanechicken] has a possible adapter solution that lets you plug-in an older more comfortable chat headset like a Turtle Beach. It is being reported as a functional hack by others in the ...