[jitsi-dev] SIP Contacts - display name not saved?


#1

Hey,

It seems to me display name is not saved for SIP contacts (Jitsi rev. 8738).

How to reproduce the problem?

1. Configure Jitsi with a SIP account.

2. "File" => "Create group..." - enter any group name ("My Group" in
my example below)

3. "File" => "Add contact..." in example below:
Select group: My group
ID or Number: 02088445566
Display name: John Smith

4. Click "Add"

In UI Contact lists only show "02088445566" is displayed.

When I check ./jitsi/contactlist.xml the XML saved is:

<meta-contact uid="1308833336800548308290">
    <display-name>02088445566</display-name>
    <contact account-id="SIP:10002@sip.local"
address="02088445566@sip.local" parent-proto-group-uid="My Group.uid">
        <persistent-data>xcap.resolved=false;</persistent-data>
    </contact>
</meta-contact>

So looks like "Display name" (John Smith) is not saved?

Regards,
Chris


#2

What happens if you rename the contact after you've added it? Does it
work in this case? If it does then we only have a problem when setting
the display name in the add contact dialog.

Emil

На 23.06.11 15:00, Chris Maciejewski написа:

···

Hey,

It seems to me display name is not saved for SIP contacts (Jitsi rev. 8738).

How to reproduce the problem?

1. Configure Jitsi with a SIP account.

2. "File" => "Create group..." - enter any group name ("My Group" in
my example below)

3. "File" => "Add contact..." in example below:
Select group: My group
ID or Number: 02088445566
Display name: John Smith

4. Click "Add"

In UI Contact lists only show "02088445566" is displayed.

When I check ./jitsi/contactlist.xml the XML saved is:

<meta-contact uid="1308833336800548308290">
    <display-name>02088445566</display-name>
    <contact account-id="SIP:10002@sip.local"
address="02088445566@sip.local" parent-proto-group-uid="My Group.uid">
        <persistent-data>xcap.resolved=false;</persistent-data>
    </contact>
</meta-contact>

So looks like "Display name" (John Smith) is not saved?

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


#3

Renaming a contact works as expected. Both UI contact list shows new
"Display name" and it is correctly saved in contactlist.xml

Chris

···

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

What happens if you rename the contact after you've added it? Does it
work in this case? If it does then we only have a problem when setting
the display name in the add contact dialog.

Emil

На 23.06.11 15:00, Chris Maciejewski написа:

Hey,

It seems to me display name is not saved for SIP contacts (Jitsi rev. 8738).

How to reproduce the problem?

1. Configure Jitsi with a SIP account.

2. "File" => "Create group..." - enter any group name ("My Group" in
my example below)

3. "File" => "Add contact..." in example below:
Select group: My group
ID or Number: 02088445566
Display name: John Smith

4. Click "Add"

In UI Contact lists only show "02088445566" is displayed.

When I check ./jitsi/contactlist.xml the XML saved is:

<meta-contact uid="1308833336800548308290">
<display-name>02088445566</display-name>
<contact account-id="SIP:10002@sip.local"
address="02088445566@sip.local" parent-proto-group-uid="My Group.uid">
<persistent-data>xcap.resolved=false;</persistent-data>
</contact>
</meta-contact>

So looks like "Display name" (John Smith) is not saved?

Regards,
Chris


#4

Hi Chris,

this is fixed and will be available in next build (build.3560).

Cheers
damencho

···

On Thu, Jun 23, 2011 at 4:19 PM, Chris Maciejewski <chris@wima.co.uk> wrote:

Renaming a contact works as expected. Both UI contact list shows new
"Display name" and it is correctly saved in contactlist.xml

Chris

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

What happens if you rename the contact after you've added it? Does it
work in this case? If it does then we only have a problem when setting
the display name in the add contact dialog.

Emil

На 23.06.11 15:00, Chris Maciejewski написа:

Hey,

It seems to me display name is not saved for SIP contacts (Jitsi rev. 8738).

How to reproduce the problem?

1. Configure Jitsi with a SIP account.

2. "File" => "Create group..." - enter any group name ("My Group" in
my example below)

3. "File" => "Add contact..." in example below:
Select group: My group
ID or Number: 02088445566
Display name: John Smith

4. Click "Add"

In UI Contact lists only show "02088445566" is displayed.

When I check ./jitsi/contactlist.xml the XML saved is:

<meta-contact uid="1308833336800548308290">
<display-name>02088445566</display-name>
<contact account-id="SIP:10002@sip.local"
address="02088445566@sip.local" parent-proto-group-uid="My Group.uid">
<persistent-data>xcap.resolved=false;</persistent-data>
</contact>
</meta-contact>

So looks like "Display name" (John Smith) is not saved?

Regards,
Chris