I believe it depends on the invite. I haven't done it recently, but on the server I manage there's a checkbox for amount of verification required; the middle level is 'require a telephone number', though low is the default.
In this case the phone number was immediately required without an invite (and without joining any server yet), just using the regular sign up page as the only site interaction. While ironically no phone was required for a separate user with an invite.