Cellular forums Home > Archive > Cellular GSM Technology > July 2005 > AT for phone number?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author AT for phone number?
Bj?rn Hilliges

2005-07-01, 6:55 am

Hello!

Is there a way to find out the phonenumber for the device via AT
commands? For example my SonyEricsson Z600 is aware of it's own
number. The GSM modem I'm currently interfaceing with is from Siemens.

Thanks!
Björn
John Henderson

2005-07-01, 6:55 am

Björn Hilliges wrote:
quote:

> Is there a way to find out the phonenumber for the device via
> AT commands? For example my SonyEricsson Z600 is aware of it's
> own number. The GSM modem I'm currently interfaceing with is
> from Siemens.


There's no reliable way, because the number doesn't need to be
stored anywhere on the phone or SIM. The number is resolved at
the network level.

Having said that, there's a place for it on the SIM. It's the
first of (usually) 3 possible entries on the "own numbers" SIM
file. Depending on implementation, the file can be read in
either of two ways: by using the

AT+CNUM

command, or by switching to the "own numbers" phonebook with

AT+CPBS="ON"

(that's the letter "O") and then reading off the first entry
with

AT+CPBR=1

Note however that the number may never have been written to the
SIM by your carrier. Furthermore, the number can be edited or
deleted on many phones, either directly or via an "AT" command.
Changing the number has no effect on the behaviour (or the
actual number) of the phone.

John
LinkBot





Other Archives: Real Estate forum archive | Web Design archive | Software support archive | PC Hardware reviews archive | Medical topics archive

Copyright 2004 - 2008 cellphonetopics.com