A voicemail number is usually built into the phone. Unless you are using a service not provided by your carrier/service provider. You should only have to hit voicemail on the screen (if there is an icon) or press and hold 1 when on the dial pad.
If you are trying to use an external number that would be a little different. Which are you trying to do?