<?php
$config = [
// phonebook
'phonebook' => [
'id' => 0,
'name' => 'Telefonbuch'
],
// or server
'server' => [
[
'url' => 'https:/.../nextcloud/remote.php/dav/addressbooks/users/christoph/familie/',
'user' => 'xxxxx',
'password' => 'xxxxxxxxxxxxxxxxxx',
// 'authentication' => 'digest' // uncomment for digest auth
],
/* add as many as you need
[
'url' => 'https://...',
'user' => '',
'password' => '',
],
*/
],
// or fritzbox
'fritzbox' => [
'url' => 'http://fritz.box',
'user' => 'xxxx',
'password' => 'xxxxxxxxxxxxxxx',
],
'filters' => [
'include' => [
'categories' => [
'Fritzbox'
],
'group' => [
'Fritzbox'
],
// if empty include all by default
],
'exclude' => [
'category' => [
'a', 'b'
],
'group' => [
'c', 'd'
],
],
],
'conversions' => [
'vip' => [
'category' => [
'VIP'
],
'group' => [
''
],
],
'realName' => [
'{lastname}, {prefix} {nickname}',
'{lastname}, {prefix} {firstname}',
'{lastname}, {nickname}',
'{lastname}, {firstname}',
'{organization}',
'{fullname}'
],
'phoneTypes' => [
'WORK' => 'work',
'HOME' => 'home',
'CELL' => 'mobile'
],
'emailTypes' => [
'WORK' => 'work',
'HOME' => 'home'
],
'phoneReplaceCharacters' => [
'+49' => '0', //Router steht default in DE; '0049' könnte auch Teil einer Rufnummer sein
'0049' => '0',
'(' => '',
')' => '',
'/' => '',
'-' => ' '
]
]
];