I'm having the same problem. I have my iPhone 4 for only 3 weeks but few days ago it stopped ringing. The silent switch buttom is on, the ring volume is at the highest level, but it doesn't make any sound.
Not in the income calls, or messages, or videos, or apps.
Any idea what I can do?