Skip to content

Name showing as "Unknown" except for names starting with "N" #104

@Qvadis

Description

@Qvadis

Hi,

I've come across a very weird issue in my application. I made a calling application that uses JsSIP and CordovaCall for making and receiving calls between users.

It works fine in most Android devices, but I'm struggling to make it work in a Xiaomi Pocophone F1.

When I receive a call from, let's say John, the CordovaCall UI says "Unknown". However, if I receive a call from Naomi, it says Naomi. Weird, uh?

I made two tests. One with a user called "Nborja Antona" and another one with "borja Antona". One is good and another one is unknown.

Let me show you two screen captures. Sorry it is in spanish, but you have to pay attention to the notification that says "Teléfono" (Phone), "Desconocido" (Unknown) and "Llamada entrante" (Incoming Call).

Screenshot_2020-06-18-14-03-34-640_com mi android globallauncher

Screenshot_2020-06-18-14-04-24-600_com android incallui

When "Nborja Antona" calls, CordovaCall shows a toast that displays "Call from 626752268622".
When "borja Antona" calls, the toasts says "Call from unknown"

I tried different names and as long as it begins with "N", it is ok.

When "Nabcdefghijklmnopqrstuvwxyz" calls the numer is "6222333444555666677778889999". Each letter corresponds with the keys 1-9 we had to press before touch screens.

My guess is that, as long as it starts with 6, the phone guesses it is a valid mobile phone and it "parses" it.

Any thoughs on what may be the better solution for this?

Thank you and cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions