Virtaulenv configuration

Introduction

It creates a virtual environment to isolate the working copy of the python which allow us to work on the specific project without affecting the system other projects. It helps in working on different version of the packages without affecting the other version. For example you can work on the python2.6 with isolated enviroment with python2.7 on your OS.

Version The latest version of the virtualenv 1.11.6 release on 16 May 14

Continue Reading…

Creating new user in FREESWITCH

If you successfully install the FREESWITCH. In this post I will explain how to create the new user or modify the existing user.

Step 1. Locate the conf directory inside the freeswitch installed directory.
Step 2. change directory to default/

 # cd conf/directory/default

This directory contain xml file related to default user extension to be used.
Step 3. To create a new user cp any of the file and name it with your desired extension.

Continue Reading…

Freeswitch installation on ubuntu 10.04

Freeswitch is open source telephony platform for audio,video and messaging system. In this post I will install freeswitch version 1.5.1b on ubuntu 10.04.

Install required libraries
# apt-get install git-core build-essential autoconf automake libtool libncurses5 libncurses5-dev make libjpeg-dev pkg-config unixodbc unixodbc-dev zlib1g-dev

Continue Reading…

How to patch the source code or revert it back?

We often have the situation of testing or applying someones patch or to remove the changes made by a patch. It may happen that a patch is not correctly applied and result into to dirty source code. This simple bit of information will help you to carefully apply the patch to your source code and also revert the changes back to original state if required. I’m using linux kernel version 3.0.42+ as example and Elan Touch Screen patch file(patch-linux-3.0.42+_elan_ts.patch).

Continue Reading…