LubosD / twinkle

Qt 5 port of Twinkle

Home Page:http://twinkle.dolezel.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Show CallerID on incoming call - Provider Sipgate

Cyborgscode opened this issue · comments

Setup: working Sipgate profile

If a call comes in via Sipgate, instead of the CallerID, the phonenumber of the connected sipgate account is shown. CallerID means here phone number of the (unkown) caller.

As JITSI does correctly shows the CallerID and the accounts phonenumber ( for whatever reason ), I tend to think it's a bug.

Since I'm not familiar with sipgate, could you provide us with an example of what the SIP From header of an incoming call looks like (it will be in the Twinkle log, as part of the received INVITE message), as well as what you believe should be displayed instead?

For example, here's what it looks like for me:

From: "18195551212" <sip:18195551212@12.34.56.78>;tag=m5UjyQ6ZayaaH

(Feel free to anonymize the phone number and IP address like I did.)

From: "OWN SIPGATENUMBER" sip:0123456789@sipgate.de;tag=as6d109891

I think it's a sipgate bug.

the own sipgate number should send via TO: and not via FROM: , correct?

I opened a Bugreport at Sipgate for this. I suggest to compensate for this Problem, if the own number is detected, the <sip:... @sipgate> Info should be shown together with the called number.

From: "OWN SIPGATENUMBER" sip:0123456789@sipgate.de;tag=as6d109891

Then where does Jitsi find the "correct" number?

Could you paste the whole INVITE message? The answer has to be in there. (Again, anonymize appropriately, but make sure it is obvious to tell which number is your own and which is the caller.)

ANSWERE from SIPGATE:

Simple form: "We know about the issue, but several customers want this behaviour to react on the number call ( they mean Callcenters ). It's fixable in the extended prefs for the phoneline options inside the sipgates website. "

WORKAROUND: ( i'm translating free from german to english here)

log into sipgate
find "my phones" ( top bar, left of the logout button )
"PHONE MANAGEMENT"
find the phone number you wanna change,
right to it is hamburger menu with "extended prefs" , click there
enable option "DISPLAY FOR SINGLE-LINE-DISPLAYs"

done.

The answere my be worth added to the FAQ section of Twinkle.

It's up to you to detect the sipgate "bug" by comparing the number of the line, with the FROM field of the sip header
and just display the user-part and/or display the From: "name" + the userpart as two-line-displays would ( like Jitsi did ).