You are previewing Asterisk 1.6.
O'Reilly logo
Asterisk 1.6

Book Description

Build feature-rich telephony systems with Asterisk

  • Install, configure, deploy, secure, and maintain Asterisk

  • Build a fully-featured telephony system and create a dial plan that suits your needs

  • Learn from example configurations for different requirement

  • Implement 3rd party applications which will help you manage Asterisk through a web interface

  • In Detail

    Asterisk is a powerful and flexible open source framework for building feature-rich telephony systems. As a Private Branch Exchange (PBX) which connects one or more telephones, and usually connects to one or more telephone lines, Asterisk offers very advanced features, including extension-to-extension calls, queues, ring groups, line trunking, call distribution, call detail rerecords, and call recording.

    This book will show you how to build a telephony system for your home or business using this open source application. 'Asterisk 1.6' takes you step-by-step through the process of installing and configuring Asterisk. It covers everything from establishing your deployment plan to creating a fully functional PBX solution. Through this book you will learn how to connect employees from all over the world as well as streamline your callers through Auto Attendants (IVR) and Ring Groups.

    This book is all you need to understand and use Asterisk to build the telephony system that meets your need. You will learn how to use the many features that Asterisk provides you with. It presents example configurations for using Asterisk in three different scenarios: for small and home offices, small businesses, and Hosted PBX.

    Over the course of ten chapters, this book introduces you to topics as diverse as Public Switched Telephony Network (PSTN), Voice over IP Connections (SIP / IAX), DAHDI, libpri, through to advanced call distribution, automated attendants, FreePBX, and asterCRM.

    With an engaging style and excellent way of presenting information, this book makes a complicated subject very easy to understand.

    Table of Contents

    1. Asterisk 1.6
      1. Asterisk 1.6
      2. Credits
      3. About the Authors
      4. About the Reviewer
      5. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code for the book
          2. Errata
          3. Piracy
          4. Questions
      6. 1. Introduction to Asterisk
        1. What is Asterisk?
        2. What's new in Asterisk 1.4?
        3. What's new in Asterisk 1.6?
          1. Asterisk is a PBX
            1. Extension-to-Extension calls
            2. Line trunking
            3. Telco features
            4. Advanced Call Distribution
            5. Call Detail Records
            6. Call recording
            7. Call parking
            8. Call barging
          2. Asterisk is an IVR system
          3. Asterisk is a call center system
          4. Asterisk is a voicemail system
          5. Asterisk is a Voice over IP (VoIP) system
          6. Asterisk 1-2-3
          7. Asterisk scalability
          8. Asterisk does not run on Windows
        4. Is Asterisk a good fit for me?
          1. Trade-offs
            1. Flexibility versus ease of use
            2. Graphical versus configuration file management
          2. Calculating total cost of ownership
          3. Return on Investment
        5. Summary
      7. 2. Making a Plan for Deployment
        1. The Public Switched Telephony Network (PSTN)
          1. Connection methods
            1. Plain Old Telephone Service (POTS) line
            2. Integrated Services Digital Network (ISDN)
            3. T1 or E1
            4. Voice over IP connections
          2. Determining our needs
        2. Terminal equipment
          1. Types of terminal devices
            1. Hard phones
              1. H.323
              2. SIP
              3. IAX
            2. Soft phones
            3. Analog adapters
            4. Another PBX
          2. Choosing a device
            1. Features, features, and more features...
              1. Requirement elicitation
              2. Requirement prioritization
              3. Requirement documentation
              4. Phone testing
            2. Determining true cost
            3. Compatibility with Asterisk
            4. Sound quality analysis
            5. Usability issues
          3. Recording decisions
        3. How much hardware do I need?
        4. Choosing the extension length
        5. Preparing a test environment
        6. Summary
      8. 3. Installing Asterisk
        1. Preparing to install Asterisk
        2. Obtaining the source files
        3. Installing DAHDI
        4. Installing LibPRI (optional)
        5. Installing Asterisk
        6. Getting to know Asterisk
        7. Summary
      9. 4. Configuring Asterisk
        1. DAHDI interfaces
          1. system.conf
            1. Lines
            2. Terminals
          2. chan_dahdi.conf
            1. Lines
            2. Terminals
        2. SIP interfaces
        3. IAX interfaces
        4. Voicemail
        5. Music on hold
        6. Queues
        7. Conference rooms
        8. Summary
      10. 5. Creating a Dialplan
        1. Creating a context
        2. Creating an extension
        3. Creating outgoing extensions
        4. Advanced Call Distribution
          1. Call queues
          2. Call parking
          3. Direct Inward Dialing (DID)
        5. Automated attendants
        6. System services
        7. Summary
      11. 6. Quality Assurance
        1. Call Detail Records
          1. Flat-file CDR logging
          2. Database CDR logging
        2. Monitoring calls
        3. Recording calls
        4. Legal concerns
        5. Summary
      12. 7. Making Asterisk Easy to Manage
        1. Trixbox
        2. CentOS
        3. Trixbox preparation and installation
        4. What is FreePBX?
          1. FreePBX preparation and installation
          2. FreePBX System Status Dashboard
            1. Tools
            2. Setup
            3. Trixbox maintenance section
            4. Reports
            5. Asterisk Recording Interface
            6. Flash Operator Panel (FOP)
            7. Flash operator configuration files
          3. Web MeetMe
            1. Setting up and accessing Web MeetMe through Trixbox
          4. Flexibility when needed
        5. A simple one-to-one PBX
          1. Extensions
          2. Trunks
          3. Routes
        6. Summary
      13. 8. What is asterCRM?
        1. Installing asterCRM
          1. Automatic installation
          2. Manual installation
        2. Introducing asterCRM
          1. Import
          2. Statistic
          3. Extension
          4. Customer
          5. Dialer
          6. System
          7. Survey
        3. Summary
      14. 9. Case Studies
        1. Small office/home office
          1. The scenario
          2. The discussion
          3. The configuration
            1. system.conf
            2. chan_dahdi.conf
            3. musiconhold.conf
            4. voicemail.conf
            5. modules.conf
            6. extensions.conf
          4. Conclusions
        2. Small business
          1. The scenario
          2. The discussion
          3. The configuration
            1. system.conf
            2. chan_dahdi.conf
            3. musiconhold.conf
            4. agents.conf
            5. queues.conf
            6. sip.conf
            7. meetme.conf
            8. voicemail.conf
            9. extensions.conf
          4. Conclusions
        3. Hosted PBX
          1. The scenario
          2. The discussion
          3. The configuration
            1. system.conf
            2. chan_dahdi.conf
            3. musiconhold.conf
            4. sip.conf
            5. voicemail.conf
            6. extensions.conf
          4. Conclusions
        4. Summary
      15. 10. Maintenance and Security
        1. Backup and system maintenance
          1. Backing up configurations
          2. Backing up voice data
          3. Backing up log files
            1. Backup scripts
          4. Time synchronization
            1. Adding it all to cron
          5. Back up Asterisk with FreePBX
          6. Back up Asterisk with Trixbox
          7. Rebuilding and restoring the Asterisk server
          8. Disaster Recovery Plan (DRP)
        2. Asterisk server security
          1. Internal access control
        3. Host security hardening for Asterisk
          1. Integrity checker
          2. Rootkit detection
          3. Automated hardening
          4. Role Based Access Control (RBAC)
        4. Network security for Asterisk
          1. Firewalling the Asterisk protocols
            1. SIP (Session Initiation Protocol)
            2. H.323
            3. IAX
            4. The Real-Time Transport Protocol (RTP)
          2. Controlling administration of Asterisk
        5. Asterisk scalability
          1. Load balancing with DNS
        6. Support channels for Asterisk
          1. Mailing lists
          2. Forums
          3. Internet Relay Chat (IRC)
          4. Web sites
          5. Digium
        7. Summary