Reboot.
Reset Network Settings.
Restore iOS using iTunes and restore backup.
Restore iOS using iTunes and set up as a new phone.
Test after each step. If it still says unavailable, make an appointment at the genius bar. It's likely a hardware failure.