View Single Post
Posts: 121 | Thanked: 75 times | Joined on Oct 2009
#4
Originally Posted by epninety View Post
Sorry, I don't know the answer to your problem, but you should know that any method you find may not be 100% reliable. There is no requirement for a GSM phone to know its own phone number as such... IMEI is all that's needed to identify the account to the network - the phone number itself is never passed over the air, therefore it's not necessary for it it be stored anywhere.
Just a slight correction to this the IMSI is the identification of the account \ SIM, the IMEI is the unique identification of the physical phone.

It is possible for the sim card to hold the number (msisdn) but it's not that common as far as I know.
Take a look at this bug for some extra information