Refactor voicemail validation