|
||||
| Asterisk Dialplan Tutorial. |
Learn how to create basic Asterisk dial plan in few minutes
Lesson 1 - Basic dial plan elements and your first dial plan: "Hello world" dial plan[ 1] The dial plan is truly the heart of every Asterisk system. It defines how Asterisk handles inbound and outbound calls. Everything from voicemail, to conferencing, to voice menus is done through the dial plan. In a nutshell, it consists of a list of instructions or steps that Asterisk will follow. The Asterisk dial plan is specified in the configuration file named extensions.conf. We'll start with a very simple example. We are going to instruct Asterisk to answer a call, play a sound file, and then hang up. First we will start Visual Dial plan and create new context named Inbound.... click on the image on the left to see how to create Hello world dial plan. You may also download "Hello World" dialplan created in this lesson here: http://www.apstel.com/products/vdp/samples/Lesson_01.vdp To use this sample you would need to download Visual Dialplan for Asterisk. Full functional trial version of this software is available for download here: http://www.apstel.com/download/vdp_prof/ Lesson 2 - Simple Voice Menu, Special extensions, Dial block and Voicemail[ 2] In this lesson we will modify the "Hello world" dial plan by adding more extensions, then we'll add the "dial" building block to call specified number, and last we'll add a voice mail. We’ll also add some logic to the dial plan so that it will perform different actions based on input from the user. One of the most important keys to building interactive dial plan is the Back ground building block. Like Playback it plays recorded sound file, and unlike Playback, when the caller presses a key or series of keys, it interrupts the playback and goes to the extension that corresponds with the pressed keys. The first thing we'll do is to open the dial plan we created in the first lesson.... click on the image on the left. You may also download the dialplan created in this lesson here: http://www.apstel.com/products/vdp/samples/Lesson_02.vdp To use this sample you would need to download Visual Dialplan for Asterisk. Full functional trial version of this software is available for download here: http://www.apstel.com/download/vdp_prof/ About Visual DialplanVisual Dialplan for Asterisk® is modern rapid application development platform for Asterisk dial plan development. http://www.apstel.com/download/vdp_prof/ [ 1] The picture should be replaced with embaded youtube movie: http://www.youtube.com/watch?v=H1j5OrgL1og
[ 2]The picture should be replaced with embaded youtube movie: |
| Last Updated ( Wednesday, 03 February 2010 09:54 ) |
















