Would recording a DTMF tone as your voicemail greeting get around the "press any key to get your code" prompt?
Investigating the extra A, B, C and D DTMF tones may be of use in this scenario, just in case voicemail systems don't recognise them as commands but 2FA callbacks allow them for confirmation.