IPhone 4S (5.1.1) says it's docking when it's not?

So I've had my phone for about 4 and a half months and I haven't had any problems until now. I updated to iOS 5.1.1 a week or so ago. When I try to play music out of the iPhone speakers they won't work, and if I use headphones they won't work. The only sound my phone will make is ringtones and text tones. It only plays music if I have it plugged into my iHome. I tried cleaning out the dock connector with a toothbrush and it didn't work. Oh and the iPhone says its connected to the dock and it really isn't.

Don't take it to AT&T or Verizon, take it straight to an apple store. Brand new phone no questions asked.

First thing would be restoring as new. To rule out software glitches. If the issue persists, then likely with the dock connector. The store will usually inspect for corrosion (a common issue apparently) and if none is found then replace under warranty.