-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
96 lines (80 loc) · 4.86 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
————————— installation guide ———————————————————————————————————————————————————
$ git clone git://github.com/Farom/kfffeed.git
Initialized empty Git repository in /home/blaessig/work/cpp/bar/.git/
$ cd bar/
$ cd src/build/
$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
[…]
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/blaessig/work/cpp/bar/src/build
$ make
Scanning dependencies of target kfffeed_automoc
[ 0%] Built target kfffeed_automoc
Scanning dependencies of target kfffeed
[ 16%] Building CXX object CMakeFiles/kfffeed.dir/kfffeed_automoc.o
[ 33%] Building CXX object CMakeFiles/kfffeed.dir/main.o
[ 50%] Building CXX object CMakeFiles/kfffeed.dir/fritzboxphonenumber.o
[ 66%] Building CXX object CMakeFiles/kfffeed.dir/fritzboxphonebookcontact.o
[ 83%] Building CXX object CMakeFiles/kfffeed.dir/fritzboxphonebook.o
/home/blaessig/work/cpp/bar/src/fritzboxphonebook.cpp:56: warning: unused parameter ‘fileName’
[100%] Building CXX object CMakeFiles/kfffeed.dir/qphonenumberstring.o
Linking CXX executable kfffeed
[100%] Built target kfffeed
$ sudo make install
[ 0%] Built target kfffeed_automoc
[100%] Built target kfffeed
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/bin/kfffeed
-- Set runtime path of "/usr/local/bin/kfffeed" to "/usr/local/lib"
-- Installing: /usr/local/share/man/kfffeed.1
-- Installing: /usr/local/share/kfffeed/netnumbers.xml
And if you want to get rid of kfffeed:
$ sudo make uninstall
-- Uninstalling "/usr/local/bin/kfffeed"
-- Uninstalling "/usr/local/share/man/kfffeed.1"
-- Uninstalling "/usr/local/share/kfffeed/netnumbers.xml"
————————— use the program ——————————————————————————————————————————————————————
Read the manpage carefully … took a lot of time to write. All documentation but
manpage is old and wrong. If you do not understand something on it, my english is
bad, send me a note.
$ man doc/kfffeed.1
Execute the program first time and write the config.
$ src/build/kfffeed -cc 49 -ac 30 -nn /home/user/src/kfffeed/data/netnumbers.xml -pn "Jons Phonebook" -o export.xml -w
kfffeed(27462) Environment::print: OutputFile : "export.xml"
kfffeed(27462) Environment::print: NetNumbersFile : "/home/user/src/kfffeed/data/netnumbers.xml"
kfffeed(27462) Environment::print: CountryCode : "49"
kfffeed(27462) Environment::print: AreaCode : "30"
kfffeed(27462) Environment::print: PhonebookName : "Jons Phonebook"
kfffeed(27526) main: Config is valid. Export could be probably created.
$ src/build/kfffeed
kfffeed(28130) FritzBoxPhoneBook::FritzBoxPhoneBook: FBPhoneBook created
kfffeed(28130) QPhoneNumberString::staticInitialize: Initialize PhoneNetTree
kfffeed(28130) QPhoneNumberString::recognizeNumber: This countryCode was not found in XML-Database : "+48123456789"
kfffeed(28130) QPhoneNumberString::recognizeNumber: The AreaCode for this number was not found "18500196600" "018 500 19-6600"
kfffeed(28130) FritzBoxPhoneBook::exportFile: Wrote XML exportfile for 208 Contacts to "export.xml"
This file you can import to the webinterface of FritzBox 7270
• open “http://fritz.box/” in a browser.
• login if you have secured your box with a password
• klick on “Telefonbuch”
• klick on “Wiederherstellen”
• klick on “Browse” and search the file “KAddressbook-Fritz-Box-Addressbook.xml”
• klick on “Telefonbuch wiederherstellen”
• now you have all your contacts on your Dect-Phone
————————————————————————————————————————————————————————————————————————————————
Problems (vers 0.1)
• You will get a lot of errors of type:
kfffeed(5576) QPhoneNumberString::recognizeNumber: This countryCode was not found in XML-Database : "0901232455677"
It says that it did not found the netnumbers.xml.
use parameter -nn (--netnumbers-file) see manpage for this.
eg:
kfffeed -cc 49 -ac 30 --nn /home/user/src/kfffeed/data/netnumbers.xml
Problems (vers 0.3)
• VoIP-numbers only works on the first (default) phonebook.
On all other cases, the VoIP numbers are thrown away during import.