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.