- Details
- Category: Technology
FusionPBX is a web frontend for the FreeSWITCH (the best VoIP switch in my opinion). By default, FusionPBX hard links a username to its domain. This means user1 in the domain something.inside-out.xyz with password 123 is different and isolated to user1 in the domain else.inside-out.xyz with password 123. But this default behaviour is not always what we want in our PBX.
FusionPBX allows you to have a unique login. This is not a surprise, almost every website has moved to this by using email as the login. FusionPBX is not the exception. But it is turned off by default in 4.2. If you turn this on, you will be able to use your unique login (for example the email, as it is supposed that there is only one full address) to get into FusionPBX. This is very handy, you will save money by only purchasing a simple SSL certificate instead of a wildcard one, and you can have somehow an independent server for the FusionPBX page. Just some ideas.
Read more: If You are using FusionPBX Unique Login, You should read this
- Details
- Category: Technology
HAProxy is as its name says, a proxy that aims high availability. It can be used not only to proxy the HTTP (Layer 7) but to proxy TCP (Layer 4). Among the many things HAProxy has, it is possible to access its management page to do active monitoring. I will talk about how to set up a simple Nagios monitoring.
- Details
- Category: Technology
This weekend I learned something new while coding in PHP. Not really a fan of PHP, but it has a lot of libraries I need that make coding faster. Later when this project is finished, I might recode it in C/C++ without a rush. By the way, I am coding a cryptocurrency trader if you wonder what I am doing these days.
I found myself in need of doing overcharge of PHP constructor classes. If you are new to PHP coding, overcharge is the capability that some languages have to define the same function with different parameters.
For example, you could call a function like this:
my_function(param1, param2, param3);
and
my_function();
PHP allows overcharging by doing optional parameters. Other languages like C/C++ do it in a very different way, in my opinion, more classy than PHP.
- Details
- Category: Technology
Lately, I have had many doubts from people trying to understand the logic behind time conditions. So, I will try in this article to explain it. Let us start with some basic ideas: a) FusionPBX is only a frontend of FreeSWITCH, do not forget this, as all the dial plan magic happens inside FreeSWITCH; b) as for FreeSWITCH eyes', the concept of time condition does not exist, it is just another dial plan with some condition based on the time.
With all this said, I will start by explaining.
- Details
- Category: Technology
It seems that the FILTER() clause was introduced in the SQL 2003 revision. The FILTER clause allows you to have better control when doing statistics functions in SLQL such as COUNT(), MAX(), MIN(), SUM() and others. Sadly, so far only Postgresql has implemented it. According to my readings on the net, other big players such as MySQL, MariaDB, Oracle, Microsoft SQL, and SQLite (and maybe others) do not support it. Lucky us, there is a way to translate those queries.

