This is not possible on non-jailbroken iOS devices. You will need to look through the plist files on your jailbroken iPhone. You can check in /System/Library/CoreServices/, or anything to do with Preferences
, or CoreTelephopny.
Also, it should go without saying, but you won't be able to use such a feature in an App Store release since this is strictly Private API.