Hello, I was having the same problem with my redmi note 9s, I managed to make it work by changing the APN configuration.
From settings to SIM and mobile network settings
Tap the access point name in the SIM card settings
Change the “MVNO type” of the SIM you are using to “SPN”
Good luck