Imported from the Apple Support Forums via the Wayback Machine 🔗
Hey,
First, I think you should try to restart your phone by holding down the power button and then when the 'Slide to power off' screen comes up hold down the home button simultaneously until you see the Apple logo.
If that didn't fix the issue, I would like you to check if any other sounds work -- if they don't then it's probably a hardware issue and you'll have to sort out a visit to the Genius bar.
Or you can chat to Apple support (support.apple.com).