Touchkanology Blog Tutorials, Open Source, DIY's and all the tech stuff…

12Oct/110

Telenor responds to Propakistani’s allegations against easypaisa

Telenor Pakistan has always supported bloggers and considers them to be online journalists. We believe they have a very important role to play in the evolution of media in Pakistan.

Having an opinion and expressing it is the right of every citizen however, a line must be drawn when that opinion distorts and misrepresents facts and damages reputation. Telenor Pakistan is dismayed by the sensationalistic reporting of a blogger on one of the leading telecom blogs, Propakistani.

30Aug/110

Server Migration…

Tonight i will be migrating my server to a better one because my current server was overloaded. Hope this will resolve the issue :) .

25Jul/110

Just an Experiment!!

This one failed :P ... So dont give it a go :)

Filed under: Tutorials No Comments
17May/110

Bulk config update on servers.

To bulk update configuration files on multiple server we can use the following loop to first transfer updated files and then restart the service. Example is given for updating ssh config file.

Copy config files to servers:
for i in 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26; do scp sshd_config root@192.168.1.$i:/etc/ssh/; done

Restart ssh service on all servers:
for i in 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26; do scp sshd_config root@192.168.1.$i:/etc/ssh/; done

12May/110

Extracting IP address from BASH…

Just curios about different ways of getting ip address in bash scripting here are a few...

ifconfig:

  1. ifconfig eth1 | grep inet | awk '{print $2}' | sed 's/addr://' | grep .
  2. ifconfig eth0 | sed '/inet\ /!d;s/.*r://g;s/\ .*//g'
  3. ifconfig eth0 | awk '/inet addr:/ {print substr($2,6)}'

ip addr:

  1. ip addr show eth1 | grep "inet " | sed 's/\// /' | awk '{print $2}'
26Dec/100

Freeswitch

I finally decided to do some experimentation on freeswitch, will be posting howto's and installation instructions soon so keep a watch.

29Sep/100

Ubuntu 10.10 Countdown

The next version of Ubuntu is coming soon

Filed under: Linux, Ubuntu No Comments
26Aug/100

Gtalk free calls

Google has gone ballistic on VoIP companies. Google now offers free calls to US and Canada till the end of this year. And it offers cheap calls through out the world. So the next time you login to your gmail account do notice a small Call Phone button in you gmail chat bar. And have fun making free prank calls to the US ;)

Filed under: Tutorials No Comments
23Jun/104

Asterisk 1.6.2.9 Quick Install Guide

We will follow following steps in order to install asterisk.

  1. Installing Dependencies
  2. Downloading Source Code
  3. Compilation and Installation

Installing Dependencies

Now there are many packages required for installation but since it is a quick install guide ill assume that you went on with default packages during OS isntallation.

21Jun/100

Asterisk Realtime 1.4.x with MySQL

First we need to install asterisk click here for a quick guide. We must configure Asterisk using its configuration files in /etc/asterisk/. One more problem we face in Asterisk configuration is that we need to reload Asterisk configuration by explicitly  issuing a command in asterisk cli. We can get rid of these problems by using Asterisk Realtime. There are two types of configurations available in Asterisk Realtime "STATIC" and "REALTIME". STATIC configuration is used just to store configuration files in the database and you need to reload the settings every time you make changes on the other hand when we use REALTIME settings then all the settings are loaded on the fly.

The required components that you need before you work with Asterisk Realtime engine are Asterisk, MySQL server and libmysqlclient and finally Asterisk-Addons.