No description
This repository has been archived on 2026-11-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 98.5%
  • Dockerfile 1.5%
Find a file
2022-02-21 11:57:24 +01:00
.gitignore Initial 2022-01-07 12:36:52 +01:00
.gitlab-ci.yml add arm64 and update buildx 2022-02-21 09:50:20 +01:00
carddav.py rewrite for mailcow 2022-02-09 15:57:05 +01:00
convert.py use "firstname lastname" as format for contacts 2022-02-09 16:15:30 +01:00
Dockerfile pull image through docker proxy 2022-02-21 11:57:24 +01:00
example-config.yaml rewrite for mailcow 2022-02-09 15:57:05 +01:00
main.py remove debug print 2022-02-09 16:14:45 +01:00
README.md rewrite for mailcow 2022-02-09 15:56:54 +01:00
requirements.txt install python dependencies using apk instead of pip 2022-02-17 19:53:40 +01:00
util.py Initial 2022-01-07 12:36:52 +01:00

carddav-to-yealink-remote-xml-addressbook

Convert CardDav contacts to Yealink xml, and serve it as remove phone book.

Simple server that can request vcf contacts from a carddav server such as Mailcow, and serve it as xml for usage with Yealink SIP phones.

On your server:

cp example-config.yaml config.yaml
nano config.yaml
python main.py

To enable the remote contacts, on your phone's web interface:

  • Directory / Remote Phone Book -> add URL, enable call lookup
  • Directory / Settings -> Move Remote Phone Book to enabled sections

Acknowledgements:

This project includes code found in following repos:

  • https://github.com/ljanyst/carddav-util
    License:
    Copyright (c) 2012 by Lukasz Janyst <ljanyst@buggybrain.net>
    
    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted, provided that the above
    copyright notice and this permission notice appear in all copies.
    
    THE SOFTWARE IS PROVIDED 'AS IS' AND THE AUTHOR DISCLAIMS ALL WARRANTIES
    WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
    ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
    ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
    OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    
  • https://gist.github.com/tsenger/ca4480235b5b29431965ee0b919ff6ad