Asterisk Administrator Guide

Total Page:16

File Type:pdf, Size:1020Kb

Asterisk Administrator Guide Asterisk Administrator Guide Asterisk Development Team <[email protected]> 1. Getting Started . 6 1.1 Precursors, Background and Business . 7 1.1.1 Asterisk Concepts . 8 1.2 Beginning Asterisk . 11 1.2.1 Installing Asterisk . 12 1.2.2 Asterisk Configuration Files . 27 1.2.3 Basic PBX Functionality . 40 1.2.4 Dialplan Fundamentals . 47 1.2.5 Auto-attendant and IVR Menus . 60 1.2.6 Dialplan Architecture . 68 1.2.7 Installing Asterisk From Source . 86 1.2.8 Getting Started with Asterisk . 101 1.2.9 Asterisk Architecture . 107 1.2.10 Asterisk on (Open)Solaris . 127 2. Configuration and Operation . 129 2.1 Asterisk Calendaring . 130 2.1.1 Configuring Asterisk Calendaring . 131 2.1.2 Calendaring Dialplan Functions . 132 2.1.3 Calendaring Dialplan Examples . 133 2.2 Asterisk Channel Drivers . 135 2.2.1 Inter-Asterisk eXchange protocol, version 2 (IAX2) . 136 2.2.2 mISDN . 142 2.2.3 Local Channel . 154 2.2.4 Mobile Channel . 165 2.2.5 Unistim . 177 2.2.6 Skinny . 194 2.3 Asterisk Configuration . 200 2.3.1 General Configuration Information . 201 2.3.2 Database Support Configuration . 215 2.3.3 Privacy Configuration . 223 2.4 Asterisk Extension Language (AEL) . 234 2.4.1 Introduction to AEL . 235 2.4.2 AEL and Asterisk in a Nutshell . 236 2.4.3 Getting Started with AEL . 241 2.4.4 AEL Debugging . 242 2.4.5 About "aelparse" . 243 2.4.6 General Notes about AEL Syntax . 244 2.4.7 AEL Keywords . 245 2.4.8 AEL Procedural Interface and Internals . 246 2.4.9 AEL Example Usages . 250 2.4.10 AEL Examples . 267 2.4.11 AEL Semantic Checks . 268 2.4.12 Differences with the original version of AEL . 269 2.4.13 AEL Hints and Bugs . ..
Recommended publications
  • Freepbx-Distro-6.12.65
    FreePBX-Distro-6.12.65 About FreePBX Distro and AsteriskNOW-6.12.65 Stable Releases Below is an outline of this version: FreePBX 12 SHMZ OS 6.5 (Derived from CentOS) Asterisk 11 or 13 DAHDI 2.10 System Impact The upgrade procedures outlined below will stop Asterisk and may also require a system reboot to fully apply. Perform the system upgrade using a scheduled maintenance window. Release Notes Click here to view the Release Notes for 6.12.65. This page contains release notes for all of the versions listed below. Upgrade Scripts Upgrade Scripts Below is a list of shell upgrade scripts officially released to update an existing FreePBX Distro 6.12.65 system to a specific minor release version. The scripts will update the entire distribution, including all FreePBX web components and all OS-level components (such as the kernel and kernel modules). All upgrades need to be installed in numeric ascending order. Do not skip any available upgrade step. Upgrade scripts are not cumulative. Each upgrade script should be run in ascending order to get to the desired final version. The upgrade path is one-way. These scripts cannot be used to downgrade the version of FreePBX Distro to an earlier version. The only way to reverse the effects of the upgrade procedure is to restore the system from a backup. FreePBX Distro 6.12.65-1 (No Upgrade script, as this is the initial release version of this track.) FreePBX Distro 6.12.65-2 https://upgrades.freepbxdistro.org/stable/6.12.65/upgrade-6.12.65-2.sh FreePBX Distro 6.12.65-3 https://upgrades.freepbxdistro.org/stable/6.12.65/upgrade-6.12.65-3.sh
    [Show full text]
  • TRIXBOX Without Tears the ICT Serial Following Asterisk@Home Without Tears
    Trixbox-2 without Tears can be downloaded here. TRIXBOX without Tears The ICT serial following Asterisk@Home without Tears If you find this guide helpful, a PayPal donation of $5 to $10 (US equiv) made to [email protected] would be very much appreciated. Without Tears http://dumbme.voipeye.com.au/trixbox/index1.htm The Other Dumb-Me Guide (Australianised for AU&NZ users) Versions 1.x with freePBX (Version 1.2.3e) by Ben Sharif (The Author of Asterisk@Home without Tears) About the Author Last updated on November 30, 2006 Please send comment or suggestions to me at the address below mailto:[email protected] Please do not send questions directly to me. Instead post all questions in the Whirlpool Forum below so others may also benefit from it. http://forums.whirlpool.net.au/forum-threads.cfm?f=107 First Published on 1st June 2006 This document is released under the Creative Commons By-Attrib Non-Commercial Share-Alike 2.1 licence. This work is dedicated to my wife, who has been very patient with me, Andrew Gillis and Rob Thomas whose devotions to TRIXBOX and freePBX made it all possible. * Stay tuned for our next episode – TRIXBOX version X TRIXBOX Without Tears Page 1 of 209 TRIXBOX Without Tears Page 2 of 209 TABLE OF CONTENT Forward........................................................................................................................................... 8 1 Introduction................................................................................................................................ 9 1.1 The Components...........................................................................................................
    [Show full text]
  • Install Freepbx
    Install FreePBX PBXact Notice All PBXact and PBXtended systems come pre-installed on hardware in most cases. In the rare case you are installing on your own hardware please contact your sales representative on how to proceed with installing PBXact Installing the FreePBX application FreePBX is a program that works together with Asterisk and a number of other programs to make it easy to set-up and configure a VOIP PBX. By itself, FreePBX won't do anything. You also need to install Linux, Asterisk, Dahdi, Postfix/Sendmail, TFTP, and a host of other programs. If you are not an expert with Linux and its dependent components, you'll want to choose and install a Distro. If you are an expert, you can simply install FreePBX on top of an existing Linux/Asterisk installation. The Easy Way (use a Distro) There are a number of distributions ("Distros") available that will automatically install include FreePBX, Linux, and all the other components you need. When you use a distribution, you avoid having to learn how to install, compile, and configure each of these required components. A good distribution comes with everything you need to get started. The easiest way to install FreePBX is to download the FreePBX Distro from the download page. For step by step instructions to install the FreePBX distro, click on this link: Installing the FreePBX Distro For information on the release versions and how to upgrade the FreePBX Distro read Upgrading the FreePBX Distro. Be sure not to confuse "FreePBX" (which is a program) with the FreePBX Distro (which is a distribution that includes FreePBX and all the other stuff you need).
    [Show full text]
  • Freepbx-Distro-10.13.66
    FreePBX-Distro-10.13.66 About FreePBX Distro and AsteriskNOW-10.13.66 releases Below is an outline of this version FreePBX 13 SHMZ OS 6.6 (Derived from CentOS) Asterisk 11 or 13 DAHDI 2.11 System Impact The upgrade procedures outlined below will stop Asterisk and may also require a system reboot to fully apply. Perform the system upgrade using a scheduled maintenance window. Release Notes Click here to view the release notes for these versions. Upgrade Scripts Upgrade Scripts Below is a list of shell upgrade scripts officially released to update an existing FreePBX Distro 10.13.66 system to a specific minor release version. The scripts will update the entire distribution, including all FreePBX web components and all OS-level components (such as the kernel and kernel modules). All upgrades need to be installed in numeric ascending order. Do not skip any upgrade step. Upgrade scripts are not cumulative. Each upgrade script should be run in ascending order to get to the desired final version. The upgrade path is one-way. These scripts cannot be used to downgrade the version of FreePBX Distro to an earlier version. The only way to reverse the effects of the upgrade procedure is to restore the system from a backup. FreePBX Distro 10.13.66-1 (No upgrade script as this is the initial release version of this track.) FreePBX Distro 10.13.66-2 https://upgrades.freepbxdistro.org/stable/10.13.66/upgrade-10.13.66-2.sh FreePBX Distro 10.13.66-3 https://upgrades.freepbxdistro.org/stable/10.13.66/upgrade-10.13.66-3.sh FreePBX Distro 10.13.66-4 https://upgrades.freepbxdistro.org/stable/10.13.66/upgrade-10.13.66-4.sh
    [Show full text]
  • Running a Small Call-Center with Queuemetrics Espresso Loway Running a Small Call-Center with Queuemetrics Espresso Loway Table of Contents
    Running a small call-center with QueueMetrics Espresso Loway Running a small call-center with QueueMetrics Espresso Loway Table of Contents 1. Introducing QueueMetrics Espresso ................................................................................................................... 1 1.1. Turning your PBX into a call-center solution ............................................................................................... 1 1.2. Call centers 101: the very basics ............................................................................................................ 1 1.3. Prerequisites .................................................................................................................................... 2 1.4. Tutorial organization ........................................................................................................................... 2 2. Installing Espresso ....................................................................................................................................... 3 2.1. Installing a license key ........................................................................................................................ 3 2.2. Updating QueueMetrics under Espresso ................................................................................................... 4 3. Testing your new call center ........................................................................................................................... 5 3.1. Configure the PBX ............................................................................................................................
    [Show full text]
  • Asterisk Based Open Source Voip Telephony Systems for Legal
    Asterisk based Open Source VoIP Telephony Systems 2010 for Legal Services of Kentucky Table of Contents Introduction .............................................................................................................................................. 3 What is VoIP .......................................................................................................................................... 3 What is Asterisk .................................................................................................................................... 4 Benefits and Costs ................................................................................................................................. 6 Design ........................................................................................................................................................ 9 Setting Requirements ........................................................................................................................... 9 Core Selection/Distribution Selection ................................................................................................... 9 VoIP, PSTN, Internet .............................................................................................................................. 9 End Point Selection ............................................................................................................................. 10 Support Options .................................................................................................................................
    [Show full text]
  • Freepbx-Distro-5.211.65
    FreePBX-Distro-5.211.65 About FreePBX Distro and AsteriskNOW 5.211.65 Stable releases Below is an outline of this version FreePBX 2.11 SHMZ OS 6.5 (Derived from CentOS) Asterisk 1.8.x or 11.x DAHDI 2.10 Full support for FreePBX HA Final System Impact The upgrade procedures outlined below will stop Asterisk and may also require a system reboot to fully apply. Perform the system upgrade using a scheduled maintenance window. Release Notes Release Notes Here FreePBX Distro 5.211.65-1 Click on link for release notes. FreePBX Distro 5.211.65-2 Click on link for release notes. http://upgrades.freepbxdistro.org/stable/5.211.65/upgrade-5.211.65-2.sh FreePBX Distro 5.211.65-3 Click on link for release notes. http://upgrades.freepbxdistro.org/stable/5.211.65/upgrade-5.211.65-3.sh FreePBX Distro 5.211.65-4 Click on link for release notes. http://upgrades.freepbxdistro.org/stable/5.211.65/upgrade-5.211.65-4.sh FreePBX Distro 5.211.65-5 Click on link for release notes. http://upgrades.freepbxdistro.org/stable/5.211.65/upgrade-5.211.65-5.sh FreePBX Distro 5.211.65-6 Click on link for release notes. http://upgrades.freepbxdistro.org/stable/5.211.65/upgrade-5.211.65-6.sh FreePBX Distro 5.211.65-7 Click on link for release notes. http://upgrades.freepbxdistro.org/stable/5.211.65/upgrade-5.211.65-7.sh FreePBX Distro 5.211.65-8 Click on link for release notes.
    [Show full text]
  • Empirical Study of Achievable Bandwidth Capacity of Voip Infrastructure in an Intranet with Open Source Tools
    International Journal of Applied Information Systems (IJAIS) – ISSN : 2249-0868 Foundation of Computer Science FCS, New York, USA Volume 8– No.6, April 2015 – www.ijais.org Empirical Study of Achievable Bandwidth Capacity of VoIP Infrastructure in an Intranet with Open Source Tools M. B. Soroyewun A. A. Obiniyi School of Science and Technology, Department of Mathematics, National Open University of Nigeria, Ahmadu Bello University, Zaria, Kaduna Study Center, Kaduna, Nigeria Kaduna State, Nigeria ABSTRACT bits (of data) per second (bps) and occasionally as bytes per This paper presents an empirical study of achievable second (Bps). Generally, a link with a high bandwidth is one bandwidth/concurrent calls capacity of an open source Voice that may be able to carry enough information to sustain the over Internet Protocol (VoIP) Server deployed on an Intranet succession of images in a video presentation and high volume with open source tools. Network readiness in IPv4 and IPv6 of audio packets or VoIP calls [2]. environments was evaluated using Iperf while VoIP calls were As in data networks, bandwidth congestion can cause packet simulated with open source SIPp (Session Initiation Protocol loss and a host of other Quality of Service (QoS) problems. performance-tester). Voipmonitor, another open source Hence, proper bandwidth reservation and allocation is software, was used to measure the bandwidth capacity and essential to VoIP quality. Sharing data and voice on the same maximum concurrent calls handling capacity of the Asterisk wires, which is one of the great attractions of VoIP, is also a Server over fast Ethernet Local Area Network. It can be potential challenge for implementers who must allocate the deduced that the concurrent calls capacity of a VoIP server is necessary bandwidth for both networks in a system normally dependent on a number of factors such as the VoIP readiness / designed for one [3].
    [Show full text]
  • Asterisk Administrator Guide
    Asterisk Administrator Guide Asterisk Development Team <[email protected]> 1. About the Project . 5 1.1 A Brief History of the Asterisk Project . 6 1.2 Asterisk as a Swiss Army Knife of Telephony . 7 1.3 Asterisk Versions . 8 1.4 License Information . 10 1.4.1 Voice Prompts and Music on Hold License . 12 2. Getting Started . 13 2.1 Beginning Asterisk . 14 2.2 Installing Asterisk . 16 2.2.1 Installing AsteriskNOW . 17 2.2.2 Upgrading AsteriskNOW . 23 2.2.3 Installing Asterisk From Source . 26 2.2.4 Alternate Install Methods . 51 2.2.5 Installing Asterisk on Non-Linux Operating Systems . 60 2.3 Hello World . 63 3. Operation . 67 3.1 System Requirements . 68 3.1.1 Compiler . 69 3.1.2 System Libraries . 70 3.2 Running Asterisk . 71 3.2.1 Stopping and Restarting Asterisk From The CLI . 74 3.3 Maintenance and Upgrades . 75 3.3.1 Asterisk Backups . 76 3.3.2 Updating or Upgrading Asterisk . 77 3.4 Logging . 79 3.4.1 Basic Logging Commands . 80 3.4.2 Basic Logging Start-up Options . 81 3.4.3 Call Identifier Logging . 82 3.4.4 Collecting Debug Information . 83 3.4.5 Queue Logs . 85 3.4.6 Verbosity in Core and Remote Consoles . 87 3.5 Asterisk Command Line Interface . 88 3.5.1 Connecting to the Asterisk CLI . 89 3.5.2 CLI Syntax and Help Commands . 90 3.5.3 Creating and Manipulating Channels from the CLI . 92 3.5.4 Simple CLI Tricks .
    [Show full text]
  • Asterisk™: the Definitive Guide
    www.it-ebooks.info www.it-ebooks.info FOURTH EDITION Asterisk™: The Definitive Guide Russell Bryant, Leif Madsen, and Jim Van Meggelen www.it-ebooks.info Asterisk™: The Definitive Guide, Fourth Edition by Russell Bryant, Leif Madsen, and Jim Van Meggelen Copyright © 2013 Russell Bryant, Leif Madsen, and Jim Van Meggelen. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/ institutional sales department: 800-998-9938 or [email protected]. Editors: Mike Loukides and Nathan Jepson Indexer: Fred Brown Production Editor: Kristen Borg Cover Designer: Karen Montgomery Copyeditor: Becca Freed Interior Designer: David Futato Proofreader: Kiel Van Horn Illustrator: Rebecca Demarest May 2013: Fourth Edition Revision History for the Fourth Edition: 2013-05-07: First release See http://oreilly.com/catalog/errata.csp?isbn=9781449332426 for release details. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Asterisk: The Definitive Guide, the image of a starfish, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trade‐ mark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.
    [Show full text]
  • Running a Small Call-Center with Queuemetrics and Trixbox 2
    Running a small call-center with QueueMetrics and Trixbox 2 Running a small call-center with QueueMetrics and Trixbox Version 3.2, Loway Table of Contents Preface ............................................................................................................................ iv 1. Turning TrixBox or AsteriskNOW into a call-center solution .................................................. 1 Call centers 101: the very basics ................................................................................... 1 Prerequisites .............................................................................................................. 2 Software versions ....................................................................................................... 2 Tutorial organization ................................................................................................... 2 2. Running an inbound call-center ......................................................................................... 4 Logging in into TrixBox .............................................................................................. 4 Installing QueueMetrics ............................................................................................... 4 Including the [queuemetrics] context in Asterisk ...................................................... 5 Changing QueueMetrics defaults to suit it to our installation ....................................... 5 Testing the installation .......................................................................................
    [Show full text]
  • Asterisk Sound Files International - Voip -Info.Org Page 1 of 8
    Asterisk sound files international - voip -info.org Page 1 of 8 Welcome, Peter Brun Madsen logout voip -info.org Sat 20 of Oct, 2007 [14:33] voip-info.org My voip-info.org Wiki Login Asterisk sound files backlinks... Logged in as Peter Brun Madsen Logout international Navigation Edit History Home [Edit ] OpenSource PBX/Softswitch Page Contents Asterisk Installation trixbox SER - SIP Express Router Installation sipX Use language= in a .conf file, or use Catalan (Spain) FreeSWITCH the SetLanguage() application in Chinese CallWeaver extensions.conf (Mandarin) YATE Place the voice prompts into a Danish directory structure as follows Dutch About Voip -Info.org (usually within /var/lib/asterisk/: English (US) Voip -Info.org Mirrors English (Australia) sounds/xx English (New sounds/digits/xx Free Technical Magazines Zealand) sounds/letters/xx English (South Today's Deals sounds/phonetic/xx Africa) Free: Survey Report: IP where xx is the two letter ISO code of the English (UK) Telephony Features, language in question (nl, fr, de, it, pt, French Management and Application es ...) French (Québec) Importance in Education (NOTE: The structure for 1.4 is diferent German but it requires a configuration change) Italian Free Tool: What does VOIP Japanese actually cost? Norwegian Catalan (Spain) Polish Free 90 Page IP Telephony Portuguese (pt_pt) Pocket Guide Portuguese - Brasil http://casal.upc.es/~silvia29 - (pt_br) Recently Visited Pages Beta set in GSM format in Russian 1. Asterisk sound files development. For asterisk 1.2 and Slovene international AMP. Female voice. +1800 sound (professional voice 2. Asterisk sound files files. prompts) 3. Asterisk debugging Spanish 4.
    [Show full text]