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

Popular Tags

FusionPBX FreeSWITCH Security Clustering VoIP Linux 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

Enabling the Transcoding in FreeSWITCH 1.6 (and FusionPBX)

Details
Category: Technology
  • FusionPBX

Today I had a request to enable transcoding in one PBX. For those who are not familiar, transcoding allows different legs to use its codec. You can think of transcoding as a translating service. Each codec is a different language and FreeSWITCH works as a translator. Using transcoding is good if you have some endpoints with very little bandwidth (using a cheap codec such as 729, SILK or, GSM saves bandwidth). However, you must know that transcoding is CPU-hungry, this means, the more you transcode the more CPU will be requested, and this may backfire in some scenarios.

Read more: Enabling the Transcoding in FreeSWITCH 1.6 (and FusionPBX)

FusionPBX Application Anatomy Part 1

Details
Category: Technology
  • FusionPBX

FusionPBX is a WEB frontend for FreeSWITCH. It allows you to do many things almost out of the box (don't take it wrong, it still needs configuration but you save time). FusionPBX has an in-app architecture that allows it to add different functionalities. These in-app are usually in the Advanced menu.

I have already coded Billing for FusionPBX and RSVP for FusionPBX. I will share some of the know-how to do this. In this article, I will explain the anatomy of a basic in-app. This will help developers to do their applications.

Read more: FusionPBX Application Anatomy Part 1

Limiting to 50% of a CPU Core for Syncthing

Details
Category: Technology
  • Linux

Syncthing is a software that allows file synchronization. It is especially thorough for road warriors as it handles two endpoints behind a NAT through its relay server. However, if you are like me with more than 600 GB of data to have synced between your laptop and desktop, and you modify files frequently, you will find that syncthing needs a lot of CPU to work.

As I see it, syncing is a background task. I am not usually on both computers at the same time. So, as it is not a real-time critical task, it does not matter if files are not updated right away. I figured out a way to fix this issue. In short terms, the use of cpulimit. I have already written about how to limit the CPU use in general. I will explain how I did with syncthing, since in Mageia 6, syncthing is a service and systemd is used.

This approach can be used on any systemd service.

Read more: Limiting to 50% of a CPU Core for Syncthing

Limiting CPU Use in Linux

Details
Category: Technology
  • Linux

Usually running the nice command with the correct priority could be enough to put a process in a using cap. But, nice doesn't limit CPU use, it does only a prioritization of processes. This means the given process will run using all CPU's power if there is no other process (with higher niceness) requiring the CPU. This is not the best in some cases, I found the project Cpulimit which does put a CPU use cap based on the percentage.

Read more: Limiting CPU Use in Linux

Storing PHP Sessions into Memcache

Details
Category: Technology
  • PHP

Memcache has proven to be an excellent option not only for caching but sharing information. One of the best use case scenarios I can think of right away is with High Availability and Load Balancing. With HA and LB you don't have a certitude about what server is serving, sharing information with Memcache is the best way to have session information shared.

I will discuss here how to set it up using CentOS 6 and 7, this applies as well to new Alma/Rocky distributions. You might figure out the correct paths for your distribution.

Read more: Storing PHP Sessions into Memcache

  1. Trying to Decrease PDD in FusionPBX & FreeSWITCH
  2. Call Forward Bug in FusionPBX 4.2+
  3. MOS Monitoring on FusionPBX and Freeswitch with Nagios
  4. High Availability in the Cloud

Page 10 of 35

  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14

Latest Articles

  • Understanding the E.164
  • Basic Protection against Telemarketing and Unwanted Calls with FreeSWITCH
  • OpenID Authentication (OKTA implementation)
  • Support Me by Having Open This Page
  • Converting a Colourful Photo to Black & White with Darktable

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

telegram logo

To know the rules, read the pinned post

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