With this script you connect a kazoo webhook to it and then will get connected to couchdb and parse variables with postgresql queries to be executed on fusionpbx's environment.
Note that you should configure fusionpbx with provisioner settings enabled and visualize the phones JSON on SmartPBX
- Install a fusionpbx normally on different instance or VPS
- Setup a Webserver with NGINX with SSL Certificates, PHP and Postgresql; then, import the provisioner-db.sql with proper user credentials (ie. provisioner), the schema is called 'provisioner', also install python3, postgresql client and curl and some of the php libraries.