[jitsi-users] Restore contacts and more


#1

jitsi 2.8.5426

I moved ~/.jitsi/ and then let jitsi recreate it. That fixed the problem I was having with audio.

Now, I want to restore my contacts, and preferably accounts & call history. I restored contactlist.xml from the original .jitsi/ - and it gave me back my groups, but they were empty (or at least couldn't be opened).

So how can I restore contacts, accounts and call history please?

Thank you in advance.

- A


#2

Hi A,

jitsi 2.8.5426

I moved ~/.jitsi/ and then let jitsi recreate it. That fixed the
problem I was having with audio.

You can try to selectively restore parts from
sip-communicator.properties. I cannot help you distinguishing right from
wrong for individual settings, so it would take a bit of trial and error.

Now, I want to restore my contacts, and preferably accounts & call
history. I restored contactlist.xml from the original .jitsi/ - and
it gave me back my groups, but they were empty (or at least couldn't
be opened).

You can find the new account keys in the sip-communicator.properties file.

So how can I restore contacts, accounts and call history please?

See "contactlist.xml" for list of contacts. You need to ensure that the
accounts in the contact list matches the one in the
sip-communicator.properties.

For the communication logs, see "history_ver1.0" directory. Again, go
into the subdirectories and find the account names as directories.
Again, make sure those match the new account names.

Danny

···

On 17-05-15 08:44, A wrote:

Thank you in advance.

- A

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#3

Thank you for your response. Much appreciated. Comments below.

You can try to selectively restore parts from sip-communicator.properties. I cannot help you distinguishing right from wrong for individual settings, so it would take a bit of trial and error.

Now, I want to restore my contacts, and preferably accounts & call
history. I restored contactlist.xml from the original .jitsi/ - and
it gave me back my groups, but they were empty (or at least couldn't
be opened).

You can find the new account keys in the sip-communicator.properties file.

I was able to find the account related lines and copied them.

So how can I restore contacts, accounts and call history please?

See "contactlist.xml" for list of contacts. You need to ensure that the
accounts in the contact list matches the one in the
sip-communicator.properties.

Yes.. however those accounts do not show up in jitsi - I did restart jitsi.

For the communication logs, see "history_ver1.0" directory. Again, go
into the subdirectories and find the account names as directories.
Again, make sure those match the new account names.

I figure since accounts aren't working, no point in dealing with this one yet...

Bottom line - the changes I made did not make any difference in anything as far as I can tell.

- A

···

On 05/17/2015 02:24 PM, Danny van Heumen wrote:


#4

Hi,

It has to do with a quick reply, since I'm at a very inconvient time
right now and do not have time to look into the properties file and a
reply with accurate instructions. In the mean time, a quick hint. See below.

Danny

Thank you for your response. Much appreciated. Comments below.

You can try to selectively restore parts from
sip-communicator.properties. I cannot help you distinguishing right
from wrong for individual settings, so it would take a bit of trial
and error.

Now, I want to restore my contacts, and preferably accounts & call
history. I restored contactlist.xml from the original .jitsi/ - and
it gave me back my groups, but they were empty (or at least couldn't
be opened).

You can find the new account keys in the sip-communicator.properties
file.

I was able to find the account related lines and copied them.

Okay, that's good.

So how can I restore contacts, accounts and call history please?

See "contactlist.xml" for list of contacts. You need to ensure that the
accounts in the contact list matches the one in the
sip-communicator.properties.

Yes.. however those accounts do not show up in jitsi - I did restart
jitsi.

I'm not sure how Jitsi creates the account ID's. I think they are quite
trivial. But just in case, you could try creating a "temporary" account
first. Check the generated ID and maybe compare property lines from
before and after. That should give you a good indication on what it
takes to add an account, therefore what it takes to "migrate" the account.

···

On 18-05-15 01:26, A wrote:

On 05/17/2015 02:24 PM, Danny van Heumen wrote:

For the communication logs, see "history_ver1.0" directory. Again, go
into the subdirectories and find the account names as directories.
Again, make sure those match the new account names.

I figure since accounts aren't working, no point in dealing with this
one yet...

Bottom line - the changes I made did not make any difference in
anything as far as I can tell.

- A

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

Thank you for your response.

I did as you suggested. 64 lines were different. I'm at a loss here.

With that said, I'm less concerned about recreating a few accounts than I am about restoring the contact list. The contact list is my primary concern.

Thank you

- A

···

~~~~~~~~~~~

diff sip-communicator.properties sip-communicator.properties.sav
1c1
< #Tue May 19 07:57:47 PDT 2015
---
> #Tue May 19 07:55:39 PDT 2015
17,19d16
< net.java.sip.communicator.impl.gui.accounts.acc1432047467945=SIP\:test@test.com
< net.java.sip.communicator.impl.gui.accounts.acc1432047467945.accountIndex=3
< net.java.sip.communicator.impl.gui.accounts.acc1432047467945.wizard=net_java_sip_communicator_plugin_sipaccregwizz_SIPAccountRegistrationWizard
425,479d421
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931=acc1432047467931
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ACCOUNT_UID=SIP\:test@test.com
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DEFAULT_ENCRYPTION=true
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DEFAULT_SIPZRTP_ATTRIBUTE=true
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DTMF_METHOD=AUTO_DTMF
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DTMF_MINIMAL_TONE_DURATION=70
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTED_PASSWORD=OdY1zpfN4+bXWDVzPlyymg\=\=
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.DTLS-SRTP=2
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.SDES=1
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.ZRTP=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.DTLS-SRTP=false
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.SDES=false
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.ZRTP=true
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.AMR-WB/16000=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.G722/8000=705
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.GSM/8000=450
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.H263-1998/90000=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.H264/90000=1100
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.PCMA/8000=600
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.PCMU/8000=650
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/12000=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/16000=713
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/24000=714
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/8000=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.VP8/90000=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.iLBC/8000=500
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.opus/48000=750
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.red/90000=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/16000=700
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/32000=701
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/8000=352
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.telephone-event/8000=1
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.ulpfec/90000=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.FORCE_P2P_MODE=false
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.IS_PRESENCE_ENABLED=true
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.KEEP_ALIVE_INTERVAL=25
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.KEEP_ALIVE_METHOD=OPTIONS
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_SERVER_URI=
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_USER=
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_USE_SIP_CREDETIALS=false
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OVERRIDE_ENCODINGS=false
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.POLLING_PERIOD=30
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.PROTOCOL_NAME=SIP
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.PROXY_AUTO_CONFIG=true
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SAVP_OPTION=0
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SDES_CIPHER_SUITES=AES_CM_128_HMAC_SHA1_80,AES_CM_128_HMAC_SHA1_32
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SERVER_ADDRESS=test.com
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SERVER_PORT=5060
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SUBSCRIPTION_EXPIRATION=3600
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.USER_ID=test@test.com
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_CHECK_URI=
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_ENABLED=true
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_URI=
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.XCAP_ENABLE=false
< net.java.sip.communicator.impl.protocol.sip.acc1432047467931.XIVO_ENABLE=false

On 05/18/2015 03:31 PM, Danny van Heumen wrote:

Hi,

It has to do with a quick reply, since I'm at a very inconvient time
right now and do not have time to look into the properties file and a
reply with accurate instructions. In the mean time, a quick hint. See below.

Danny

On 18-05-15 01:26, A wrote:

Thank you for your response. Much appreciated. Comments below.

On 05/17/2015 02:24 PM, Danny van Heumen wrote:

You can try to selectively restore parts from
sip-communicator.properties. I cannot help you distinguishing right
from wrong for individual settings, so it would take a bit of trial
and error.

Now, I want to restore my contacts, and preferably accounts & call
history. I restored contactlist.xml from the original .jitsi/ - and
it gave me back my groups, but they were empty (or at least couldn't
be opened).

You can find the new account keys in the sip-communicator.properties
file.

I was able to find the account related lines and copied them.

Okay, that's good.

So how can I restore contacts, accounts and call history please?

See "contactlist.xml" for list of contacts. You need to ensure that the
accounts in the contact list matches the one in the
sip-communicator.properties.

Yes.. however those accounts do not show up in jitsi - I did restart
jitsi.

I'm not sure how Jitsi creates the account ID's. I think they are quite
trivial. But just in case, you could try creating a "temporary" account
first. Check the generated ID and maybe compare property lines from
before and after. That should give you a good indication on what it
takes to add an account, therefore what it takes to "migrate" the account.

For the communication logs, see "history_ver1.0" directory. Again, go
into the subdirectories and find the account names as directories.
Again, make sure those match the new account names.

I figure since accounts aren't working, no point in dealing with this
one yet...

Bottom line - the changes I made did not make any difference in
anything as far as I can tell.

- A

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#6

Hi A,

I had a quick look in contactlist.xml. It seems to me that you should
replace the "account-id" attribute value of each "contact" element with
the account id of your new existing account. I haven't tested this out
in practice, but that looks like the link to the account.

The account-id looks like "<protocol>:<user>@<host>", such as
"Jabber:user@jit.si@jitsi" (where "user@jit.si" is the user).

So if you create a new account and you replace the old account-id with
the new account-id. Then I think it may very well show up again.
(Otherwise the contacts are loaded and would show, except for the fact
that the account which they are linked to is not active.)

I hope that this helps you,
Danny

···

On 19-05-15 17:04, A wrote:

Thank you for your response.

I did as you suggested. 64 lines were different. I'm at a loss here.

With that said, I'm less concerned about recreating a few accounts
than I am about restoring the contact list. The contact list is my
primary concern.

Thank you

- A
~~~~~~~~~~~

diff sip-communicator.properties sip-communicator.properties.sav
1c1
< #Tue May 19 07:57:47 PDT 2015
---
> #Tue May 19 07:55:39 PDT 2015
17,19d16
<
net.java.sip.communicator.impl.gui.accounts.acc1432047467945=SIP\:test@test.com
<
net.java.sip.communicator.impl.gui.accounts.acc1432047467945.accountIndex=3
<
net.java.sip.communicator.impl.gui.accounts.acc1432047467945.wizard=net_java_sip_communicator_plugin_sipaccregwizz_SIPAccountRegistrationWizard
425,479d421
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931=acc1432047467931
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ACCOUNT_UID=SIP\:test@test.com
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DEFAULT_ENCRYPTION=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DEFAULT_SIPZRTP_ATTRIBUTE=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DTMF_METHOD=AUTO_DTMF
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DTMF_MINIMAL_TONE_DURATION=70
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTED_PASSWORD=OdY1zpfN4+bXWDVzPlyymg\=\=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.DTLS-SRTP=2
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.SDES=1
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.ZRTP=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.DTLS-SRTP=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.SDES=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.ZRTP=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.AMR-WB/16000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.G722/8000=705
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.GSM/8000=450
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.H263-1998/90000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.H264/90000=1100
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.PCMA/8000=600
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.PCMU/8000=650
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/12000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/16000=713
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/24000=714
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/8000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.VP8/90000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.iLBC/8000=500
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.opus/48000=750
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.red/90000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/16000=700
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/32000=701
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/8000=352
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.telephone-event/8000=1
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.ulpfec/90000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.FORCE_P2P_MODE=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.IS_PRESENCE_ENABLED=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.KEEP_ALIVE_INTERVAL=25
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.KEEP_ALIVE_METHOD=OPTIONS
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_SERVER_URI=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_USER=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_USE_SIP_CREDETIALS=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OVERRIDE_ENCODINGS=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.POLLING_PERIOD=30
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.PROTOCOL_NAME=SIP
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.PROXY_AUTO_CONFIG=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SAVP_OPTION=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SDES_CIPHER_SUITES=AES_CM_128_HMAC_SHA1_80,AES_CM_128_HMAC_SHA1_32
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SERVER_ADDRESS=test.com
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SERVER_PORT=5060
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SUBSCRIPTION_EXPIRATION=3600
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.USER_ID=test@test.com
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_CHECK_URI=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_ENABLED=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_URI=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.XCAP_ENABLE=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.XIVO_ENABLE=false

On 05/18/2015 03:31 PM, Danny van Heumen wrote:

Hi,

It has to do with a quick reply, since I'm at a very inconvient time
right now and do not have time to look into the properties file and a
reply with accurate instructions. In the mean time, a quick hint. See below.

Danny

On 18-05-15 01:26, A wrote:

Thank you for your response. Much appreciated. Comments below.

On 05/17/2015 02:24 PM, Danny van Heumen wrote:

You can try to selectively restore parts from
sip-communicator.properties. I cannot help you distinguishing right
from wrong for individual settings, so it would take a bit of trial
and error.

Now, I want to restore my contacts, and preferably accounts & call
history. I restored contactlist.xml from the original .jitsi/ - and
it gave me back my groups, but they were empty (or at least couldn't
be opened).

You can find the new account keys in the sip-communicator.properties
file.

I was able to find the account related lines and copied them.

Okay, that's good.

So how can I restore contacts, accounts and call history please?

See "contactlist.xml" for list of contacts. You need to ensure that the
accounts in the contact list matches the one in the
sip-communicator.properties.

Yes.. however those accounts do not show up in jitsi - I did restart
jitsi.

I'm not sure how Jitsi creates the account ID's. I think they are quite
trivial. But just in case, you could try creating a "temporary" account
first. Check the generated ID and maybe compare property lines from
before and after. That should give you a good indication on what it
takes to add an account, therefore what it takes to "migrate" the account.

For the communication logs, see "history_ver1.0" directory. Again, go
into the subdirectories and find the account names as directories.
Again, make sure those match the new account names.

I figure since accounts aren't working, no point in dealing with this
one yet...

Bottom line - the changes I made did not make any difference in
anything as far as I can tell.

- A

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#7

Thank you for your continued help. Your comments are well written and make sense. Yet, I'm unable to make this work.

The account id's are the same in both old & new contactlist.xml files so there's really nothing to change. I have 3 accounts as follows. Each account has two hosts - the FQDN and 127.0.0.1. So for example 99999@test.com and 99999@127.0.0.1 is the same account - so I have 6 account id's. Only 3 are active at a time (you might wonder why... I have jitsi on the same hardware as asterisk - at one point I had them separated and eventually I plan to separate them again).

I added the extra account-ids to the <proto-groups> block.

It's probably something simple & obvious, but I'm just not seeing it.

- A

···

On 05/19/2015 03:17 PM, Danny van Heumen wrote:

Hi A,

I had a quick look in contactlist.xml. It seems to me that you should
replace the "account-id" attribute value of each "contact" element with
the account id of your new existing account. I haven't tested this out
in practice, but that looks like the link to the account.

The account-id looks like "<protocol>:<user>@<host>", such as
"Jabber:user@jit.si@jitsi" (where "user@jit.si" is the user).

So if you create a new account and you replace the old account-id with
the new account-id. Then I think it may very well show up again.
(Otherwise the contacts are loaded and would show, except for the fact
that the account which they are linked to is not active.)

I hope that this helps you,
Danny

On 19-05-15 17:04, A wrote:

Thank you for your response.

I did as you suggested. 64 lines were different. I'm at a loss here.

With that said, I'm less concerned about recreating a few accounts
than I am about restoring the contact list. The contact list is my
primary concern.

Thank you

- A
~~~~~~~~~~~

diff sip-communicator.properties sip-communicator.properties.sav
1c1
< #Tue May 19 07:57:47 PDT 2015
---

#Tue May 19 07:55:39 PDT 2015

17,19d16
<
net.java.sip.communicator.impl.gui.accounts.acc1432047467945=SIP\:test@test.com
<
net.java.sip.communicator.impl.gui.accounts.acc1432047467945.accountIndex=3
<
net.java.sip.communicator.impl.gui.accounts.acc1432047467945.wizard=net_java_sip_communicator_plugin_sipaccregwizz_SIPAccountRegistrationWizard
425,479d421
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931=acc1432047467931
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ACCOUNT_UID=SIP\:test@test.com
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DEFAULT_ENCRYPTION=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DEFAULT_SIPZRTP_ATTRIBUTE=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DTMF_METHOD=AUTO_DTMF
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.DTMF_MINIMAL_TONE_DURATION=70
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTED_PASSWORD=OdY1zpfN4+bXWDVzPlyymg\=\=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.DTLS-SRTP=2
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.SDES=1
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL.ZRTP=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.DTLS-SRTP=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.SDES=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.ENCRYPTION_PROTOCOL_STATUS.ZRTP=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.AMR-WB/16000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.G722/8000=705
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.GSM/8000=450
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.H263-1998/90000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.H264/90000=1100
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.PCMA/8000=600
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.PCMU/8000=650
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/12000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/16000=713
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/24000=714
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.SILK/8000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.VP8/90000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.iLBC/8000=500
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.opus/48000=750
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.red/90000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/16000=700
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/32000=701
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.speex/8000=352
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.telephone-event/8000=1
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.Encodings.ulpfec/90000=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.FORCE_P2P_MODE=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.IS_PRESENCE_ENABLED=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.KEEP_ALIVE_INTERVAL=25
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.KEEP_ALIVE_METHOD=OPTIONS
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_SERVER_URI=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_USER=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OPT_CLIST_USE_SIP_CREDETIALS=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.OVERRIDE_ENCODINGS=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.POLLING_PERIOD=30
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.PROTOCOL_NAME=SIP
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.PROXY_AUTO_CONFIG=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SAVP_OPTION=0
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SDES_CIPHER_SUITES=AES_CM_128_HMAC_SHA1_80,AES_CM_128_HMAC_SHA1_32
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SERVER_ADDRESS=test.com
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SERVER_PORT=5060
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.SUBSCRIPTION_EXPIRATION=3600
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.USER_ID=test@test.com
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_CHECK_URI=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_ENABLED=true
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.VOICEMAIL_URI=
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.XCAP_ENABLE=false
<
net.java.sip.communicator.impl.protocol.sip.acc1432047467931.XIVO_ENABLE=false

On 05/18/2015 03:31 PM, Danny van Heumen wrote:

Hi,

It has to do with a quick reply, since I'm at a very inconvient time
right now and do not have time to look into the properties file and a
reply with accurate instructions. In the mean time, a quick hint. See below.

Danny

On 18-05-15 01:26, A wrote:

Thank you for your response. Much appreciated. Comments below.

On 05/17/2015 02:24 PM, Danny van Heumen wrote:

You can try to selectively restore parts from
sip-communicator.properties. I cannot help you distinguishing right
from wrong for individual settings, so it would take a bit of trial
and error.

Now, I want to restore my contacts, and preferably accounts & call
history. I restored contactlist.xml from the original .jitsi/ - and
it gave me back my groups, but they were empty (or at least couldn't
be opened).

You can find the new account keys in the sip-communicator.properties
file.

I was able to find the account related lines and copied them.

Okay, that's good.

So how can I restore contacts, accounts and call history please?

See "contactlist.xml" for list of contacts. You need to ensure that the
accounts in the contact list matches the one in the
sip-communicator.properties.

Yes.. however those accounts do not show up in jitsi - I did restart
jitsi.

I'm not sure how Jitsi creates the account ID's. I think they are quite
trivial. But just in case, you could try creating a "temporary" account
first. Check the generated ID and maybe compare property lines from
before and after. That should give you a good indication on what it
takes to add an account, therefore what it takes to "migrate" the account.

For the communication logs, see "history_ver1.0" directory. Again, go
into the subdirectories and find the account names as directories.
Again, make sure those match the new account names.

I figure since accounts aren't working, no point in dealing with this
one yet...

Bottom line - the changes I made did not make any difference in
anything as far as I can tell.

- A

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users