In Microsoft Teams you can use a Microsoft 365 group voicemail as a redirection for unanswered calls to a Call Queue or an Auto Attendant.
Where are the Microsoft 365 Group voicemails for a user?
Outlook -> Groups and finally the Microsoft 365 Group folder