jens-maus / carddav2fb

:notebook: A command-line PHP script allowing to import CardDAV-based VCards (e.g. from 'owncloud') to a phonebook in a AVM FRITZ!Box
The Unlicense
28 stars 19 forks source link

Allow * and # in phone numbers and config option to disable image processing #40

Open holzhannes opened 6 years ago

holzhannes commented 6 years ago

Allow * and # in phone numbers

This commit will allow you to add and # characters to your phonebook via carddav2fb. Therefore it is possible to control the calling behaviour or save internal FB numbers to the phonebook as well. For example you now may control through which account you like to dial a number by adding an extra phone entry for the contact `121#0049123456, If you call it it the call will be handeled through the first VOIP account in your FRITZ!Box or you may add*31#` as prefix for some numbers to call them without sending your caller id.

config option to disable image processing

Just inserted a config option to disable the image processing and FTP-Upload. Only three If cases where needed where the config value has to be checked. Important lines in carddav2fb.php are only: 115, 582, 704 and 801 other changes are just line indents.