Inside Out Blog
How you do anything is how you do everything
  • Home
  • Technology
  • Money
  • Photography & Videography
  • Projects

Popular Tags

FusionPBX FreeSWITCH Security Clustering Linux VoIP MariaDB SEO Personal Load Balancing PHP High Availability Joomla Darktable Fail2Ban Nagios Mageia RPM DNS PowerDNS

Looking for RPMs? Set up our RHEL repo.

rpm

Works on CentOS6/7/8 & Alma/Rocky 8/9
Sponsored by OKay Inc

  1. You are here:  
  2. Home
  3. Technology

PHP STUN Library and How to Open NAT Pinholes

Details
Category: Technology
  • PHP

STUN  is used in several different network implementations, one of which is VoIP. The most common use case for STUN is to discover clients' public IPs behind a NAT. It is also useful to punch a pinhole behind a NAT and let incoming UDP traffic come.

As a PHP coder, I needed to find a PHP library to handle the STUN easily. I found this class, I am just documenting it here for convenience.

Read more: PHP STUN Library and How to Open NAT Pinholes

Conver Time between Timezones in PHP

Details
Category: Technology
  • PHP

As I am stripping out specific PostgreSQL functions from CoolPBX, one of the things I found is using the field timestamptz. This kind of field saves a timestamp in ISO 8601 format, which stores the date, time stamp and timezone.

Sadly, SQLite and MySQL/MariaDB lack this.  But who needs this if we have Unix time.

Read more: Conver Time between Timezones in PHP

Hybrid High-Availability & Load-Balancing FusionPBX Cluster Overview

Details
Category: Technology
  • FreeSWITCH
  • FusionPBX
  • High Availability
  • Clustering
  • Load Balancing

One of the things I consider myself very good at is doing a lot with little, technologically speaking. As I was requested to deploy a new VoIP Custer, I thought this was the perfect opportunity to create an architecture that doesn't have the waste or resources the high-availability scheme has, yet doesn't have the issues or recovering for all endpoints the load-balancing scheme has. So I designed this architecture that doesn't have 50% of the resources doing nothing, while the recovery of the service is neater.

This is what I call a hybrid high-availability and load-balancing approach.

Read more: Hybrid High-Availability & Load-Balancing FusionPBX Cluster Overview

How to Install CasperJS

Details
Category: Technology
  • CasperJS

In my current work, my boss got a project about getting data from websites and posting it into a system. Sadly, one of those websites lacks an API, so we needed to figure out a way to get information from there. The short answer is scraping. To make this story short, after evaluating multiple projects, I think the best option is to use CasperJS.

Read more: How to Install CasperJS

How to Install FreeSWITCH on Rocky/Alma Linux 9 (RHEL 9)

Details
Category: Technology
  • FreeSWITCH
  • RPM

After some hours of work, I have finally published the last version of the RPMs for FreeSWITCH (1.10.11 at this time). If you are looking forward to having a vanilla installation on your RHEL 9-based distribution (CentOS, Alma, or Rocky), this is the way to go.

Read more: How to Install FreeSWITCH on Rocky/Alma Linux 9 (RHEL 9)

  1. How to Install ISPConfig3 on Rocky/Alma Linux 9 (RHEL 9)
  2. Enhance your SEO without getting punished by multiple Languages and repeated Contents
  3. Trimming Spaces with Bash
  4. Updating Server System Variables in MariaDB & MySQL without restarting the Deamon

Page 3 of 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

Latest Articles

  • Protecting your PBX against Passwords Leaks
  • Installing Unifi OS on Linux
  • Understanding the E.164
  • Basic Protection against Telemarketing and Unwanted Calls with FreeSWITCH
  • OpenID Authentication (OKTA implementation)

Do you need some FusionPBX free support? Join this FusionPBX/FreeSWITCH Support Channel.

telegram logo

To know the rules, read the pinned post

Copyright © 2026 Inside Out Blog. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.
  • Sitemap