iphone stuck on dock connector mode
My iphone 4s is stuck on dock connector mode, and I have never used a dock connector accesory. I have cleaned out the port and occasionally the phone will be on iphone mode like it should be but it always resorts back to dock connector. I have restarted the phone numerous times, put it on airplane mode for awhile, an nothing works. The phone rings like normal but I cannot listen to music, and when I turn it on or off it doesn't make the clicking noise, has anyone had this happen or know what the solution is? Look at the picture below. When I took this picture the phone was plugged into the charger but even if its not charging it still says dock connector
HELP
iPhone 4S, iOS 6.1