So have you checked the switch on the side of the phone and it is in the proper position? if it is you might try restarting the phone.
Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for phone to restart (no data will be lost).