Do these things first
# Reboot your smartphone.
# Update your smartphone.
# Clear cache of phone app.
If these 3 things doesn’t work and you are still having call related issue or wifi calling issue then try to reset your network settings this will solve your problem. You can refer this article
[link|https://okadtech.com/moto-z4-wifi-calling-not-working-problem-solution/|How to fix motorola call/ wifi calling problem|new_window=true]
Thanks