There are two speakers in the iPhone, one is the earpiece used in telephone calls, the other one is in the bottom of the iPhone and usable for music, ringtones etc. If you cannot hear your iPhone ringing, there might be this speaker broken and you can buy a replacement from us for iPhone 4.
For opening and repairing your iPhone you should inform before in the internet. On Youtube you find lots of videos.