Mikrotik Voltage Alarm/Beeper
I recently needed to make my routerboard generate an audible alarm based on voltage thresholds on the 12v battery wired directly to the RB2011. This script was a modification of…
Engineer by Day, Hacker by Night.
I recently needed to make my routerboard generate an audible alarm based on voltage thresholds on the 12v battery wired directly to the RB2011. This script was a modification of…
While working on another project, (Callcenter suite) – i built a relatively lightweight Asterisk 16 image which was being used as the base image for a series of ARI tests.…
Introduction Experimenting with Puppet & Chocolatey on Windows. Little snippet to install Google Drive Stream. class windows::google_drive_stream { Package { provider => 'chocolatey' } package { 'google-drive-file-stream': ensure => installed,…
Recently, I had need of setting up a postfix “smtp router” to distribute mail from various users among a cluster of outbound relays (on unique exit IP’s, with difference QoS…
The following Perl script gets the size of the Postfix Active queue and outputs it. (Used for queue monitoring on our NMS via SSH sensors, but might be useful in…
I’m a big Proxmox fan, having deployed more than 20 systems both at customers and on my home lab this year without drama. However, the Proxmox LVM structure bugs the heck out of me.…
Recently, i had to troubleshoot an Asterisk to Asterisk trunk which was running across a site to site IPSec VPN. (Fortinet to Cisco) After running tcpdump “port 5060 and proto…
This short & simple dial-plan removes the 3 digit country code from incoming calls and then pushes it to our FPBX IVR. nano /etc/asterisk/extensions_custom.conf After opening the above ^, modify…
After deploying a few PBX’s, you get bored of manually generating the required XML for remote phonebooks on Yealink Handsets. Here’s the first version of the phonebook.xml creation script. (Works on FPBX…
This snippet works with Letsencrypt Wildcard certificates! Specify -d *.domain.com to install the certificate when using certbot. Insert into server block. Change domain.com to correct domain. server_name ~^(?<subdomain>.+)\.domain\.com$; root /var/www/html/domain,com/$subdomain/htdocs;