[maemo-developers] How do I get my own phone number?

From: Martin Grimme martin.grimme at gmail.com
Date: Wed Mar 17 11:56:59 EET 2010
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 <patola at gmail.com>:
> 2010/3/17 Frédéric Ledain <frederic.ledain at 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.
>> Actually, the correspondance IMSI <-> SIM phone number is made at mobile
>> operator side.
>>
>> I think that anti-theft mecanism can securely be based on IMSI swap
>> detection.
>> Phone number doesn't add any valuable information in this context.
>>
>
> Agreed, but try not to think as much as a software engineer and think as a
> simple user. Some people just forget their number - and it's useful if they
> can see it on the mobile, for telling other people. Some people carry a few
> SIMs around, and this information - the phone number - is useful to them.
>
> It might be that regular mobile phones use some kind of workaround to get
> this information - like, say, getting the destination number when they get a
> call - but nevertheless it is useful information that can be show to the
> user.
>
> So, really, no way to get it from the OS data?
>
> Best regards,
> --
> Cláudio "Patola" Sampaio
> IRC: ptl  - Yahoo: patolaaa
> Campinas, SP - Brazil.
>
More information about the maemo-developers mailing list