Saturday, 31 December 2016

Case Study – Network Upgrade and Tidy

We recently completed a network upgrade and tidy for a training company in South London.

The problem points:

Poor performance of the internet router – often crashed
Poor wireless signal
No VPN access, or unstable VPN access
Messy network cabinet, making diagnosis of faults difficult.   Click here for more details..

Contact Details:
Jaytag Computer Limited
Maddison House, 226 High Street
Croydon, Surrey, CR9 1DF
Phone: 08007879258
Web: https://www.jaytag.co.uk/

Friday, 23 December 2016

Monitoring Asterisk With Observium

On the Asterisk server, ensure xinetd is installed

yum -y install xinetd
service xinetd start

Create an Observium agent for xinetd

nano /etc/xinetd.d/observium_agent   Click here for more details..

Contact Details:
Jaytag Computer Limited
Maddison House, 226 High Street
Croydon, Surrey, CR9 1DF
Phone: 08007879258
Web: https://www.jaytag.co.uk/

Tuesday, 20 December 2016

FreePBX – convert WAV call recordings to MP3 v2

An updated version of our script to bulk convert wav call recordings to mp3 as mentioned here.

This version may be redistributed freely, as long as the copyright message remains.

#!/bin/bash
# A Script to Convert FreePBX call recordings from WAV to MP3
# Also updates the CDR database, for correct downloads through the web UI
# Version 2 – 2016/04/15
# Changelog
# v2 – Skip broken files (but show an error message)
# v1 – Initial version Click here for more details...

Contact Details:
Jaytag Computer Limited
Maddison House, 226 High Street
Croydon, Surrey, CR9 1DF
Phone: 08007879258
Web: https://www.jaytag.co.uk/

Sunday, 18 December 2016

Script to add swap file to CentOS

A quick copy/paste to enable a 4GB swap file on Centos 6/7:

sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
echo “/swapfile swap swap sw 0 0” >> /etc/fstab Click here for more details..

Contact Details:
Jaytag Computer Limited
Maddison House, 226 High Street
Croydon, Surrey, CR9 1DF
Phone: 08007879258
Web: https://www.jaytag.co.uk/

Thursday, 15 December 2016

Automatically Delete Call Recordings in FreePBX

A simple script to delete call recordings. Note that this has been designed to work hand-in-hand with our other script, that coverts the recordings to MP3 to save space: FreePBX – convert WAV call recordings to MP3

You can easily modify the script to delete call recordings that are in WAV format, or for different periods of time, by altering the “*.mp3” to “*.wav” and by modifying the +365 to +30 +60 +90 etc. Click here for more details..

Contact Details:
Jaytag Computer Limited
Maddison House, 226 High Street
Croydon, Surrey, CR9 1DF
Phone: 08007879258
Web: https://www.jaytag.co.uk/