I was experiencing this issue on my Samsung Galaxy Z Fold 2 5G in the past couple weeks.
Problem was solved by removing the physical SIM card, cleaning the SIM card by wiping it off with my T-Shirt, then re-inserting SIM card, and powering on the phone.
I did this while on the phone with...