0%

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.

This book focuses on Asterisk 1.8, although many of the conventions and information presented are version-agnostic. These recipes include solutions to help you:

  • Authenticate callers before moving on in your dialplan
  • Redirect calls received by your auto-attendant
  • Create an automatic call-back service
  • Initiate hot-desking to login to and accept calls at any office device
  • Monitor and interrupt live calls to train new employees at a call center
  • Record calls from your Asterisk dialplan

Table of Contents

  1. 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
  2. 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()
  3. 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
  4. 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
  5. About the Authors
  6. Copyright