messages are not coming with new SIM card
I inserted a sim card into my old iPhone with my current iCloud. But there are no new messages coming to it. Calls are working, messages are being sent,but no new messages are coming. I tried to add a new phone number to iCloud, but in order to do this, a code must be sent to it, but the messages are not coming. What to do?
iPhone 12, iOS 18