Closed Bug 861820 Opened 11 years ago Closed 11 years ago

Display "Unknown" if the phone number is not available on the SIM card (from Vodafone ES, Movistar, etc.)

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hub, Assigned: hub)

Details

Attachments

(1 file, 2 obsolete files)

45 bytes, text/x-github-pull-request
kaze
: review+
Details | Review
Setting > Device Info

There is no phone number displayed.

This is with the Vodafone ES sim card that I got here.
I see this as well with the latest 1.0.1 build using Happy Movil SIM card.
Nor do I get it with the m2m Solutions (telefonica) Movistar.
Phone number is stored in ICC EF_MSISDN file. According to the specs http://www.etsi.org/deliver/etsi_ts/151000_151099/151011/04.14.00_60/ts_151011v041400p.pdf it is "Optional".
ETSI TS 31.102 also specifies it as optional, confere http://www.etsi.org/deliver/etsi_ts/131100_131199/131102/08.04.00_60/ts_131102v080400p.pdf page 38.
MSISDN should be here if service #21 is available. This is not checked in getSST() method of ril_worker.js.
I tested the SIM card in my Samdroid phone and it says "Unknown" for the phone number. Maybe we should display this instead of a blank field.
Summary: Phone number not available (Device info) (Vodafone ES) → Display "Unknown" if the phone number is not available on the SIM card (from Vodafone ES, Movistar, etc.)
Attached file Pull request (obsolete) —
Proposed patch. Against v1-train.
Attachment #737942 - Flags: review?(etienne)
Assignee: nobody → hub
Comment on attachment 737942 [details] [review]
Pull request

I'm not a Settings app peer, so better to ask :kaze for review, but quick comments:

- we don't send PRs against v1-train directly, we land on master then uplift (if we get the approvals)
- the patch contains new l10n-keys, if we want the patch to be upliftable we need a l10n review
Attachment #737942 - Flags: review?(etienne) → review-
I wasn't sure who was peer :-/ I'll ask :kaze.

How do I ask for a l10n review?

(I did against v1-train because that's what I run)
Attached file Pull request (obsolete) —
Against master
Attachment #737942 - Attachment is obsolete: true
Attachment #738094 - Flags: review?(kaze)
Attached file Pull request
Rebased PR.
Attachment #738094 - Attachment is obsolete: true
Attachment #738094 - Flags: review?(kaze)
Attachment #753313 - Flags: review?(kaze)
Thanks for the patch. I have a few remarks, see my comments on github.
I have updated the PR request.
Comment on attachment 753313 [details] [review]
Pull request

LGTM
Attachment #753313 - Flags: review?(kaze) → review+
Also Latvian and Israeli SIM cards does not display phone number, perhaps no phone number detected from any SIM.
(In reply to Binyamin from comment #15)
> Also Latvian and Israeli SIM cards does not display phone number, perhaps no
> phone number detected from any SIM.

This is optional. Some carrier have it, some don't. That's the gist of this bug. T-Mobile Germany for example has it.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment mime type: text/plain text/plain → text/x-github-pull-request text/x-github-pull-request
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: