Asterisk IP PBX Learning Tutorials - Part 5
This video provides a further explanation: Using Contexts and Dial Plans - Part 1
Contexts and dialplan Part 1
This video will get you introduced to concept of dialplan in asterisk.
The dialplan is a set of instructions in asterisk specific language that tells the system what to do with the call. Dialplan is stored in extension.conf file, so lets open this file and begin.
Dialplan is divided into contexts, and as you can see each context starts with square brackets, just like extensions, and can have any name. However there are 2 names that are reserved ”general” and “globals”, in “general section” you define general settings of dialplan and in “globals” section you define some global variables that will be used in your dialplan, as an example here TRUNK is a global variable that you can use in your further dialplan, and each occurrence of TRUNK will be replaced with its values which is Zap/G2. [Read more →]