Ticket #352 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Numbers are not translated to Names in Incoming calls (maybe provider dependent)

Reported by: alef Owned by: ainulindale
Priority: major Milestone:
Component: ophonekitd Version: SHR-testing
Keywords: Cc:

Description

I am using March-03 SHR testing.

the number->name translation:

  • works in phonelog
  • works when I call the sender in Show message
  • works when I call from the contact list
  • does not work when somebody is calling me
  • does not work in messages

I tried to use both variants of the national code in numbers (00420 and +420), but none works. The Incoming call window display +420...

in ophonekitd.log, there is:

(process:1378): DEBUG: incoming call
(process:1378): DEBUG: ophonekitd_call_check(1)
(process:1378): DEBUG: phonelog - add new call, number: "+420........."
(process:1378): DEBUG: ophonekitd_call_add(1, 18)
(process:1378): DEBUG: phonelog - logging call event, unique id: 18, status: 0
(process:1378): DEBUG: looking for '"+420........."' in contacts_cache
(process:1378): DEBUG: instance_manager_add: type=1, id=1, window=333184
(process:1378): DEBUG: realloc'ed
(process:1378): DEBUG: add window: 0
(process:1378): DEBUG: done

in the contact list, this contact looks exactly the same - except the double quotes in the log - is this correct? (the line looking for '"+420..."' has the number in <single quote><double
quote>+420...</double quote></single quote>).

Klaus 'mrmoku' Kurzmann proposed to try to add quotes to the phonebook and see if it shows the name then. however, it is not possible to add quotes to the contact number neither using the Edit contact form, nor through the DBus call (StoreEntry? failed: org.freesmartphone.GSM.Device.Failed).

Change History

comment:1 Changed 3 years ago by alef

I have found out that it starts to work if I do

killall -9 ophonekitd
DISPLAY=:0 ophonekitd&

probably the contacts_cache is not always initialized to all sim contacts?

I think with this workaround it can be closed as 'worksforme' and wait for opimd for better solution

comment:2 Changed 3 years ago by dos

  • Status changed from new to closed
  • Resolution set to fixed

It should works now, as ophonekitd is waiting for SIM to be ready until doing next steps :P

Note: See TracTickets for help on using tickets.