From: Emil Ivov [mailto:email@example.com]
>> From: Emil Ivov [mailto:firstname.lastname@example.org]
>> Hey Tom,
>>> Within the sources, ProtocolProviderFactory differentiates between
>>> DISPLAY_NAME and ACCOUNT_DISPLAY_NAME.
>>> Can someone elaborate on the distinction between the 2?
>> If I setup a SIP account for email@example.com, DISPLAY_NAME would
>> contain my SIP display name, i.e. "Emil Ivov". ACCOUNT_DISPLAY_NAME
>> would contain the String that Jitsi will use to show me that account
>> in the various account lists in Jitsi.
>> By default this would be: "firstname.lastname@example.org (SIP)"
> Since the SIP account doesn't fill the ACCOUNT_DISPLAY_NAME, it
> currently defaults to "<user-id> (SIP)" (or "emcho (SIP)" in your
In my example it really would be "email@example.com (SIP)" and that's the
Ah, the plot thickens
Just figured out the discrepancy here:
On adding a SIP account in Jitsi one can specify a SIP id of <user> or
In the "Advanced" section one can specify a registrar.
In the first case, the user will be SIP-registered as <user>@<registrar> but
the Jitsi account will still be represented as <user> (my example).
In the second case, Jitsi will silently use the <host> as <registrar> but
the account will be known in Jitsi as <user>@<host> (your example).
Given that the registrar may well be a different host or domain then the
actual SIP account, it makes sense to represent <user>@<host> as SIP id but
in that case -for consistencies sake- the first case should automatically
become known as <user>@<registrar> as Jitsi account (imho).
Btw., to make matters worse, I think it's perfectly legal (RFC-wise) to
register the same SIP account with multiple registrars...
Does Jitsi handle this case?
> Given that the (SIP) user-id can be anything, (like an unreadable
> GUID) and the SIP account wizard includes a display name, I propose
> change the SIP display-name behaviour to:
> - When no account_display_name found, try display_name and only then
> default to user-id.
I am afraid this won't work. Account display names are used in places
where all accounts are listed, such as your account configuration
panel, or the status combo box at the top of the contact list.
?? Not sure I quite follow. My suggestion here *was* to use account display
names but _when not present_ and in the case of SIP only, to try the SIP
display-name (when present) and only _then_ revert to SIP id.
Using the user display name there would make one account completely
undistinguishable from the next.
Again, not sure we're talking about the same thing here. I'm referring to
the extra display name that can be specified on the SIP "Account" tab in
Jitsi and that is further correctly used with SIP from and to headers.
After all, RFC3261 specifically states that the optional "display-name" is
meant to be rendered by a human user interface (aka the panels and lists you
are referring to).
Of course it is still possible to enter the same display name in multiple
accounts, but that also holds for having the same SIP-id with multiple
Could you please tell us exactly what the problem that you are trying
to resolve is?
Heh, no problem
I regard this more as an enhancement/improvement.
Hope this helps,
On 19.02.13, 16:39, Tom Uijldert wrote:
>> -----Original Message-----
>> On 19.02.13, 15:36, Tom Uijldert wrote: