Voicemail cutting off at 10 seconds

In /etc/asterisk/asterisk.conf, under [options]
transmit_silence_during_record=yes
If you change this, restart Asterisk.

If you already had this setting, or it doesn’t help, see

If you still have trouble, report whether this problem also occurs on internal calls.