Re: [PATCH] ModemManager: Add GetMsIsdn method to return the phone number



Den 29. juni 2011 19:35, skrev Marcel Holtmann:
Hi Andrew,

Adds a GetMsIsdn method on the org.freedesktop.ModemManager.Modem.Gsm.Card
interface.

Eric
I like the look of this, but what methods will you use to derive the value? As
far as I know the SIM might have the value stored (retrieved via +CNUM or
+CRSM?) but otherwise isn't getting the value only possible via operator
specific USSD or SMS methods?
the number of operators that provision this properly on the SIM card
they hand out is really limited. I only know of a view and they only do
that for the voice customers. For the data sticks, they do not care.

In most cases this is not provisioned properly. The best you can hope
for is that the an operator updates these values via SIM Toolkit or some
sort of network initiated USSD. Otherwise you are really out of luck
here until you manually modify the SIM card.


Japp, useless:

AT+CNUM
OK

if the modem is not in wrong state to answer this.

--
Marius



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]