Potoo is a special bird that communicates with VoIP ecosystem and particularly well with Wazo.
The main objective of this project is to quickly (and perhaps badly) provide solutions to missing functionalities in a given ecosystem.
Its best documentation is its source code but some example of use could be found bellow.
apt install -y wazo-plugind-cli
- Edit the file
/etc/potoo/config.ini
with the networks allowed to access to the application, by filling thenetwork_whitelist
field. wazo-plugind-cli -c 'install git https://github.com/benasse/potoo'
By default the service is stopped, it has to be started with systemctl start potoo
. It will run for 4 hours and then automatically stop.
http://myhost:8001/queue?queue=myqueue
http://myhost:8001/queue_pretty?queue=myqueue # less information for less technical people
http://myhost:8001/queue
http://myhost:8001/originate/v1?dest_exten=1234&dest_context=my-dest-context&src_exten=777&src_context=my-src-context
http://myhost:8001/originate/v1?dest_exten=1234
http://myhost:8001/hello_ansible # lanch a example playbook
http://myhost:8001/hello_ansible_form # lanch a exampe playbook loading variable from a form
http://myhost:8001/update_system_info # form that permit to change system informations that are not availiable on admin interfaces
apt-get install python3-venv
git clone https://github.com/benasse/potoo.git
cd potoo
python3 -m venv potoo/venv
source potoo/venv/bin/activate
pip install -r requirements.txt
python app.py
wazo-plugind-cli -c 'uninstall sparrow/potoo'