[jitsi-users] Jitsi: exporting Skype SIP contacts to jitsi [solution]


#1

hi,

if your running "Skype out" and want to import your phonebook to Jitsi,
this is for you:

Preperations:

You need : PHP with SQLite3 support
Stop Jitsi

Example for Linux:

php skypetojitsi.php path_to_main.db SIPID SIPSERVERIP Groupname

typically for a fritz!box :

If "620@192.168.178.1" is your id from your sipaccount, 620 is the SIP
ID, and the ip is your serverip

php skypetojitsi.php ~/.Skype/skypeusername/ 620 192.168.178.1 Phonebook

/tmp/jitsi.xml

use an editor like gedit to open ~/.jitsi/contactlist.xml

Add the content of the php output to your "child-contacts" example

           <group name="Phonebook" uid="1450110895594310563919">
                <proto-groups>
                    <proto-group account-id="SIP:620@192.168.178.1" parent-proto-group-uid="RootGroup.uid" uid="Phonebook.uid"/>
                </proto-groups>
                <subgroups/>
                <child-contacts>
                       ----> *INSERT XML HERE* <----
                </child-contacts>
            </group>

Done. start Jitsi.

best regards,
Marius

skype2jitsi.php (1.5 KB)