Books & Videos

Table of Contents

  1. Chapter 1 A Telephony Revolution

    1. Asterisk and VoIP: Bridging the Gap Between Traditional and Network Telephony

    2. Massive Change Requires Flexible Technology

    3. Asterisk: The Hacker’s PBX

    4. Asterisk: The Professional’s PBX

    5. The Asterisk Community

    6. The Business Case

    7. Conclusion

  2. Chapter 2 Asterisk Architecture

    1. Modules

    2. File Structure

    3. The Dialplan

    4. Hardware

    5. Asterisk Versioning

    6. Conclusion

  3. Chapter 3 Installing Asterisk

    1. Installation Cheat Sheet

    2. Distribution Installation

    3. Software Dependencies

    4. Downloading What You Need

    5. How to Install It

    6. Base Configuration

    7. Updating Asterisk

    8. Common Issues

    9. Upgrading Asterisk

    10. Conclusion

  4. Chapter 4 Initial Configuration Tasks

    1. asterisk.conf

    2. modules.conf

    3. indications.conf

    4. musiconhold.conf

    5. Additional Configuration Files

    6. Conclusion

  5. Chapter 5 User Device Configuration

    1. Telephone Naming Concepts

    2. Hardphones, Softphones, and ATAs

    3. Configuring Asterisk

    4. Digium Phones with Asterisk

    5. Loading Your New Channel Configurations

    6. Testing to Ensure Your Devices Have Registered

    7. Analog Phones

    8. A Basic Dialplan to Test Your Devices

    9. Under the Hood: Your First Call

    10. Conclusion

  6. Chapter 6 Dialplan Basics

    1. Dialplan Syntax

    2. A Simple Dialplan

    3. Building an Interactive Dialplan

    4. Conclusion

  7. Chapter 7 Outside Connectivity

    1. The Basics of Trunking

    2. Fundamental Dialplan for Outside Connectivity

    3. PSTN Circuits

    4. VoIP

    5. Emergency Dialing

    6. Conclusion

  8. Chapter 8 Voicemail

    1. Comedian Mail

    2. Dialplan Integration

    3. Storage Backends

    4. Using Asterisk as a Standalone Voicemail Server

    5. Database Integration

    6. Conclusion

  9. Chapter 9 Internationalization

    1. Devices External to the Asterisk Server

    2. PSTN Connectivity, DAHDI, Digium Cards, and Analog Phones

    3. Asterisk

    4. Conclusion—Easy Reference Cheat Sheet

  10. Chapter 10 Deeper into the Dialplan

    1. Expressions and Variable Manipulation

    2. Dialplan Functions

    3. Conditional Branching

    4. Macros

    5. GoSub

    6. Local Channels

    7. Using the Asterisk Database (AstDB)

    8. Handy Asterisk Features

    9. Conclusion

  11. Chapter 11 Parking, Paging, and Conferencing

    1. features.conf

    2. Overhead and “Underchin” Paging (a.k.a. Public Address)

    3. Advanced Conferencing

    4. Conclusion

  12. Chapter 12 Internet Call Routing

    1. DNS and SIP URIs

    2. ENUM and E.164

    3. ISN, ITAD, and freenum.org

    4. Security and Identity

    5. Conclusion

  13. Chapter 13 Automatic Call Distribution (ACD) Queues

    1. Creating a Simple ACD Queue

    2. Queue Members

    3. The queues.conf File

    4. The agents.conf File

    5. Advanced Queues

    6. Queue Statistics: The queue_log File

    7. Conclusion

  14. Chapter 14 Device States

    1. Device States

    2. Extension States

    3. SIP Presence

    4. Using Custom Device States

    5. Distributed Device States

    6. Shared Line Appearances

    7. Creating a Callback Service

    8. Conclusion

  15. Chapter 15 The Automated Attendant

    1. An Auto Attendant Is Not an IVR

    2. Designing Your Auto Attendant

    3. Building Your Auto Attendant

    4. Conclusion

  16. Chapter 16 Relational Database Integration

    1. Installing and Configuring PostgreSQL and MySQL

    2. Installing and Configuring ODBC

    3. Managing Databases

    4. Powering Your Dialplan with func_odbc

    5. A Gentle Introduction to func_odbc

    6. Getting Funky with func_odbc: Hot-Desking

    7. Using Realtime

    8. Storing Call Detail Records (CDR)

    9. ODBC Voicemail Message Storage

    10. Database Integration of ACD Queues

    11. Conclusion

  17. Chapter 17 Interactive Voice Response

    1. What Is IVR?

    2. Components of an IVR

    3. IVR Design Considerations

    4. Asterisk Modules for Building IVRs

    5. A Simple IVR Using CURL

    6. A Prompt-Recording Application

    7. Speech Recognition and Text-to-Speech

    8. Conclusion

  18. Chapter 18 External Services

    1. Calendar Integration

    2. Voicemail IMAP Integration

    3. Using XMPP (Jabber) with Asterisk

    4. Out-of-Band Messaging (Messaging Infrastructure)

    5. LDAP Integration

    6. Text-to-Speech Utilities

    7. Conclusion

  19. Chapter 19 Fax

    1. What Is a Fax?

    2. Ways to Handle Faxes in Asterisk

    3. spandsp

    4. Digium Fax For Asterisk

    5. Incoming Fax Handling

    6. Outgoing Fax Handling

    7. Fax Pass-Through

    8. Conclusion

  20. Chapter 20 Asterisk Manager Interface (AMI)

    1. Quick Start

    2. Configuration

    3. Protocol Overview

    4. Call Files

    5. Example Usage

    6. Development Frameworks

    7. Interesting Applications

    8. Conclusion

  21. Chapter 21 Asterisk Gateway Interface (AGI)

    1. Quick Start

    2. AGI Variants

    3. AGI Communication Overview

    4. Example: Account Database Access

    5. Development Frameworks

    6. Conclusion

  22. Chapter 22 Clustering

    1. Traditional PBXs

    2. Hybrid Systems

    3. Pure Asterisk, Nondistributed

    4. Asterisk and Database Integration

    5. Asterisk and Distributed Device States

    6. Multiple Queues, Multiple Sites

    7. Conclusion

  23. Chapter 23 Distributed Universal Number Discovery (DUNDi)

    1. How Does DUNDi Work?

    2. The dundi.conf File

    3. Configuring Asterisk for Use with DUNDi

    4. Conclusion

  24. Chapter 24 System Monitoring and Logging

    1. logger.conf

    2. Call Detail Records

    3. CEL (Channel Event Logging)

    4. SNMP

    5. Conclusion

  25. Chapter 25 Web Interfaces

    1. Flash Operator Panel

    2. Queue Status and Reporting

    3. Call Detail Records

    4. A2Billing

    5. Conclusion

  26. Chapter 26 Security

    1. Scanning for Valid Accounts

    2. Authentication Weaknesses

    3. Fail2ban

    4. Encrypted Media

    5. Dialplan Vulnerabilities

    6. Securing Asterisk Network APIs

    7. IAX2 Denial of Service

    8. Other Risk Mitigation

    9. CLI Permissions

    10. Resources

    11. Conclusion—A Better Idiot

  27. Chapter 27 Asterisk: A Future for Telephony

    1. The Problems with Traditional Telephony

    2. Paradigm Shift

    3. The Promise of Open Source Telephony

    4. The Future of Asterisk

  1. Appendix Understanding Telephony

    1. Analog Telephony

    2. Digital Telephony

    3. The Digital Circuit-Switched Telephone Network

    4. Packet-Switched Networks

    5. Conclusion

  2. Appendix Protocols for VoIP

    1. The Need for VoIP Protocols

    2. VoIP Protocols

    3. Codecs

    4. Quality of Service

    5. Echo

    6. Asterisk and VoIP

    7. VoIP Security

    8. Conclusion

  3. Appendix Preparing a System for Asterisk

    1. Server Hardware Selection

    2. Environment

    3. Telephony Hardware

    4. Types of Phones

    5. Linux Considerations

    6. Conclusion

  4. Colophon