At+cnum is the SIM card to check the local number.
but you have to write this number first . Sim card inside.
because whether it's mobile or unicom Sim Card, when bought to the user did not write the local number in the SIM card.
Once you've written your local number, Sim Card, whether you put this sim card into that phone, with At+cnum can find the number of the machine.
Action command returns the Msisdns relatedto the Subscriber (this information can is stored in the SIM or in the
ME). If subscriber have different MSISDN fordifferent services, each MSISDN was returned in a separate line.
MSISDN Buffer Format (see GSM 11.11subclause10.3.5):
Bytes Description Length (Bytes)
0-x Alpha Identifier X
X+1 Length of BCD number 1
X+2 TON and NPI 1
x+3--x+12 dialling Number 10
x+13 capability/configuration Identifier 1
x+14 Extension1 Record Identifier 1
for ordinary users The SIM card must be written to the SIM card before it can be read, otherwise it will be empty.
you can find one without writing a local number. Sim try, on the phone to view the machine number will be empty, if you add the machine number (will be written to the SIM card, the general phone in the view of the interface of the machine number can add a local number), You can not only see the number on your phone when you add a local number, but you can also view the local number by plugging the SIM card into another phone.
Transfer from bbs.sendsms.cn
How to use at command to check the phone number of the machine