linphone-desktop icon indicating copy to clipboard operation
linphone-desktop copied to clipboard

Save / backup / restore Contact List

Open thiagopeixoto16 opened this issue 7 years ago • 11 comments

Hello,

As a feature request: Would be nice to have a button like Export / Import contact list

Thanks

thiagopeixoto16 avatar Jul 24 '17 20:07 thiagopeixoto16

Is there a workaround, like a db that's easy to access?

lepianoman avatar Nov 13 '18 14:11 lepianoman

I don't know yet.

Alain Lauzon

On 18-11-13 09 h 43, lepianoman wrote:

Is there a workaround, like a db that's easy to access?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BelledonneCommunications/linphone-desktop/issues/53#issuecomment-438290394, or mute the thread https://github.com/notifications/unsubscribe-auth/AJF8Mz9hxTfq6o74L0ban5UBgrCY0R9_ks5uutqZgaJpZM4OhtjB.

alauzon avatar Nov 13 '18 14:11 alauzon

You can modify this database: ~/.local/share/linphone/friends.db but be careful with the vCard data. You must strictly respect the vCard grammar.

Wescoeur avatar Nov 15 '18 09:11 Wescoeur

The file is under ~/.var/app/com.belledonnecommunications.linphone/data/linphone/friends.db on my Ubuntu platform.  I see it's an SQLlite DB.  I was able to edit the DB and add and modify records manually. I now need to import my VCards from NextCloud to this DB.  Interesting project.

Alain Lauzon

On 18-11-15 04 h 41, Ronan Abhamon wrote:

You can modify this database: |~/.local/share/linphone/friends.db| but be careful with the vCard data. You must strictly respect the vCard grammar.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BelledonneCommunications/linphone-desktop/issues/53#issuecomment-438979062, or mute the thread https://github.com/notifications/unsubscribe-auth/AJF8M_dstTbyqq9JKWg3VSfjtBH73H4xks5uvTbZgaJpZM4OhtjB.

alauzon avatar Nov 15 '18 16:11 alauzon

Thanks for the tips! I'll also try to migrate this file from one Linphone installation to another, because that is my use case. Thanks!

lepianoman avatar Nov 16 '18 06:11 lepianoman

Related: https://github.com/BelledonneCommunications/linphone-desktop/issues/349

cweiske avatar Nov 12 '20 10:11 cweiske

Would, at least in principle, be possible to use the plugin infrastructure for separately trying to set up the import export mechanism? Similarly, would it be possible to use the plugin infrastructure to set up a way to query google-contacts? Or is the plugin mechanism dedicated to the "calling" part of the program only? Is there documentation on the interfaces that the plugins should and can access?

callegar avatar May 28 '21 07:05 callegar

+1 for this feature request.

inserts into sqlite-db works but it's not a convenient solution for endusers.

Therefore an import/export with csv or excel or would be nice

AlBundy33 avatar Nov 04 '21 19:11 AlBundy33

I use vdirsyncer and insert into sql db with a shell script as described on https://klausdieter0815.wordpress.com/2023/01/25/linphone-addressbook-nextcloud/

I am finding that linphone does not seem to re-read the friends.db when entries change during runtime. Also the lack of interpreting TEL: entries in vcard is a problem. So, yeah. There is a workaround but it isn't great.

christf avatar Jan 26 '23 22:01 christf

Sync with fruux.com or the like would be ideal.

I use vdirsyncer and insert into sql db with a shell script as described on https://klausdieter0815.wordpress.com/2023/01/25/linphone-addressbook-nextcloud/

I am finding that linphone does not seem to re-read the friends.db when entries change during runtime. Also the lack of interpreting TEL: entries in vcard is a problem. So, yeah. There is a workaround but it isn't great.

Regarding the lack of tel xdg file type handler, these links might be of help

https://forum.vivaldi.net/topic/27767/open-tel-links-with-phone-app

https://github.com/BelledonneCommunications/linphone-desktop/issues/246#issuecomment-495100602

sysfu avatar Jan 27 '23 15:01 sysfu

Am Fri, Jan 27, 2023 at 07:29:12AM -0800 schrieb sysfu:

Sync with fruux.com or the like would be ideal.

I use vdirsyncer and insert into sql db with a shell script as described on https://klausdieter0815.wordpress.com/2023/01/25/linphone-addressbook-nextcloud/

I am finding that linphone does not seem to re-read the friends.db when entries change during runtime. Also the lack of interpreting TEL: entries in vcard is a problem. So, yeah. There is a workaround but it isn't great.

Regarding the lack of tel xdg file type handler, these links might be of help The problem is not the missing xdg handler but that the TEL-fields in vcf seem to be ignored by linphone. Linphone likes IMPP fields with sip contacts. This is somewhat of a problem when users just want to call a contact on POTS using whatever sip upstream that happens to be available.

-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

christf avatar Jan 27 '23 22:01 christf