Skip to content

Instantly share code, notes, and snippets.

View fmateo05's full-sized avatar
🏠
Working from home

Felipe Mateo fmateo05

🏠
Working from home
View GitHub Profile
@fmateo05
fmateo05 / Kazoo-VoIP-PBX-Incus-Nextgen-Embedded.md
Last active May 26, 2024 05:23
Kazoo VoIP PBX Next-Gen Embedded Weekly Images

Welcome!!

This gist describes about using Kazoo Next-Gen Embedded Images. You can download and Flash (or clone) the image to your test on-premise or VPS server's storage disk and get system running in a matter of some minutes. This guide is provisional, in the mean time an script will be written for automate and ease this process

Download Link: https://kazoo-embedded-images.nyc3.cdn.digitaloceanspaces.com/kazoo-embedded-x64-build-2024-05-25.img.gz

  1. Download and Clone the image to the first hard disk, where sdX is your hard drive.

zcat kazoo-embedded-img.gz | dd of=/dev/sdX bs=1M .

@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 |