- Details
- Category: Technology
I used to do this in a project called friendsmap.biz (this project shows you a Google Map with your Facebook friends). By now, the page is broken (Facebook updated its API, and I haven't had time to update the project). Yesterday I had a long discussion with my boss about the need to take a snapshot of a dynamic element (let's call it a graph or a map, anything that is dynamically created on the user end with javascript). To make this possible, I found the html2canvas project. Here is what I did.
Read more: How to Take a Snapshot (Screen Capture) of an HTML5 Container with JavaScript
- Details
- Category: Technology
FusionPBX has a way to allow authentication with a key. This way you can log into your WEB console with a GET parameter. Something like this:
http://YOUR_IP/fusionpbx/app/xml_cdr/xml_cdr.php?key=YOUR_KEY
- Details
- Category: Technology
So one of my customers is creating a calling card service to call abroad. Without entering many details, the big challenge here is setting a variable after leg B has been answered. It took me a while to figure out how; I can tell you now that exporting variables locally or non-locally (nolocal:) doesn't work. But then, I found the right way.
Read more: How to Make FreeSWITCH Set a Variable after the Bridge
- Details
- Category: Technology
I currently have an ISPConfig3 cluster running on different VPS'es for my company. ISPConfig3 is very nice, I can handle within the same interface the websites, databases, accounts and mail. My cluster runs perfectly, however when I start having a lot of hits because of visitors to my web pages or because of SPAM the daemons start forking and as a consequence, the operative system swaps and all go slow.
I was then looking for a solution that didn't involve adding more resources to the servers. After analyzing how ISPConfig 3 deploys the daemons in my Linux CentOS 7, I figured out that taking out amavisd, clamd and postgrey will help a lot.
Why these two daemons? Well, there are two big reasons. The first one is because email anti-spam and the greylist filtering service are a common task; there is no need to have multiple daemons doing the same. The second and most important is that they are in Perl, and according to my readings, Perl has a huge footprint. I don't have the document, but I remember I read somewhere each Perl process uses 16BM of RAM. So, moving out these two daemons, I potentially will free at least 64 MB in each server. I am not sure how much RAM clamd uses.
So, I will describe what I have done.
Read more: Offloading my ISPConfig: Placing an External Amavisd & Postgrey
- Details
- Category: Technology
Twilio is one complete VoIP carrier these days. Among its SMS capabilities, it provides sip trunks as well. The good or bad thing about Twilio is that its SIP trunk only works with SSL/TLS. This will help you to warrant your confidentiality but it needs more work from you to make it work. I will talk about how I did it.
Read more: Configuring Twilio to Work with FusionPBX and FreeSWITCH

