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



>>> On Thu, 2011-06-30 at 18:18 -0400, Eric Shienbrood wrote:
>>>> I can look at doing that. What should we call it? I think MSISDN is a
>>>> GSM term. How does GetPhoneNumber() sound?
>>>
>>> Hm, old message.  Yes, that method sounds fine.
>>
>> Where did this end up?
>>
>> Also, AT+CNUM may report a list of numbers, not just one.
>>
>> For the 0.6 API I was going to add it as a "PhoneNumbers" property
>> (signature 'as') in the Modem interface.
>>
>> Anyway, in my own tests, it really didn't report any number, as some
>> others noticed. :-/
> 
> Well IMHO if you are going to get the values from +CNUM, you should also allow 
> setting of it, would you agree? Essentially it's a list of SIM contacts, other 
> than that it having a dedicated AT command to get/set as it's in a different 
> phonebook, there's not really anything special about it.

Given that we have a "Contacts" interface in the 0.6 API, maybe we could
handle own numbers, if retrievable, as any other number in the different
available phonebooks.

-- 
Aleksander


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