Bug 85049 - sim: try "ON" phonebook entry #1 if AT+CNUM fails
Summary: sim: try "ON" phonebook entry #1 if AT+CNUM fails
Status: RESOLVED MOVED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 09:51 UTC by Aleksander Morgado
Modified: 2018-06-10 09:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Aleksander Morgado 2014-10-15 09:51:27 UTC
Originally reported at:
  https://bugzilla.gnome.org/show_bug.cgi?id=696693

Some devices always reply with ERROR to AT+CNUM, but switching to the own-numbers (ON) phonebook and checking entry #1 shows the correct number.

at+cnum?
ERROR
at+cpbs="ON"
OK
at+cpbr=1
+CPBR: 1,"16121234567",129,"004D0073006900730064006E0031"
OK

Yes, the modem is in UCS-2 character set and the UCS-2 string spells "Msisdn1". If other SIMs have "Msisdn1" here too, maybe we could use that as a check.

Another possibility would be to directly read from a SIM file through +CRSM.
Comment 1 GitLab Migration User 2018-06-10 09:03:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/40.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.