Simple PHP application to manage your Yealink Remote phone book.
Check out the post about the release on our blog!
- Download the latest release of YealinkPhoneBookManager
- Unpack archive file under your web directory
- Modify .htaccess to allow access to your phone book manager - as described in a .htaccess password protection
Under your host directory clone this Git repository.
-
In project folder execute commands:
curl -sS https://getcomposer.org/installer | php php composer.phar install
-
Copy
app/properties.json.dist
toapp/properties.json
-
In
app/properties.json
you can set default path and file name of your phone book -
Set the server's document root to the web/ folder
Location of the configuration file depends on the way of the installation:
- From a release file -
index.php
- Composer -
app/properties.json
In that files you will find configuration properties:
directory
- default directory of the phone book XML filesdefaultFileName
- name of the default file, which manager will use as a primary phone book
It's possible to configure a .htaccess file to ensure Basic access authentication protection. All you have to do is to uncomment last comment block in the .htaccess file, and set the right path of your .htpasswd file.
AuthUserFile /path/to/your/directory/.htpasswd
Yealink phones still can't get access through basic auth, so to allow them to read your phone book files, you must edit line:
Allow from 127.0.0.1
where 127.0.0.1 has to be your phone IP address.
In the same directory as your orginal phonebook file is, the script will create backup files of your phonebook when clicking on the "Create Backup" button.
Copyright 2014 IMAGIN Sp. z o.o. Octivi - www.octivi.com