My Iphone all the sudden stopped giving me sound alerts for messages and ringing it will only vibrate. I can not hear music through the speaker but if my headphones are plugged in everything goes through them. I have tried powering it off and rebooting it I even restored it to factory settings and it did not help anything.