I'm trying to fix my friends Iphone since I got him into wanting one. He bought a used 2g only to find it doesnt ring outloud.

It will ring over external speakers or headphones.
It won't viberate although the viberate function does work.
Speakers work fine and you can go to ring tones and hear them all perfectly.
It does not "think" it has headphones plugged in.
Iv'e tried re-unlocking and jailbreak and it didn't change anything.
The silent switch is broken wich could definetly be the problem but I would think it would either ring or viberate then.

Any help is appreciated, just can't figure this one out.