You are previewing AsteriskNOW.
O'Reilly logo
AsteriskNOW

Book Description

A practical guide for deploying and managing an Asterisk-based telephony system using the AsteriskNOW Beta 6 software appliance

  • Install an Asterisk-based telephony system fast

  • Build an office PBX using AsteriskNOW

  • Learn the AsteriskGUI web management interface

  • Configure IP phones and connections

  • Configure and use the conferencing system

  • Write your own applications for Asterisk

  • In Detail

    AsteriskNOW is an open-source Software Appliance from Digium: a customized Linux distribution, which includes Asterisk (the leading open-source telephony engine and tool kit), the AsteriskGUI, and all the other software needed for an Asterisk telephony system. AsteriskNOW is easy to install. It allows you to deploy Asterisk quickly and easily, and offers flexibility, functionality and features that are available only in expensive proprietary business systems.

    Table of Contents

    1. AsteriskNOW
    2. Credits
    3. Foreword
    4. About the Author
    5. About the Reviewers
    6. Preface
      1. What This Book Covers
      2. What You Need for This Book
      3. Conventions
      4. Reader Feedback
      5. Customer Support
        1. Errata
        2. Questions
    7. 1. An Introduction to Telephony and Asterisk
      1. The Basics of Traditional Telephony
        1. Circuit Switching
        2. A Circuit-Switched Network
          1. Signalling System # 7 (SS7)
          2. Integrated Services Digital Network (ISDN)
            1. ISDN Basic Rate Interface (BRI)
            2. ISDN Primary Rate Interface (PRI)
            3. Foreign Exchange Office (FXO) and Foreign Exchange Station (FXS)
      2. The Basics of Voice over IP (VoIP) Technology
        1. Session Initiation Protocol—SIP
        2. Inter-Asterisk eXchange Protocol—IAX
          1. NAT/PAT: IAX2 versus SIP and H.323
        3. CODECS—Voice Coder Decoder
      3. Asterisk—The Open-Source PBX
        1. Asterisk is Dually Licensed—What Does it Mean?
        2. Enter the Asterisk—the Future is Here
      4. AsteriskNOW—The Asterisk Software Appliance
      5. Summary
    8. 2. Building a PBX
      1. Objective—Building an Office PBX
        1. Physical Connectivity
        2. Installation Procedure Outline
          1. Downloading AsteriskNOW
            1. AsteriskNOW (32-bit)
            2. AsteriskNOW (64-bit)
            3. AsteriskNOW (x86 xen image)
            4. AsteriskNOW (x86 VMware image)
            5. AsteriskNOW (x86 LiveCD)
          2. AsteriskNOW Hardware Requirements
            1. Analog Interface Cards
            2. Digital Interface Cards
            3. Additional Add-On Cards
          3. The Installation Process
            1. Step 1: Hardware Installation
            2. Step 2: Install the AsteriskNOW Distribution
            3. Step 3: The Initial Configuration
          4. Anatomy of the AsteriskNOW Configuration GUI
          5. Introduction to the rPath Appliance GUI
      2. Summary
    9. 3. Extensions, Phones, and Others
      1. An IP Phone is a Simplified Computer
      2. AsteriskNOW Extension Management GUI
        1. The User Extensions Configuration Options
        2. The "User Extension" Configuration Flags
      3. The LinkSys 941
      4. CounterPath X-Lite—The Worlds Most Popular Soft Phone
      5. Summary
    10. 4. Service Providers—Your Connection to the World
      1. VoIP Carriers
        1. Direct Inward Dialing (DID/DDI) Carriers
        2. IP Call Termination Carriers
          1. Refilers and Grey Routes
      2. PSTN Carriers—Traditional Telephony Providers
      3. Configuring an IP Termination Service Provider
        1. VoIP Service Providers in AsteriskNOW
        2. VoIP Service Providers—Few Examples
          1. Inbound DID/DDI Service Providers
            1. VoxBone—The Inbound VoIP Provider
            2. LibréTel—Freedom is Calling
          2. Termination and Residential Service Providers
            1. Vonage
            2. NuFone—Changing the Way the World Communicates
        3. Connecting to a Custom VoIP Termination Provider
      4. Summary
    11. 5. Tentacles of the PBX—The Calling Rules Tables
      1. Managing Routing Rules with AsteriskNOW
      2. Manually Editing Dial-Plan Logic
      3. Summary
    12. 6. "Let me in!"—Inbound Call Routing
      1. Inbound DID Routing versus Analog Physical Routing
      2. Inbound Routing via DID Numbers
      3. Inbound Routing via Physical Ports
          1. Routing Type Comparison Table
      4. Inbound Call Routing with AsteriskNOW
        1. Example 1: Routing in a Single DID Number
        2. Example 2: Routing in a Range of DID Numbers
      5. Inbound Call Routing in extensions.conf
      6. Summary
    13. 7. "For Annoyance, Press 1"—Voice Menus and IVR
      1. Four Rules of IVR
      2. Voice Menus—AsteriskNOW's IVR Generator
        1. Voice Menu Steps—The Voice Menu Flow
          1. DISA—Direct Inward System Access
          2. Recordings—Menus and System Playbacks
            1. Step 1: Where am I?
            2. Step 2: Prepare Your Text
            3. Step 3: Recording
          3. Time Based Rules
          4. Ring Groups
          5. Enough Theory, Back to Voice Menus
      3. Summary
    14. 8. Voicemail, Conferencing, and Parking—Advanced PBX Services
      1. Comedian Mail—The Asterisk Voicemail System
        1. Voicemail General Options
        2. Voicemail Message Options
        3. Voicemail Playback Options
      2. MeetMe Conferencing
        1. Conference User and Administrator Key Presses
        2. Defining a New Conference Room
          1. General Conference Options
          2. Conference Password Settings
          3. Conference Room Options
      3. Call Parking
      4. Summary
    15. 9. "Please hold, we'll be with you shortly"—Simple Call Queues
      1. Queue General Options
      2. Queue Options
      3. Utilizing Call Queues
            1. Step 1: Define the Extensions for Each Agent
            2. Step 2: Define the Queues
            3. Step 3: Assign the Agents to the Proper Queues
      4. Summary
    16. 10. General AsteriskNOW Management—Monitoring, Backups, and More
      1. AsteriskNOW General Options
        1. Local Extension Settings
        2. Agent Login Settings
        3. Extension Options
      2. AsteriskNOW Backup
      3. Asterisk Logs
      4. AsteriskNOW System Info
      5. AsteriskNOW Active Channels
      6. AsteriskNOW Graphs
      7. Summary
    17. 11. Hard Core AsteriskNOW
      1. AsteriskNOW Advanced Options
        1. Music on Hold
          1. Why Do You Need Multiple Music On Hold Classes?
        2. VM Email Settings
        3. Global SIP Settings
          1. General SIP Settings
          2. Type of Service Settings
          3. NAT Support Settings
        4. Global IAX Settings
          1. General IAX Settings
          2. Jitter Buffer Settings
          3. IAX Registration Options
          4. Codecs Settings
          5. Change Password
          6. Setup Wizard
      2. Gaining Root Access to Your AsteriskNOW via SSH
      3. The Asterisk Command-Line Interface (CLI)
            1. Monitoring the Currently Active Channels
            2. Disconnecting an Active Call
            3. View the Currently Configured and Connected SIP Endpoints
      4. The Asterisk Dial-Plan Language (extensions.conf)
        1. Configuration File Structure
          1. Extension Pattern Matching
          2. Special Extensions in extensions.conf
      5. The Asterisk Configuration Directory
      6. Summary
    18. 12. Where to from Here?
      1. Beyond the Dial Plan—Asterisk Gateway Interface (AGI)
        1. AGI Execution Environment
        2. AGI Example in PHP
        3. AGI Programming API Functions
        4. AGI Programming Libraries
      2. Asterisk Manager Interface (AMI)
      3. Asynchronous JavaScript Asterisk Manager (AJAM)
      4. Ideas and Mesh-ups
        1. Voice-Enabled Network Monitoring
        2. Voice-Enabled Intrusion Detection
        3. Voice-Enabled Attendance Clock and Proximity
      5. DUNDi—Distributed Universal Number Discovery
            1. ENUM
            2. DUNDi
      6. Summary
    19. A. Jargon Buster
    20. B. Free World Dialup (FWD)
    21. C. AsteriskNOW for Service Providers