If you are ready to spend some money on a user, you can send an SMS message to yourself (the number entered by the user) and check if it has arrived.
If so, the number is correct. If not ... either you do not have a network or the number is incorrect.
I donβt even think that the phone has visibility of the number, in accordance with my experience with mobile operators, only on their side they have this visibility.
source share