Hi list,
For an application I want to write (theft prevention) I need to know the
current phone number of the device (or - if that is not possible - some other
means to uniquely identify the SIM currently inserted).
Is there a way to get this information?
I've searched the docs the website
So if someone changes phone provider, phone number, or just swaps their
friend's SIM in, they have to re-register?
I think the number you really want as a unique identifier is the IMEI - see
here for some sample code.
http://talk.maemo.org/showpost.php?p=371496postcount=45
On 17/03/2010, at
You won't be able to retrieve the SIM phone number, but rather the IMSI
code. This can be used to detect SIM swap.
IMEI will only identify the device.
Regards,
Frederic
On Wed, Mar 17 2010, Geordie Millar wrote:
So if someone changes phone provider, phone number, or just swaps their
On Wed, Mar 17, 2010 at 6:21 AM, Frédéric Ledain
frederic.led...@onmobile.com wrote:
You won't be able to retrieve the SIM phone number, but rather the IMSI
code. This can be used to detect SIM swap.
IMEI will only identify the device.
Is this a software or hardware limitation? My previous
On Wed, Mar 17 2010, Cláudio Sampaio wrote:
On Wed, Mar 17, 2010 at 6:21 AM, Frédéric Ledain
frederic.led...@onmobile.com wrote:
You won't be able to retrieve the SIM phone number, but rather the IMSI
code. This can be used to detect SIM swap.
IMEI will only identify the
2010/3/17 Frédéric Ledain frederic.led...@onmobile.com
Is this a software or hardware limitation? My previous mobile phones
showed me the number correctly when I inserted a new chip.
AFAIK, no API gives the SIM phone number, as this is an information
which belongs to the mobile operator.
You can retrieve the phone number via a CUSD request *135#.
/usr/bin/pnatd provides a tool for sending CUSD requests and AT
commands in general. This may not be supported by all operators,
though.
Regards,
Martin
2010/3/17, Cláudio Sampaio pat...@gmail.com:
2010/3/17 Frédéric Ledain
Yeah, just tested that CUSD code here in Australia on '3', and it doesn't work.
Also some SIMs have multiple incoming numbers. I've never personally owned one,
but I've seen it done, and the GSM standard allows for it. I don't actually
think the phone knows it's own number. I'm pretty sure only
Hello,
On 3/17/10, Wolf Geldmacher w...@womaro.ch wrote:
Hi list,
For an application I want to write (theft prevention) I need to know the
current phone number of the device (or - if that is not possible - some
other
means to uniquely identify the SIM currently inserted).
If the SIM