I went to sleep last night with my iphone working just fine, but today when I get a call it's acts as if it's on silent, only it doesn't vibrate either. I've tried switching the button on the side and it does vibrate for the one time when i switch it to vibrate, but even it doesn't ring or vibrate when a call comes in. It does make text sound and unlock sounds though. Any ideas?

btw If i do the reset under general settings will i lose all my installed programs?