I am connected to wifi and phone says emergency calls only
Are you on your lock screen? If you are that is normal, since that is all you can do without logging in. If you are logged into the phone, are you able to make calls, text message people etc? Do you have any cellular signal in your WiFi area?