Cover image for Asterisk Cookbook

Book Description

Asterisk has a wealth of features to help you customize your PBX to fill very specific business needs. This short cookbook offers recipes for tackling dialplan fundamentals, making and controlling calls, and monitoring channels in your PBX environment. Each recipe includes a simple code solution you can put to work immediately, along with a detailed discussion that offers insight into why and how the recipe works.

Table of Contents

  1. Special Upgrade Offer
  2. Preface
    1. Organization
    2. Software
    3. Conventions Used in This Book
    4. Using Code Examples
    5. SafariĀ® Books Online
    6. How to Contact Us
    7. Acknowledgments
  3. 1. Dialplan Fundamentals
    1. Introduction
    2. Counting and Conditionals
    3. Looping in the Dialplan
    4. Controlling Calls Based on Date and Time
    5. Authenticating Callers
    6. Authenticating Callers Using Voicemail Credentials
    7. Authenticating Callers Using Read()
    8. Debugging the Dialplan with Verbose()
  4. 2. Call Control
    1. Introduction
    2. Creating Call Limits Using Groups
    3. Originating a Call Using the CLI
    4. Originating a Call Using the Dialplan
    5. Originating a Call From a Call File
    6. Originating a Call From the Manager Interface
    7. Using the FollowMe() Dialplan Application
    8. Building Find-Me-Follow-Me in the Dialplan
    9. Creating a Callback Service in the Dialplan
    10. Hot-Desking with the Asterisk Database
  5. 3. Audio Manipulation
    1. Introduction
    2. Monitoring and Barging into Live Calls
    3. Growing Your Company With PITCH_SHIFT()
    4. Injecting Audio into a Conference Bridge
    5. Triggering Audio Playback into a Call Using DTMF
    6. Recording Calls from the Dialplan
    7. Triggering Call Recording Using DTMF
    8. Making Grandma Louder
  6. About the Authors
  7. Special Upgrade Offer
  8. Copyright