[jitsi-dev] Display Name instead of SIP URI


#1

Hi,

At the moment in Chat window SIP URI is displayed. I would suggest to
change this to "Display Name" (if available in 'From:' header). Please
see PDF below for more details:

http://dl.dropbox.com/u/3182365/jitsi-DisplayName.pdf

Best regards,
Chris


#2

Hey Chris,

I'm not a SIP expert, but what happens if James has more than one SIP account and keeps the same display name for all his accounts. Then, if we have a "meta contact" for James in Jitsi, containing all his SIP contacts and we open a chat with him, we won't be able to distinguish the specific protocol contact from which he's writing. In the chat window we explicitly show the protocol contact address and not the display name in order to show which is the exact contact we're writing to at the moment.

Cheers,
Yana

···

On Jun 11, 2011, at 11:51 AM, <chris@wima.co.uk> <chris@wima.co.uk> wrote:

Hi,

At the moment in Chat window SIP URI is displayed. I would suggest to
change this to "Display Name" (if available in 'From:' header). Please
see PDF below for more details:

http://dl.dropbox.com/u/3182365/jitsi-DisplayName.pdf

Best regards,
Chris


#3

Hey

When I look at Chris' Screenshots again, I think the specific account where a buddy writes from doesn't matter in the notification popup (and in the chat log too). To be able to distinguish multiple accounts we could change the chat window title: instead of showing just the display name or the address, show both. E.g. "James (xyz33441@sip.example.com)"

Regards,
Ingo

···

-----Original Message-----
From: Yana Stamcheva [mailto:yana@jitsi.org]
Sent: Sonntag, 12. Juni 2011 13:36
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: Display Name instead of SIP URI
Hey Chris,

I'm not a SIP expert, but what happens if James has more than one SIP
account and keeps the same display name for all his accounts. Then, if we
have a "meta contact" for James in Jitsi, containing all his SIP contacts
and we open a chat with him, we won't be able to distinguish the specific
protocol contact from which he's writing. In the chat window we explicitly
show the protocol contact address and not the display name in order to
show which is the exact contact we're writing to at the moment.

Cheers,
Yana

On Jun 11, 2011, at 11:51 AM, <chris@wima.co.uk> <chris@wima.co.uk> wrote:

Hi,

At the moment in Chat window SIP URI is displayed. I would suggest to
change this to "Display Name" (if available in 'From:' header). Please
see PDF below for more details:

http://dl.dropbox.com/u/3182365/jitsi-DisplayName.pdf

Best regards,
Chris


#4

Hi,

In my opinion SIP From header should be handled by User Agents in a
similar fashion as SMTP From header is handled by email clients.

When you receive an email:

From: "Chris Maciejewski" <fgj4s3gs-lab1@ams.edu>

any well behaved email client will show From: "Chris Maciejewski" in
the GUI, not fgj4s3gs-lab1@ams.edu.

When SIP From header is composed from two parts:

"Display Name" <_SIP_URI_>

as the name suggests, "Display Name" should be presented to the human
user, and _SIP_URI_ processed by underlying UA automata.

Just my 2 cents...

Best regards,
Chris


#5

Agreed.

Could you please open an issue for this?

Thanks,
Emil

На 13.06.11 01:25, chris@wima.co.uk написа:

···

Hi,

In my opinion SIP From header should be handled by User Agents in a
similar fashion as SMTP From header is handled by email clients.

When you receive an email:

From: "Chris Maciejewski" <fgj4s3gs-lab1@ams.edu>

any well behaved email client will show From: "Chris Maciejewski" in
the GUI, not fgj4s3gs-lab1@ams.edu.

When SIP From header is composed from two parts:

"Display Name" <_SIP_URI_>

as the name suggests, "Display Name" should be presented to the human
user, and _SIP_URI_ processed by underlying UA automata.

Just my 2 cents...

Best regards,
Chris

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
Jitsi
emcho@jitsi.org PHONE: +33.1.77.62.43.30
http://jitsi.org FAX: +33.1.77.62.47.31


#6

Hi,

A new issue report can be found here: http://java.net/jira/browse/JITSI-955

Regards,
Chris

···

On 14 June 2011 10:40, Emil Ivov <emcho@jitsi.org> wrote:

Agreed.

Could you please open an issue for this?

Thanks,
Emil


#7

Hey,

A small patch which solves (I hope) "Display name" issue for incoming
SIP Chat from unknown contacts:

http://dl.dropbox.com/u/3182365/Jitsi-ChatDisplayName.patch

Best regards,
Chris

···

On 15 June 2011 08:37, Chris Maciejewski <chris@wima.co.uk> wrote:

Hi,

A new issue report can be found here: http://java.net/jira/browse/JITSI-955

Regards,
Chris

On 14 June 2011 10:40, Emil Ivov <emcho@jitsi.org> wrote:

Agreed.

Could you please open an issue for this?

Thanks,
Emil


#8

Hi Chris,

Your patch is now committed (r8776) and ack-ed on our contributors page!

I've just made some minor modifications that fix the same problem when a typing notification is received before the actual message and adds the displayName parameter directly to the createContact, instead of calling renameContact.

Thanks!!!
Yana

···

On Jul 7, 2011, at 11:08 AM, Chris Maciejewski wrote:

Hey,

A small patch which solves (I hope) "Display name" issue for incoming
SIP Chat from unknown contacts:

http://dl.dropbox.com/u/3182365/Jitsi-ChatDisplayName.patch

Best regards,
Chris

On 15 June 2011 08:37, Chris Maciejewski <chris@wima.co.uk> wrote:

Hi,

A new issue report can be found here: http://java.net/jira/browse/JITSI-955

Regards,
Chris

On 14 June 2011 10:40, Emil Ivov <emcho@jitsi.org> wrote:

Agreed.

Could you please open an issue for this?

Thanks,
Emil