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



Hi Eric,

On Wednesday 29 June 2011, Eric Shienbrood wrote:
> Using +CNUM is a "best effort" ("good enough effort"?) attempt to retrieve
> the MSISDN. I'd say it should be left to layers above ModemManager to try
> operator-specific methods if necessary, since ModemManager doesn't (and
> shouldn't) have knowledge of operator-specific information.
> 
> Eric
> 
> On Wed, Jun 29, 2011 at 12:00 PM, Andrew Bird (Sphere Systems) <
> 
> ajb spheresystems co uk> wrote:
> > On Wednesday 29 June 2011, Eric Shienbrood wrote:
> > > 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?
> > 
> > 
> > Andrew

Since this +CNUM or equivalent is reading from a special 'number' address book 
location on the SIM, shouldn't you have the corresponding write method too? 
That way if an upper layer can derive the MSISDN in some way, it could be 
stored on the SIM for easy retrieval later by any application using your read 
method.

Andrew


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