Skip to content

Instantly share code, notes, and snippets.

View fmateo05's full-sized avatar

Felipe Mateo fmateo05

View GitHub Profile
@fmateo05
fmateo05 / kazoo-fusionpbx.md
Last active January 21, 2026 21:28
Kazoo Provisioner

Kazoo Provisioner with FusionPBX Backend.

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

Steps:

  1. Install a fusionpbx normally on different instance or VPS
  2. 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.
@fmateo05
fmateo05 / kazoo-prov-otf-fusionpbx
Last active January 15, 2026 11:19
Kazoo working with provisioner, open source
https://www.youtube.com/watch?v=pTiIplK0CTE&pp=ygUUa2F6b28gdm9pcCBmdXNpb25wYng%3D
Github link: https://github.com/fmateo05/provisioner/
@fmateo05
fmateo05 / Kazoo-VoIP-OVN-Incus-Containers.md
Last active May 2, 2024 08:10
Kazoo VoIP Install with OVN and Incus Containers

Kazoo 2-zone cluster using Incus Containers; Open Virtual Network (OVN); Nebula Updated

This guide described how to install Kazoo with Incus containers and some other components like OVN networking and Nebula, etc.

  • Create 4 instances on Digital ocean; 2 on one datacenter (zone 100 ie. San Francisco) and the other 2 on another datacenter (zone 200 ie. New York).

The idea is like 2 instances per zone or datacenter as desired; if you later would like to create another zone. The main Linux distribution is Rocky Linux 9

  • Login to each server using ssh with private key
@fmateo05
fmateo05 / KazooVoIPLinuxContainerrs-update.md
Last active March 7, 2024 21:05
Kazoo 2-zone cluster install with linux containers (Incus)

Kazoo 2-zone cluster using Incus Containers; Open Virtual Network (OVN); Nebula Updated

This guide described how to install Kazoo with Incus containers and some other components like OVN networking and Nebula, etc.

  • Create 4 instances on Digital ocean; 2 on one datacenter (zone 100 ie. San Francisco) and the other 2 on another datacenter (zone 200 ie. New York).

The idea is like 2 instances per zone or datacenter as desired; if you later would like to create another zone. The main Linux distribution is Rocky Linux 9

  • Login to each server using ssh with private key
2-zone 4 servers install
Host OS Linux distribution: Almalinux 9
Server1 and Server3: CouchDB, Kamailio, Rabbitmq, Kazoo, Haproxy
Server2 and Server4: CouchDB, FreeSWITCH.
Each one of the services will be run inside its Linux container, previously launched in their respective server as described above.
Nebula nodes/lighthouse will be interconnecting the main nodes for manage internal LAN and DNS.
@fmateo05
fmateo05 / KazooVoIPLinuxContainerrs.txt
Last active May 18, 2023 04:07
Running kazoo on Linux Containers
+--------------+---------+----------------------+------+-----------+-----------+----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | LOCATION |
+--------------+---------+----------------------+------+-----------+-----------+----------+
| couch1 | RUNNING | 10.112.75.12 (eth0) | | CONTAINER | 1 | server1 |
+--------------+---------+----------------------+------+-----------+-----------+----------+
| couch2 | RUNNING | 10.112.75.13 (eth0) | | CONTAINER | 0 | server2 |
+--------------+---------+----------------------+------+-----------+-----------+----------+
| couch3 | RUNNING | 10.112.75.141 (eth0) | | CONTAINER | 0 | server3 |
+--------------+---------+----------------------+------+-----------+-----------+----------+
| couch3-old | STOPPED | | | CONTAINER | 0 | server3 |