Dedication; Table of Contents; Foreword; Preface; Audience; Organization; Software; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Jim Van Meggelen; Leif Madsen; Jared Smith; CHAPTER 1. A Telephony Revolution; VoIP: Bridging the Gap Between Traditional and Network Telephony; The Zapata Telephony Project; Massive Change Requires Flexible Technology; Asterisk: The Hacker's PBX; Asterisk: The Professional's PBX; The Asterisk Community; The Asterisk Mailing Lists; The Asterisk Wiki; The IRC Channels; Asterisk User Groups.
The Asterisk Documentation ProjectThe Business Case; This Book; CHAPTER 2. Preparing a System for Asterisk; Server Hardware Selection; Performance Issues; Choosing a Processor; Choosing a Motherboard; Power Supply Requirements; Environment; Power Conditioning and Uninterruptible Power Supplies; Grounding; Electrical Circuits; The Equipment Room; Telephony Hardware; Connecting to the PSTN; Connecting Exclusively to a Packet-Based Telephone Network; Echo Cancellation; Types of Phones; Physical Telephones; Softphones; Telephony Adaptors; Communications Terminals; Linux Considerations; Conclusion.
CHAPTER 3. Installing AsteriskWhat Packages Do I Need?; Linux Package Requirements; Obtaining the Source Code; Obtaining Asterisk Source Code; Extracting the Source Code; Menuselect; Compiling Zaptel; The ztdummy Driver; The Zapata Telephony Drivers; Using ztcfg and zttool; Compiling libpri; Compiling Asterisk; Standard Installation; Alternative make Arguments; Using Precompiled Binaries; Installing Additional Prompts; Common Compiling Issues; Asterisk; Zaptel; Loading Asterisk and Zaptel Quickly; Loading Zaptel Modules Without Scripts; Systems Running udevd; Loading Zaptel; Loading ztdummy.
Loading libpri Without ScriptStarting Asterisk Without Scripts; Console Commands; Directories Used by Asterisk; /etc/asterisk/; /usr/lib/asterisk/modules/; /var/lib/asterisk; /var/spool/asterisk/; /var/run/; /var/log/asterisk/; /var/log/asterisk/cdr-csv; AsteriskNOW; What Is AsteriskNOW?; Before You Begin; What You Will Need; Installation; Accessing the GUI; Alternate Installations; For More Information; Conclusion; CHAPTER 4. Initial Configuration of Asterisk; What Do I Really Need?; Working with Interface Configuration Files; Setting Up the Dialplan for Some Test Calls.
FXO and FXS ChannelsDetermining the FXO and FXS Ports on Your TDM400P; Configuring an FXO Channel for a PSTN Connection; Zaptel Hardware Configuration; Zapata Hardware Configuration; Dialplan Configuration; Dialing In; Configuring an FXS Channel for an Analog Telephone; Zaptel Hardware Configuration; Zapata Hardware Configuration; Dialplan Configuration; Configuring SIP Telephones; Basic SIP Telephone Configuration in Asterisk; Configuring the Device Itself; Essential Server Components; CounterPath's X-Lite Softphone; Polycom's IP 430; Cisco 7960 Telephone; Linksys SPA-942.