Project

General

Profile

Phonebook exporters » History » Version 10

manawyrm, 05/02/2022 11:18 AM

1 1 manawyrm
h1. Phonebook exporters
2
3
@manawyrm offers several phonebook exporters for various systems.
4
The exporters are available here and can be extended for almost every system: https://github.com/Manawyrm/octoi-phonebook
5
6
This works by parsing the [[phonebook]] in this Redmine wiki, a debug view (to check how your entries are parsed) is available here: 
7
https://phonebook.tbspace.de/debug.php
8
9 7 manawyrm
{{toc}}
10 6 manawyrm
11 8 manawyrm
h2. Auerswald PBX reverse lookup
12 1 manawyrm
13
The Auerswald PBXes can do a HTTP lookup on every incoming call. This can be used to display names for each caller in the phone display.
14
To set this up, configure the "OCTOI phonebook" provider under "COMset" -> "Funktionen" -> "Online-Namenssuche" -> "Konfiguration".
15 2 manawyrm
Use the Aktion -> Importieren button to import the "octoi_auerswald.n2n":https://osmocom.org/attachments/5194 configuration file.
16
17 3 manawyrm
Edit the configuration afterwards and *edit the "localprefix" in the URL to your own OCTOI prefix* . 
18
This is used to lookup internal numbers (when the Auerswald asks for a 4 digit number, the lookup will append this local prefix to the start of the number before the lookup).
19
20
Example URL:
21
https://phonebook.tbspace.de/auerswald-lookup.php?phone=03065022131&localprefix=0306502
22
23
*(optionally)* You can also create the rules manually:
24 4 manawyrm
!auerswald_lookup.png!
25 3 manawyrm
26 4 manawyrm
!auerswald_lookup1.png!
27 3 manawyrm
28 4 manawyrm
!auerswald_lookup2.png!
29 3 manawyrm
30
31 2 manawyrm
This was developed and tested on a COMmander Basic.2, but might work on other PBXes from Auerswald.
32 1 manawyrm
33 8 manawyrm
h2. CardDAV
34 5 manawyrm
35
To use CardDAV, point any CardDAV-capable client to 
36
https://phonebook.tbspace.de/carddav.php/addressbooks/octoi/octoi
37
38
Any username/password are accepted, octoi/octoi is recommended.
39
40
!{width:20%}iphone1.png! !{width:20%}iphone2.png!
41
42
Tested with Thunderbird, Fritz!Box and iPhone as clients.
43
44 8 manawyrm
h2. Fritz!adr software
45 4 manawyrm
46 1 manawyrm
!fritzadr.png!
47 4 manawyrm
48
You can download a csv-dump for Fritz!adr here:
49 1 manawyrm
https://phonebook.tbspace.de/fritzaddr.php
50 4 manawyrm
51
If your setup requires a dialprefix (like a 0), add ?prefix=0:
52
https://phonebook.tbspace.de/fritzaddr.php?prefix=0
53 1 manawyrm
54 8 manawyrm
h2. Fritz!Box phonebook (old .xml export, OS 6)
55 5 manawyrm
56
+Modern Fritz!Boxes can use CardDAV. Refer to the CardDAV section.+
57 1 manawyrm
58 4 manawyrm
You can download a .xml-dump for your Fritz!Box here:
59
https://phonebook.tbspace.de/fritzbox.php
60
61
If your setup requires a dialprefix (like a 0), add ?prefix=0:
62
https://phonebook.tbspace.de/fritzbox.php?prefix=0
63
64
*Please be aware that importing this file wipes your existing phonebook!* 
65
You can create multiple phonebooks, so it is advised that you create a seperate "OCTOI" phonebook and start the import there.
66
67 9 manawyrm
h2. Snom XML
68
69
This was generated blindly from the specification, as there was no Snom phone available at the time.
70
If you test this, please report back to @manawyrm!
71
72
https://phonebook.tbspace.de/snom.php
73
74 10 manawyrm
h2. T-View 100 via RS232
75
76
With a serial cable according to https://osmocom.org/attachments/download/5202/stecker.pdf, you can update the phonebook
77
in your T-View 100.
78
79
https://phonebook.tbspace.de/tview100.php
80
will generate a .sh bash file, that will emit the required serial commands.
81
82
It requires xxd and stty to be present on your system. Was only tested on Linux so far.
83
Warning! This wipes your existing phonebook!
84
If the script misbehaves at any point, it's always safe to press Ctrl+C!
85
86
<pre><code class="shell">
87
wget --content-disposition "https://phonebook.tbspace.de/tview100.php"
88
bash octoi-tview100-2022-05-02.sh /dev/ttyUSB0
89
</code></pre>
90
91
Again, if your setup requires a dialprefix (like a 0), add &prefix=0.
92
93
"Video of the upload process":https://www.youtube.com/watch?v=jZI-pdKP0GU
94
95 8 manawyrm
h2. Windows XP address book
96 1 manawyrm
97 4 manawyrm
!windows-addressbuch.PNG!
98
99
The Windows addressbook can import .csv files for it's internal address book.
100
These .csv files are unfortunately localized (the column names are translated to the language of the Windows installation).
101 8 manawyrm
This was tested with Windows XP's address book only, but might work on other versions. If you give it a try, please update this.
102 4 manawyrm
103
Windows addressbook (compatible with english locale versions):
104
https://phonebook.tbspace.de/windows-addressbook.php
105
106
Windows addressbook (compatible with german locale versions):
107
https://phonebook.tbspace.de/windows-addressbook.php?lang=de
108
109
Again, if your setup requires a dialprefix (like a 0), add &prefix=0.
110
If your locale/language isn't supported yet, create a dummy entry in the address book and export it as .csv.
111
Either send the resulting file to @manawyrm or add the language and column headers yourself to "windows-addressbook.php":https://github.com/Manawyrm/octoi-phonebook/blob/main/windows-addressbook.php .
Add picture from clipboard (Maximum size: 48.8 MB)