Skip to content
README.md 1.56 KiB
Newer Older
# wazo-provd-plugins
Alexandre Fournier's avatar
Alexandre Fournier committed

`wazo-provd-plugins` is the complete collection of phone provisioning plugins available for Wazo.
Alexandre Fournier's avatar
Alexandre Fournier committed

## Plugin information files

The plugin information files (`plugin-info`) contain metadata about plugins in JSON format.
They include the supported phone models, firmware versions and features.

Francois Blackburn's avatar
Francois Blackburn committed
Valid keys are described as follows:
Alexandre Fournier's avatar
Alexandre Fournier committed

* `lines` (integer): the number of lines
* `high_availability` (boolean): high availability support
* `function_keys` (integer): maximum number of function keys
* `expansion_modules` (integer): maximum number of expansion modules
* `switchboard` (boolean): switchboard support
* `protocol` (string): the protocol used by the phones, usually `sip` or `sccp`
Alexandre Fournier's avatar
Alexandre Fournier committed

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.

## Firmware management

Alexandre Fournier's avatar
Alexandre Fournier committed
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.

## Add a new firmware brand

Alexandre Fournier's avatar
Alexandre Fournier committed
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`.

## Download all firmwares

If you wish to download all firmwares present on the web server, you can execute
`make download-firmwares`