You need to contact AT&T. Is your iPhone an AT&T device, or an unlocked T-Mobile?
I had the same issue after I replaced my iPhone 6 with a T-Mobile 6sPlus. When I received my new 6s Plus I just removed the SIM from my old 6 and started using my new iPhone. But AT&T didn’t recognize the new divide (as an AT&T device) and the settings on my account were changed. I noticed it when I logged into my AT&T account and my phone was listed as generic feature phone. I didn’t have WiFi calling, VoLTE and data connection was very spotty/slow.
In my case, everything went back to normal after AT&T added the IMEI to their system.