forked from jens-maus/carddav2fb
-
Notifications
You must be signed in to change notification settings - Fork 19
/
config.example.php
112 lines (106 loc) · 3.75 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
104
105
106
107
108
109
110
111
112
<?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 (is considered with the run and download command)
'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
],
// 'method' => 'PROPFIND'; // uncomment if 'REPORT' (default) causes an error (e.g. t-online)
],
/* 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
'fritzfons' => [ // uncomment to upload quickdial image as background to designated FRITZ!Fon
// '613', // internal number must be in the range '610' to '615' (maximum of DECT devices)
],
'quickdial_alias' => false, // if true, than vanity names ("JON") become quickdial aliases ("Jon") in the background image
'http' => [ // http client options are directly passed to Guzzle http client
// 'verify' => false, // uncomment to disable certificate check
],
'ftp' => [
'plain' => false, // set true to use FTP instead of FTPS e.g. on Windows
'disabled' => false, // set true if your FRITZ!Box does not support ftp - e.g. 7412
],
],
'filters' => [
'include' => [ // if empty include all by default
/*
'categories' => [],
'groups' => [],
*/
],
'exclude' => [
/*
'categories' => [],
'groups' => [],
*/
],
],
'conversions' => [
'vip' => [
'categories' => [
'VIP'
],
'groups' => [
'PERS'
],
],
/**
* 'realName' conversions are processed consecutively. Order decides!
*/
'realName' => [
'{lastname}, {prefix} {nickname}',
'{lastname}, {prefix} {firstname}',
'{lastname}, {nickname}',
'{lastname}, {firstname}',
'{org}',
'{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 fax is put last
],
'emailTypes' => [
'WORK' => 'work',
'HOME' => 'home'
],
/**
* 'phoneReplaceCharacters' conversions are processed length descending!
*/
'phoneReplaceCharacters' => [
'+49' => '', // router is usually operated in 'DE; '0049' could also be part of a phone number
'(' => '',
')' => '',
'/' => '',
'-' => ''
]
]
];