Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#97 closed defect (fixed)

History tab: number to callback should be the From username instead of the From Display-Name

Reported by: ibc Owned by: laurent
Priority: critical Milestone: QuteCom 2.3
Component: GUI Version: 2.2-RC3
Keywords: history Cc:

Description

This is a very annoying bug in Qutecom:

  • Qutecom receives an INVITE with the following From:

From: "Alice" <sip:2000@domain.org>

  • After the call, Qutecom shows this call in "History" tab.
  • The column "Name/ID" in "History" tab shows "Alice".
  • If I click on it, then Qutecom calls to "Alice" as follows:

INVITE sip:Alice@domain.org SIP/2.0

This is completely wrong and of course the call fails since there is no an user with "Alice" username. The Request URI of the INVITE should be:

INVITE sip:2000@domain.org SIP/2.0

"Alice" is just the caller Display-Name and this can be choosen randomly by the user by setting it into his phone, but this field is not important at all, the important field is the From username and domain (sip:2000@domain.org).

Due to this bug, the "History" tab of Qutecom is completely unuseful.

My suggestion (as any other phone/sofphone does) is the following:

  • In "history.xml" store two fields for each received call:
    • username/extension/number: the From username (i.e: "2000").
    • display-name: the From Display-Name (i.e: "Alice").
  • "History" tab could show both of them (username and display-name).
  • When calling back one of them, the Request URI generated should be:

INVITE sip:2000@domain.org SIP/2.0
From: "My User" <sip:myuser@domain.org>
To: "Alice" <sip:2000@domain.org>

I can sure that this is what any other SIP phone does since it's the only correct behaviour.

Change History (4)

comment:1 Changed 4 years ago by laurent

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

comment:2 Changed 4 years ago by ibc

  • Resolution fixed deleted
  • Status changed from closed to reopened

There is something wring in this bug fix:
For incoming calls (accepted or rejected by Qutecom) the Name/ID column shows now our username!
This is: I have the account "sip:1000@domain.org" configured in Qutecom and received a call from "sip:2000@domain.org". I accept or reject the call. Then the "History" tab shows:

Type Name/ID
Rejected call 1000

It should show the caller username (2000).

comment:3 Changed 4 years ago by laurent

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

I think, there is something wong in your setting. Maybe you've created a contact with name 1000 and sip account 2000

comment:4 Changed 4 years ago by ibc

Rigth, I'm sorry, somebody modified the PBX and by error modified the From header of the original call.

Note: See TracTickets for help on using tickets.