Books & Videos

Table of Contents

  1. Chapter 1 A Telephony Revolution

    1. 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. This Book

  2. Chapter 2 Preparing a System for Asterisk

    1. Server Hardware Selection

    2. Environment

    3. Telephony Hardware

    4. Types of Phones

    5. Linux Considerations

    6. Conclusion

  3. Chapter 3 Installing Asterisk

    1. What Packages Do I Need?

    2. Obtaining the Source Code

    3. Menuselect

    4. Compiling Zaptel

    5. Compiling libpri

    6. Compiling Asterisk

    7. Installing Additional Prompts

    8. Common Compiling Issues

    9. Loading Asterisk and Zaptel Quickly

    10. Loading Zaptel Modules Without Scripts

    11. Loading libpri Without Script

    12. Starting Asterisk Without Scripts

    13. Directories Used by Asterisk

    14. AsteriskNOW™

    15. Conclusion

  4. Chapter 4 Initial Configuration of Asterisk

    1. What Do I Really Need?

    2. Working with Interface Configuration Files

    3. Setting Up the Dialplan for Some Test Calls

    4. FXO and FXS Channels

    5. Configuring an FXO Channel for a PSTN Connection

    6. Configuring an FXS Channel for an Analog Telephone

    7. Configuring SIP Telephones

    8. Connecting to a SIP Service Provider

    9. Connecting Two Asterisk Boxes Together via SIP

    10. Configuring an IAX Softphone

    11. Connecting to an IAX Service Provider

    12. Connecting Two Asterisk Boxes Together via IAX

    13. Using Templates in Your Configuration Files

    14. Debugging

    15. Conclusion

  5. Chapter 5 Dialplan Basics

    1. Dialplan Syntax

    2. A Simple Dialplan

    3. Building an Interactive Dialplan

    4. Conclusion

  6. Chapter 6 More Dialplan Concepts

    1. Expressions and Variable Manipulation

    2. Dialplan Functions

    3. Conditional Branching

    4. Voicemail

    5. Macros

    6. Using the Asterisk Database (AstDB)

    7. Handy Asterisk Features

    8. Conclusion

  7. Chapter 7 Understanding Telephony

    1. Analog Telephony

    2. Digital Telephony

    3. The Digital Circuit-Switched Telephone Network

    4. Packet-Switched Networks

    5. Conclusion

  8. Chapter 8 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

  9. Chapter 9 The Asterisk Gateway Interface (AGI)

    1. Fundamentals of AGI Communication

    2. Writing AGI Scripts in Perl

    3. Creating AGI Scripts in PHP

    4. Writing AGI Scripts in Python

    5. Debugging in AGI

    6. Conclusion

  10. Chapter 10 Asterisk Manager Interface (AMI) and Adhearsion

    1. The Manager Interface

    2. The Flash Operator Panel

    3. Asterisk Development with Adhearsion

  11. Chapter 11 The Asterisk GUI Framework

    1. Why a GUI for Asterisk?

    2. What Is the GUI?

    3. Architecture of the Asterisk GUI

    4. Installing the Asterisk GUI

    5. Developing for the Asterisk GUI

  12. Chapter 12 Relational Database Integration

    1. Introduction

    2. Installing the Database

    3. Installing and Configuring ODBC

      1. Configuring res_odbc for Access to Our Database
    4. Using Realtime

      1. Static Realtime
      2. Dynamic Realtime
    5. Storing Call Detail Records

    6. Getting Funky with func_odbc: Hot-Desking

    7. ODBC Voicemail

      1. Creating the Large Object Type
      2. Configuring voicemail.conf for ODBC Storage
      3. Testing ODBC Voicemail
    8. Conclusion

  13. Chapter 13 Managing Your Asterisk System

    1. Call Detail Recording

    2. Managing Logs

    3. Running Asterisk As a Non-root User

    4. Customizing System Prompts

    5. Music on Hold

    6. Conclusion

  14. Chapter 14 Potpourri

    1. Festival

    2. Call Files

    3. DUNDi

    4. Alternative Voicemail Storage Methods

    5. Asterisk and Jabber (XMPP)

    6. Conclusion

  15. Chapter 15 Asterisk: The Future of Telephony

    1. The Problems with Traditional Telephony

    2. Paradigm Shift

    3. The Promise of Open Source Telephony

    4. The Future of Asterisk

  1. Appendix VoIP Channels

    1. IAX

    2. SIP

  2. Appendix Application Reference

  3. Appendix AGI Reference

  4. Appendix Configuration Files

    1. modules.conf

    2. adsi.conf

    3. adtranvofr.conf

    4. agents.conf

    5. alarmreceiver.conf

    6. alsa.conf

    7. amd.conf

    8. asterisk.conf

    9. cdr.conf

    10. cdr_manager.conf

    11. cdr_odbc.conf

    12. cdr_pgsql.conf

    13. cdr_tds.conf

    14. codecs.conf

    15. dnsmgr.conf

    16. dundi.conf

    17. enum.conf

    18. extconfig.conf

    19. extensions.conf

    20. extensions.ael

    21. features.conf

    22. festival.conf

    23. followme.conf

    24. func_odbc.conf

    25. gtalk.conf

    26. http.conf

    27. iax.conf

    28. iaxprov.conf

    29. indications.conf

    30. jabber.conf

    31. logger.conf

    32. manager.conf

    33. meetme.conf

    34. mgcp.conf

    35. modem.conf

    36. musiconhold.conf

    37. osp.conf

    38. oss.conf

    39. phone.conf

    40. privacy.conf

    41. queues.conf

    42. res_odbc.conf

    43. res_snmp.conf

    44. rpt.conf

    45. rtp.conf

    46. say.conf

    47. sip.conf

    48. sip_notify.conf

    49. skinny.conf

    50. sla.conf

    51. smdi.conf

    52. udptl.conf

    53. users.conf

    54. voicemail.conf

    55. vpb.conf

    56. zapata.conf

    57. zaptel.conf

  5. Appendix Asterisk Dialplan Functions

  6. Appendix Asterisk Manager Interface Actions

  7. Appendix An Example of func_odbc

  8. Colophon