Asterisk time based routing

This is a very common requirement that route the calls to Voice-mail after office hours. Or you can transfer the calls to your cell phone after certain time say 6:00pm. In Asterisk you can also control the call location based on time and date.

Asterisk Most frequently used commands

Find most frequently used asterisk commands. This is simple cheat sheet to view what’s happening inside your asterisk server. You can see how many calls, how many users who is communicating with your system.

How to create extensions in asterisk-pbx?

A SIP extension is configured in the SIP channel driver configuration file, called sip.conf. (This file resides in the Asterisk configuration directory, which is typically /etc/asterisk.)
Open sip.conf with your favorite text editor, scroll to the bottom of the file, and add a section for your extension. You’ll need to choose your own unique password for each account, and change the permit line to match the settings for your local network.

Add Condition in Asterisk Dial-plan

While building a dial plan you will always run in scenario where you have to choose the action based on a if statement. In this example we can use a counter variable and based on the value of the variable we can make another decision.  Lets start with normal counter...

Call Recording in asterisk

To manage call recording in Asterisk there is simple command. Mix(Monitor() can be used to manage all the call recordings in Asterisk.