what you need to know, before you deploy the VoIP in your organization : QoS (Quality of Service) for VoIP

The organization(s) that migrate from legacy PABX system (traditional phone system) to IP based PBX (Private Branch eXchange), they require a very carefully planning before they deploy the VoIP. They need to ensure the QoS (Quality of Service) for VoIP in your organization. Step 1 Analyze your existing LAN (Local Area Network) and find if … Read more

Asterisk Server Consultant

Sample DAHDI installation After compiling and installing of dahdi and asterisk, you have to perform some further steps to use your hardware. This example will show you a few steps how to get asterisk and two Digium cards enabled: 1.) Detect your hardware   # (this will generate /etc/dahdi/system.conf and  /etc/asterisk/dahdi-channels.conf)  linux:~# dahdi_genconf 2.) Read … Read more

phpMyAdmin + CentOS 6.0 – Forbidden : phpmyadmin allow remote access centos

To remove and add access to phpmyadmin in asterisk : Add your IP as follow: vi /etc/httpd/conf.d/phpmyadmin.conf <Directory “/usr/share/phpmyadmin”> Order allow,deny Allow from all </Directory> Here in Allow from all and Allow from 192.168.0.10 Then issue the following command: # service httpd restart Now All done.      

shell script to backup files and directories in Linux using tar & cron jobs

The vi Editor http://t4test.com/blog/unix-linux-shell-script-introduction-to-shell-scripting/ http://t4test.com/blog/read-making-shell-script-interactive/ http://t4test.com/blog/cpio-a-backup-program/ Backup Using TAR Backing up your files using tar is very simple you just type a little command. tar -cvpzf /BackupDirectory/backupfilename.tar.gz /ImportantData/directory/path Let’s suppose i have directory called /imp-data on root and i want to make backup of this directory including sub directories on different location like in /mybackupfolder. … Read more

shell script to get yesterday’s date into a variable

a shell script which does the following to store the current day’s date in a variable ‘dt’: date “+%a %d/%m/%Y” | read dt echo ${dt} How would i go about getting yesterdays date into a variable?

SIP error code

SIP error code Code Meaning 1xx Informational — request received, continuing to process the request 2xx Success — the action was successfully received, understood, and accepted 3xx Redirection — further action needs to be taken in order to complete the request 4xx Client Error — the request contains bad syntax or cannot be fulfilled at … Read more

Find out Gateway / router IP address under Linux / UNIX using route command

You need to use route command. This command can manipulates the kernel’s IP routing tables. It can be also use to print gateway / router IP address. Type the following command to see default gateway: $ route -n Output: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.10.54 0.0.0.0 255.255.255.0 U … Read more

sip show channel command not found

my problem is that I cannot run ‘sip show peers’ or any other sip commands from the CLI.   Solution:- Check your /etc/asterisk/sip.conf    file carefully. Find the missing one and restart the asterisk server (service asterisk restart) and go to asterisk cli prompt (asterisk -r) and type the SIP command. 🙂