ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

One of phone number not displayed with dual SIM #1422

Open lduboeuf opened 4 years ago

lduboeuf commented 4 years ago

Description of the feature

Illustrations

Steps to reproduce

Go to address-book-app, settings, you should see my two phone numbers. This apply to all application that need to display my Phone Numbers ( system-settings, dialer-app, address-book-app)

Expected behavior

My two phone numbers are displayed

Actual behavior

Only one is displayed

Logfiles and additional information

Reported here: ubports/address-book-app#106 ubports/system-settings#197 ubports/dialer-app#99

DBUS logs:

getContactAttributes (1) ("org.freedesktop.Telepathy.Connection.Interface.SimplePresence") oFonoConnection::inspectHandles contact (1) oFonoConnection::inspectHandles ("") getContactAttributes (2) ("org.freedesktop.Telepathy.Connection.Interface.SimplePresence") oFonoConnection::inspectHandles contact (2) oFonoConnection::inspectHandles ("+49XXXXXXXX")

/usr/share/ofono/scripts/list-modem show an empty SubscriberNumbers

lduboeuf commented 4 years ago

Aside of this, is ofono update from upstream in next goal ?

Flohack74 commented 4 years ago

No as said in the other issue, we cannot update to upstream. Ciritical changes for mediatek and dual sim were never upstreamed by Canonical, and upstream changes were not merged downwards. Its a fork now rather...

lduboeuf commented 4 years ago

i see, well that is not a critical issue AFAIK

lduboeuf commented 4 years ago

So i did some research, SubscriberNumber number is not something that all providers set. But i see that it is a writable property on SiM card. The best would be to integrate it somewhere in settings. For now i can make a quick app for that

lduboeuf commented 4 years ago

So did some work with @Danfro , here is an app to allow re-write the phone number on your SIM.

https://drive.google.com/open?id=1mowjgF2RF6xxWREBkpnYjjYm7Fk4fuEs

That could be something to integrate in settings

UniversalSuperBox commented 4 years ago

This is worked around, but not fixed, by https://github.com/ubports/address-book-app/pull/147