Creating Custom OCF Resource Agents

A Simple Guide for Creating OCF Resource Agents with Pacemaker and Corosync HA Clustering Explained For those not familiar with High Availability resources & services or Cluster Computing, in this section we will go over a brief summary and explanation of OCF RA’s before we dive in to creating our own. In cluster networking multiple … Read more

Enabling Secure WebSockets: FreePBX 12 and sipML5

Assumptions: Using chan_sip Using Chrome as your WebRTC client Asterisk 11.x Using FreePBX 12.0.x CentOS 6.x Download sipML 5 sipML is the WebRTC Client that we are going to use. We need to download the repository yum install git cd /var/www/html/ git clone https://github.com/DoubangoTelecom/sipml5.git chown -R asterisk:asterisk sipml5/ Enable SSL on Built-in HTTP Server of … Read more

Site-to-Site VPN Options Using AWS

We recently worked with a customer that had a requirement that their application needed to connect via Site-to-Site VPN to there clients application.  They had a few choices, but they decided to move there application to Amazon Web Services  (AWS) and connect to there clients datacenter from there.  Therefore we setup a Virtual Private Cloud … Read more

Setting up FreeSWITCH WebRTC functionality

This tutorial will go over how to setup WebRTC on FreeSWITCH using a certificate from letsencrypt. WebRTC is a protocol which allows voip calls to be conducted over a web browser without additional plugins or software. This tutorial will assume you are Debian 8, which is the recommended OS for production FreeSWTICH servers. FreeSWITCH WebRTC … Read more

Configuring FreePBX and Aastra Phones

This quick article explains how to configure Aastra phones to register with FreePBX 13.x as an extension. In order to manually provision phones you need the following basic information: Server IP Server Port (the default is 5060) Extension Secret (the password for the phone) In our example, lets assume the following internal network info for … Read more

Scripting one time ssh access to allow for Google Authenticator setup

In our previous article we setup google-authenticator for authenticating openssh. Now, we need a way for users to be able to login once before setting up google-authenticator. Here is a script for checking if a user has not logged in and ran google-authentication yet, runs google-authenticator, then prevents that user from logging in again without … Read more

Setting up Google Authentication for SSH Multi-Factor Auth

Install google-authenticator In this tutorial we will go over how to setup two factor authentication for SSH using google-authenticator on CentOS 6. First thing we need to do is install the google-authenticator package using yum. yum install google-authenticator Next, run google-authenticator to genereate a key. google-authenticator https://www.google.com/chart?chs=200×200&chld=M|0&cht=qr&chl=otpauth://totp/nschoonover@ldap.dopensource.com%3Fsecret%3D3FO6WYXPZUMTEWUB Your new secret key is: 3FO6WYXPZUMTEWUB Your verification … Read more

Backing up a Linux Server with Jungle Disk

Installing Jungledisk If you are installing the Jungle Disk agent to a server via command line, you will need to use wget or another cli http client to download the installer. We are installing Jungle Disk to a CentOS 6 server, but there are also packages for Debian based systems, and a tar file with … Read more

Multi-Tenant Configuration in FreeSWITCH

In this article we will be going over the basics of setting up a multi-tennant environment in FreeSWITCH Directory We will need to create a new directory for our second tennant. The default configuration is a good place to start from, so copy over the default.xml file and the default directory to the domain name … Read more

IP Address of XenServer VM’s Using the Command Line

Issue: Needed to get the IP address of a VM running on my XenServer. Resolution: Execute this command xe vm-list params=name-label,networks | grep -v “^$” The command yielded me a list of the VM’s with the ip address. name-label ( RW) : DevStackOSDomU networks (MRO): 2/ip: 172.24.4.10; 1/ip: 10.255.255.255; 0/ip: 10.10.10.187 name-label ( RW) : … Read more