O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

FreePBX 2.5 Powerful Telephony Solutions

Book Description

Configure, deploy, and maintain an enterprise-class VoIP PBX

About This Book

  • Fully configure an Asterisk PBX without editing the individual text-based configuration files

  • Add enterprise-class features such as voicemail, least-cost routing, and digital receptionists to your system

  • Secure your PBX against intrusion by managing MySQL passwords, FreePBX administrative accounts, account permissions, and unauthenticated calls

  • Packed with step-by-step instructions, examples, screenshots, and diagrams

  • Who This Book Is For

    This book is targeted at system administrators who want to get started with FreePBX. Previous knowledge of Linux or networking is not required, although some basic knowledge of PBX and Linux will be a bonus.

    What You Will Learn

  • Install, update and maintain FreePBX modules using the online module repository on popular Linux distributions

  • Configure user accounts and extensions with voicemail in minutes

  • Set up SIP, IAX2, and ZAP telephone handsets

  • Configure analog and VoIP trunks to other VoIP systems or voice providers

  • Reduce telephony expenses using least cost routing for outbound calls

  • Configure enterprise-class features such as voicemail, least-cost routing, and digital receptionists

  • Design sophisticated call group and queues, allowing inbound callers to reach groups of phones in a priority sequence

  • Personalize your PBX by changing the default music-on-hold, recording custom voice prompts, and customizing feature codes/star codes

  • Record calls selectively and maintain call recordings

  • Back up and restore system configuration

  • Secure your PBX against intrusion by managing MySQL passwords, FreePBX administrative accounts, account permissions, and unauthenticated calls

  • In Detail

    FreePBX is an easy-to-use GUI that controls and manages Asterisk. It gives you pre-programmed functionality accessible through user-friendly web interfaces that allows you to have a fully functional PBX pretty much straight away with no programming. With this book it's easy to master the many features of FreePBX, which will help you to save time and money as you set up your enterprise-class network.

    This book will guide you through these features to install, configure, and maintain a professional PBX with plenty of examples and screenshots. By the end of this book, you will have learned to create an enterprise-class VoIP PBX that features the stability and feature set of traditional telephony systems without the hefty price tag.

    This book will help its readers to roll out a robust, web-based, and inexpensive yet powerful telephony solution through the GUI. By following the practical examples in this book, you will learn how to install, configure, and manage an enterprise-class PBX using open source telephony tools Asterisk and FreePBX. From here on, this book takes a closer look at the open source telephony engine software, discussing a broad range of topics from how to build and deploy an enterprise-class VoIP PBX to creating VoIP trunks using SIP, IAX2, and ZAP technologies and setting up user extensions with voicemail. FreePBX 2.5 Powerful Telephony Solutions will introduce you to advanced options such as call routing, voicemail, and other calling features. Finally, this book will provide you with the relevant information to help you personalize and secure your PBX.

    Style and approach

    This book is a tutorial, with plenty of step-by-step instructions bundled with examples and screenshots. VoIP telephony concepts are discussed, and how-tos are provided to help the reader become familiar with FreePBX.

    Table of Contents

    1. FreePBX 2.5 Powerful Telephony Solutions
    2. Credits
    3. About the Author
    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. Installing FreePBX
      1. Installing FreePBX on CentOS 5.2
        1. Prerequisite packages
        2. Setting up the database
        3. Setting up file permissions
        4. FreePBX base installation
      2. Installing FreePBX on Ubuntu Server 8.10
        1. Prerequisite packages
        2. Setting up the database
        3. Setting up file permissions
        4. FreePBX base installation
      3. Summary
    7. 2. Module Maintenance
      1. Updating modules from the online repository
      2. Installing new modules from the online repository
      3. Installing and updating modules from a file
      4. Summary
    8. 3. Devices and Extensions
      1. Operational modes for extensions
        1. Endpoint types
          1. SIP endpoints
          2. IAX2 endpoints
          3. Zap (DAHDI) endpoints
          4. Custom endpoints
        2. Common fields
          1. Common general Extension/user fields
          2. Common endpoint fields
          3. Common SIP/IAX2 fields
            1. Additional SIP fields
              1. Transcoding
            2. Additional IAX2 fields
          4. Common Zap fields
            1. Additional Zap fields
          5. Common custom fields
        3. Setting up a new extension in Extensions mode
          1. Configuring FreePBX for Extensions mode
          2. Configuring extensions
        4. Setting up a new extension in DeviceAndUser mode
          1. Configuring FreePBX for DeviceAndUser mode
          2. Configuring users
          3. Configuring devices
        5. Voicemail setup
          1. Voicemail delivery options
          2. Managing voicemail messages
          3. Directory listing
      2. Summary
    9. 4. Trunks
      1. Trunk types
      2. Setting up a new trunk
        1. Common trunk setup fields
        2. Zap trunks
        3. IAX2 and SIP trunks
        4. ENUM trunks
        5. DUNDi trunks
        6. Custom trunks
      3. Checking trunk status
        1. Checking trunk status using the Asterisk CLI
        2. Monitoring trunk status with FreePBX failure scripts
      4. Summary
    10. 5. Basic Call Targets
      1. Terminate Call
      2. Extension and Voicemail
      3. Ring Groups
      4. Conferences
      5. Day Night Mode
      6. Phonebook Directory
      7. Summary
    11. 6. Advanced Call Targets
      1. Queue
        1. Queue Priorities
        2. Queues
          1. Add Queue
          2. Queue Options
          3. Caller Position Announcements
          4. Periodic Announcements
      2. Time conditions
        1. Time Groups
        2. Time Conditions
      3. IVR (Digital Receptionist)
      4. Summary
    12. 7. Call Routing
      1. Inbound routing
        1. Inbound routing priorities
      2. Follow Me and the VmX Locater
        1. Default Follow Me
        2. VmX Locater
      3. Outbound routing and Least Cost Routing
      4. Summary
    13. 8. Recording Calls
      1. Recording formats
        1. Transcoding during recording
      2. General call recording options
      3. Recording calls
        1. Recording calls to extensions
        2. Recording calls to queues
        3. Recording calls to conferences
      4. Maintaining call recordings
        1. Using cron
      5. Summary
    14. 9. Personalizing Your PBX
      1. Custom Music on Hold
        1. Using audio files for Music on Hold
        2. Using audio streams for Music on Hold
      2. Custom voice prompts
        1. Recording custom voice prompts
        2. Merging existing voice prompts
      3. Directory search options
      4. Customizing feature codes
      5. Callback
      6. Direct Inward System Access (DISA)
      7. CallerID Lookup Sources
        1. HTTP source type
        2. MySQL source type
      8. PIN Sets
      9. Misc applications
      10. Misc Destinations
      11. Summary
    15. 10. System Protection, Backup and Restoration
      1. System protection
        1. Uninterruptible power supplies
        2. Redundant components
        3. Redundant servers
        4. Surge protection
      2. Backups
        1. Taking a backup
      3. Maintaining and protecting backups
        1. Maintaining backups
        2. Protecting backups
      4. Restoration
      5. Summary
    16. 11. Security and Access Control
      1. System packages
        1. Updating Ubuntu Server
        2. Updating CentOS
      2. Maintaining Asterisk versions
      3. Securing MySQL
        1. MySQL passwords
        2. Remove history
        3. Disabling remote access to MySQL
      4. Remote access and lock down
        1. Changing ports
        2. Using iptables to restrict access
        3. VPN or SSH tunnels
          1. SSH tunneling under Linux
          2. SSH tunneling under Windows
      5. Administrator accounts in FreePBX
        1. Enabling administrator account authentication
        2. Managing administrator accounts and permissions
      6. Summary
    17. A. FreePBX Modules
      1. Basic
      2. CID and number management
      3. Games
      4. Inbound call control
      5. Internal options and configuration
      6. Support
      7. System administration
          1. Third-party add-on
    18. B. Feature Codes
      1. Blacklist
      2. Call Forward
      3. Call Waiting
      4. Core
      5. Day Night Mode
      6. Dictation
      7. Do-Not-Disturb (DND)
      8. Follow Me
      9. Info Services
      10. Paging and Intercom
      11. Phonebook Directory
      12. Recordings
      13. Speed Dial Functions
      14. Voicemail
    19. C. Voicemail.conf Options
    20. D. Common Trunk Configurations
      1. FreePBX SIP by Bandwidth.com
      2. Unlimitel (SIP)
      3. Unlimitel (IAX2)
      4. SIPGate
      5. Teliax (SIP)
      6. Teliax (IAX2)
      7. BroadVoice
      8. Gizmo5
      9. SIP Broker
      10. Via Talk