Crates.io | yealink-phonebook |
lib.rs | yealink-phonebook |
version | 0.1.1 |
source | src |
created_at | 2022-06-01 10:55:24.183745 |
updated_at | 2022-06-01 14:10:46.820261 |
description | A simple vCard to Yealink Remote Phonebook server |
homepage | https://github.com/tylerjwatson/yealink-phonebook |
repository | https://github.com/tylerjwatson/yealink-phonebook |
max_upload_size | |
id | 598130 |
size | 57,783 |
Yealink Phonebook is a small server that will download a .vcf (vCard) file and convert the contacts in it to a format that is compatible with Yealink Remote Phonebook on-the-fly.
The contacts in the specified vCard will then appear in the Remote Phonebook on the device.
It is useful, for example, to keep your your office phones in sync with your Nextcloud contact list.
Yealink Phonebook has been tested and working with SIP-T46G VoIP phones, and Nextcloud 24.0.1.
cargo install yealink-phonebook
Yealink Phonebook is a Rocket application, and if you are familiar with how to configure Rocket applications you are free to configure it how you wish, including Rocket.toml and other methods.
For those who arenn't familiar with how to configure Rocket applications, run Yealink Phonebook with environment variables:
ROCKET_VCF_URL=https://my-cloud/dav/addressbooks/users/$USER/contacts?export # REQUIRED, specifies the location of the vCard file
ROCKET_PORT=80 # Specifies the port the application will run on, 8000 default
ROCKET_LOG_LEVEL=normal
ROCKET_ADDRESS=0.0.0.0 # Bind on all interfaces
ROCKET_VCF_URL=http://my-server/contacts.vcf yealink-phonebook
version: "3"
services:
phonebook:
build: .
ports:
- 8000:80
environment:
- ROCKET_VCF_URL=http://url
- ROCKET_PORT=80
- ROCKET_LOG_LEVEL=normal
- ROCKET_ADDRESS=0.0.0.0
restart: unless-stopped