wazo-provd-plugins
is the complete collection of phone provisioning plugins available for Wazo.
The plugins in the master
branch for the latest release are Python 3 only and are published to the new repository URL.
The old versions of the plugins compatible with Python 2 are location in the branch python2
.
The plugin information files (plugin-info
) contain metadata about plugins in JSON format.
They include the supported phone models, firmware versions and features.
Valid keys are described as follows:
lines
(integer): the number of lineshigh_availability
(boolean): high availability supportfunction_keys
(integer): maximum number of function keysexpansion_modules
(integer): maximum number of expansion modulesswitchboard
(boolean): switchboard supportprotocol
(string): the protocol used by the phones, usuallysip
orsccp
type
(string): the device type. Can be eitherdeskphone
,dect
,conference
,pager
,ata
,softphone
,doorphone
,generic
orgateway
multicell
(boolean): DECT multicell support. Only defined whentype
isdect
.
A key that is not present in a plugin-info
file means that this information is unknown. This
situation is possible when a new key is added and only some plugins support it, or when it was not
possible to test it.
A file named install.md
can be present at the root of a plugin. If present, it is important to
read prior to installation, as it can provide some information on what to do to get it running.
A file named limitations.md
can be present at the root of a plugin. If present, it can be useful
to read if you want to know what is not supported or what is not completely supported by the plugin
or the phone.
If you wish to host firmwares for specific phones, go to the plugins/_firmwares
directory.
Find the subdirectory specific to the brand (i.e yealink
) then put the firmware files into it.
You can then execute make upload-firmwares
to upload them to the web server.
Create a new subdirectory named after the brand in plugins/_firmwares
and put an empty file
named .brand
in it. Commit it to the git repository. Then, add the firmware files and execute
make upload-firmwares
.
If you wish to download all firmwares present on the web server, you can execute
make download-firmwares
wazo-test-plugins is mainly used by wazo-provd integration tests. To build it,
we can execute
make build-tests