AT for phone number?

Posted: 07-01-2005, 08:16 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
Reply With Quote

Responses to "AT for phone number?"

John Henderson
John Henderson's Avatar
Posts: n/a
 
Re: AT for phone number?
Posted: 07-01-2005, 09:10 AM
Björn Hilliges wrote:

> 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
Reply With Quote
 
Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: SMS and phone number phreaker GSM 0 08-07-2004 04:14 PM
SMS and phone number GMC GSM 3 08-06-2004 08:38 PM
SIM phone number Mark GSM 4 04-22-2004 10:08 AM
Getting the phone number from the SIM card Incognito GSM 2 08-26-2003 10:04 PM
Getting the phone number from the SIM Guy GSM 0 08-12-2003 01:20 PM


All times are GMT. The time now is 11:42 AM.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33