forked from andig/carddav2fb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.php
103 lines (97 loc) · 3.03 KB
/
config.example.php
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
97
98
99
100
101
102
103
<?php
$config = [
// phonebook
'phonebook' => [
'id' => 0, // only "0" can store quickdial and vanity numbers
'name' => 'Telefonbuch',
'imagepath' => 'file:///var/InternerSpeicher/[YOURUSBSTICK]/FRITZ/fonpix/', // mandatory if you use the -i option
],
// or server
'server' => [
[
'url' => 'https://...',
'user' => '',
'password' => '',
'http' => [ // http client options are directly passed to Guzzle http client
// 'verify' => false, // uncomment to disable certificate check
// 'auth' => 'digest', // uncomment for digest auth
]
],
/* add as many as you need
[
'url' => 'https://...',
'user' => '',
'password' => '',
],
*/
],
// or fritzbox
'fritzbox' => [
'url' => 'http://fritz.box',
'user' => '',
'password' => '',
'fonpix' => '/[YOURUSBSTICK]/FRITZ/fonpix', // the storage on your usb stick for uploading images
'http' => [ // http client options are directly passed to Guzzle http client
// 'verify' => false, // uncomment to disable certificate check
],
'plainFTP' => false, // set true to use FTP instead of FTPS e.g. on Windows
],
'filters' => [
'include' => [
// if empty include all by default
],
'exclude' => [
'category' => [
'a', 'b'
],
'group' => [
'c', 'd'
],
],
],
'conversions' => [
'vip' => [
'category' => [
'vip1'
],
'group' => [
'PERS'
],
],
/**
* 'realName' conversions are processed consecutively. Order decides!
*/
'realName' => [
'{lastname}, {prefix} {nickname}',
'{lastname}, {prefix} {firstname}',
'{lastname}, {nickname}',
'{lastname}, {firstname}',
'{organization}',
'{fullname}'
],
/**
* 'phoneTypes':
* The order of the target values (first occurrence) determines the sorting of the telephone numbers
*/
'phoneTypes' => [
'WORK' => 'work',
'HOME' => 'home',
'CELL' => 'mobile',
'FAX' => 'fax_work' // NOTE: actual mapping is ignored but order counts, so fac is put last
],
'emailTypes' => [
'WORK' => 'work',
'HOME' => 'home'
],
/**
* 'phoneReplaceCharacters' conversions are processed consecutively. Order decides!
*/
'phoneReplaceCharacters' => [
'+49' => '', // router is usually operated in 'DE; '0049' could also be part of a phone number
'(' => '',
')' => '',
'/' => '',
'-' => ''
]
]
];