Get a ppc phone number

Y

Yan

Hi,

I am using the SmsGetPhoneNumber function in order to get the phone
number associated to a SIM card in a Pocket PC device.
According to msdn "This function queries for the available subscriber
numbers, and returns the first available entry with a service type of
VOICE." but it seems it never returns a consistent value : I have tried
several sim cards from different operators with no success (no value,
incorrect value ou specific format).

In my understanding, phone number is not supposed to be stored in a sim
card, IMSI being the unique subscriber identifier used by mobile
networks. So does someone know exactly what the behaviour of
SmsGetPhoneNumber is ? why does it sometimes work (according to some
posts in this group) and why it often does not ? And what does the Msdn
"Use this function to get the phone number of the device associated
with the SMS bearer." really mean ?

Thanks !
 
R

Roland Dick

Hi Yan,
Hi,

I am using the SmsGetPhoneNumber function in order to get the phone

to my knowledge, the phone number is not stored on the SIM card in the
GSM standard; but it is in CDMA(?) networks which are commonly used in
the US.

Kind Regards,

Roland
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top