How to create dial patterns for India

This post is related to Asterisk and Elastix, An open source telephony software developed by Mark Spencer.

What is a Dial Pattern?

The pattern and numbers used by a phone user to dial out and reach a number is called Dial patterns. This is used by PBX to re-route towards any route is known as Dial Pattern. Alphanumeric and special characters are used as matching patterns in dial patterns. Writing Dial pattern is an essential thing for any PBX design. One must plan carefully afore to avoid drastic changes that may case a lot of confusions.

The following are the patterns that can be used in Asterisk based Open Source PBX. Continue reading

Manage packages with yum behind proxy

Today I tried to update a student’s Fedora Core 13 PC and install netbeans via yum at Anna University, Trichy, Where we are doing IP Tele project. But yum fails to retrieve packages from repository. Soon I found the PC is behind a proxy [Squid]. So I did some search over Google and found the below which may be useful to you at times.

Yum try to access the network repositories by using HTTP1.0 protocol by default. The squid we use can provide the HTTP1.0 proxy. So configuring yum to pass through the squid as follows worked.

To configure to a single user.

If you are not a Super user and wants to use yum then set an environment variable http_proxy to direct the yum to use the proxy. You can also set ftp_proxy, socks_proxy variable to use the yum with it. The value for the http proxy is like this http://user:password@host:3128

export http_proxy=”http://karthik:karthik123@″

This will work to the current user only. If you sudo then the proxy setting will be lost.

To configure globally

To configure the yum to use the proxy server login into super user account and edit yum.conf


Then enter the following information.

#Proxy Server address

# Username and password if provided to your server

10 Essential tools for monitoring MySQL

MySQL is a open source Database supported by SUN microsystems. All the tools, it provides a lot of tools to monitor and troubleshoot, may not suit to everyone. It may become useless or very useful based on the requirements of the MySQL administrator. A Admin may require remote administration via web or desktop tool. Apart from default tools provided by MySQL from SUN, there are many other tools available in MySQL community. Here I provide a list of tools that may be useful for a MySQL administrator.
Continue reading