Closed Bug 853384 Opened 12 years ago Closed 12 years ago

B2G MMS: .getRilIccInfoMsisdn() fails to get the phone number from ICC

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: airpingu, Assigned: edgar)

References

Details

Attachments

(1 file)

Please see the function .getRilIccInfoMsisdn() at dom/mobilemessage/src/ril/MobileMessageDatabaseService.js, which fails to get the phone number from ICC (it returns "undefined"). This needs to be corrected, because we have to know the user's phone number, thus excluding it to build the index. Yoshi or Edgar, would either of you mind taking this?
Assignee: nobody → echen
Thanks Edgar! :)
Attached file Log for Chungwa SIM card (deleted) —
03-22 10:32:11.353 108 237 I Gecko : RIL Worker[0]: Handling parcel as REQUEST_SIM_IO 03-22 10:32:11.353 108 237 I Gecko : RIL Worker[0]: New outgoing parcel of type 28 03-22 10:32:11.353 108 237 I Gecko : RIL Worker[0]: Outgoing parcel: 0,0,0,132,28,0,0,0,53,0,0,0,178,0,0,0,64,111,0,0,8,0,0,0,51,0,102,0,48,0,48,0,55,0,102,0,102,0,102,0,0,0,0,0,1,0,0,0,4,0,0,0,26,0,0,0,255,255,255,255,255,255,255,255,32,0,0,0,97,0,48,0,48,0,48,0,48,0,48,0,48,0,48,0,56,0,55,0,49,0,48,0,48,0,50,0,102,0,56,0,56,0,54,0,102,0,102,0,57,0,50,0,56,0,57,0,48,0,53,0,48,0,98,0,48,0,48,0,102,0,102,0,0,0,0,0 03-22 10:32:11.674 108 237 I Gecko : RIL Worker[0]: New incoming parcel of size 132 03-22 10:32:11.674 108 237 I Gecko : RIL Worker[0]: Parcel (size 132): 0,0,0,0,53,0,0,0,0,0,0,0,144,0,0,0,0,0,0,0,52,0,0,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,102,0,0,0,0,0 03-22 10:32:11.674 108 237 I Gecko : RIL Worker[0]: We have at least one complete parcel. 03-22 10:32:11.684 108 237 I Gecko : RIL Worker[0]: Solicited response for request type 28, token 53, error 0 According to the log, the contents of MSISDN EF in Chungwa SIM Card are all 0xff, so that the msisdn is 'undefined'. (I have tested other SIM card, like T-moible, I can get MSISDN without problem) Thanks
No longer blocks: 850680
MSISDN is *not* a mandatory file on SIM, you cannot expect to be able to read it in every SIM card.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Clearing nom as this is now invalid.
blocking-b2g: leo? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: