Discussion:
[Linphone-users] Import contacts to Linphone [Win]
Mister X
2016-02-03 10:29:44 UTC
Permalink
Hi there.


Do you know, guys, the way how can I import my contacts to Linphone for
Windows? There are dozens of them and it is very cumbersome to enter them
manually.



Regards
J G Miller
2016-02-03 18:57:16 UTC
Permalink
At 13:29h, on Wednesday, February 03, 2016,
in message <DUB403-***@phx.gbl>,
on the subject of "[Linphone-users] Import contacts to Linphone [Win]",
Mister X asked -
Post by Mister X
Do you know, guys, the way how can I import my contacts to Linphone for
Windows? There are dozens of them and it is very cumbersome to enter them
manually.
Well you know what the format of a contacts entry is, in the linphonerc file,
so the simple way to do it, since as far as I am aware that there is no facility
in the linphone GUI to import a list, is to write a program (a script in your
preferred scripting language) to append them to linphonerc.

This problem does however highlight the more significant general issue that
linphone should not be continually modifying its linphonerc configuration file.

Linphone should not be putting .linphonerc directly in the home directory but
should like all other well behaved and properly structure programs be putting
its files in the directory ${HOME}/.config/linphone and should have separate
files for contacts and call logs, different from the main configuration file
.linphonerc.

If the competing sflphone can respect the OpenDesktop .config hierarchy
for user configuration files, why not linphone?
Sylvain Berfini
2016-02-04 07:56:30 UTC
Permalink
Hi,

You may be interested in the dev_vcard branch of linphone.
We introduced a vCard 4 parser and the CardDAV synchronization in the
library, and the GTK application can import/export vCard files.
Also the contacts are no longer stored in the .linphonerc file, but in a
SQLite database like the call history and the chat messages.
This branch should be merged in the master one in the coming weeks.

Cheers.

Sylvain Berfini
Post by J G Miller
At 13:29h, on Wednesday, February 03, 2016,
on the subject of "[Linphone-users] Import contacts to Linphone [Win]",
Mister X asked -
Post by Mister X
Do you know, guys, the way how can I import my contacts to Linphone for
Windows? There are dozens of them and it is very cumbersome to enter them
manually.
Well you know what the format of a contacts entry is, in the linphonerc file,
so the simple way to do it, since as far as I am aware that there is no facility
in the linphone GUI to import a list, is to write a program (a script in your
preferred scripting language) to append them to linphonerc.
This problem does however highlight the more significant general issue that
linphone should not be continually modifying its linphonerc configuration file.
Linphone should not be putting .linphonerc directly in the home directory but
should like all other well behaved and properly structure programs be putting
its files in the directory ${HOME}/.config/linphone and should have separate
files for contacts and call logs, different from the main configuration file
.linphonerc.
If the competing sflphone can respect the OpenDesktop .config hierarchy
for user configuration files, why not linphone?
_______________________________________________
Linphone-users mailing list
https://lists.nongnu.org/mailman/listinfo/linphone-users
Suncatcher_13
2016-02-04 10:36:45 UTC
Permalink
You inattentively read my post. In the title of my thread I explicitly
specidifed that I am using *Windows* version of linphone, so I need the
location of config-file (or contact file) in Windows, not in linux!



--
View this message in context: http://nongnu.13855.n7.nabble.com/Import-contacts-to-Linphone-Win-tp208171p208233.html
Sent from the linphone-users mailing list archive at Nabble.com.
J G Miller
2016-02-04 16:50:21 UTC
Permalink
At 08:56h, on Thursday, February 04, 2016,
in message <***@linphone.org>,
on the subject of "Re: [Linphone-users] Import contacts to Linphone [Win] -- the need for separate contacts and call log files to linphonerc", you wrote -
Post by Sylvain Berfini
Hi,
You may be interested in the dev_vcard branch of linphone.
We introduced a vCard 4 parser and the CardDAV synchronization in the
library, and the GTK application can import/export vCard files.
Also the contacts are no longer stored in the .linphonerc file, but in a
SQLite database like the call history and the chat messages.
This sounds like an excellent improvement.

But is there any chance of getting the very simple change of moving .linphonerc
and any related files (eg the Sqlite3 db file) to ${HOME}/.config/linphone sub-directory
rather than just ${HOME}?
Gautier Pelloux-Prayer
2016-02-05 08:31:38 UTC
Permalink
That would be great indeed, any patch is welcome!

Cheers,

Gautier Pelloux-Prayer
Post by J G Miller
At 08:56h, on Thursday, February 04, 2016,
on the subject of "Re: [Linphone-users] Import contacts to Linphone [Win] -- the need for separate contacts and call log files to linphonerc", you wrote -
Post by Sylvain Berfini
Hi,
You may be interested in the dev_vcard branch of linphone.
We introduced a vCard 4 parser and the CardDAV synchronization in the
library, and the GTK application can import/export vCard files.
Also the contacts are no longer stored in the .linphonerc file, but in a
SQLite database like the call history and the chat messages.
This sounds like an excellent improvement.
But is there any chance of getting the very simple change of moving .linphonerc
and any related files (eg the Sqlite3 db file) to ${HOME}/.config/linphone sub-directory
rather than just ${HOME}?
_______________________________________________
Linphone-users mailing list
https://lists.nongnu.org/mailman/listinfo/linphone-users
Loading...