asterisk_the_definitive_guide.pdf

(10125 KB) Pobierz
Asterisk
The Definitive Guide
Open Source Telephony for the Enterprise
Jim Van Meggelen,
Russell Bryant
& Leif Madsen
ft
s
Fi
over
C
h
iti
on
16
isk
Ed
ter
As
FIFTH EDITION
Asterisk: The Definitive Guide
Jim Van Meggelen, Russell Bryant, and Leif Madsen
Beijing
Boston Farnham Sebastopol
Tokyo
Asterisk: The Definitive Guide
by Jim Van Meggelen, Russell Bryant, and Leif Madsen
Copyright © 2019 James Van Meggelen. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional
sales department: 800-998-9938 or
corporate@oreilly.com.
Editors:
Mike Loukides and Rachel Roumeliotis
Development Editor:
Jeff Bleiel
Production Editor:
Kristen Brown
Copyeditor:
Dwight Ramsey
Proofreader:
Rachel Monaghan
July 2019:
Fifth Edition
Indexer:
Judith McConville
Interior Designer:
David Futato
Cover Designer:
Karen Montgomery
Illustrator:
Rebecca Demarest
Revision History for the Fifth Edition
2019-06-21:
First Release
See
https://www.oreilly.com/catalog/errata.csp?isbn=0636920140610
for release details.
The O’Reilly logo is a registered trademark of O’Reilly Media, Inc.
Asterisk: The Definitive Guide,
the
cover image, and related trade dress are trademarks of O’Reilly Media, Inc.
While the publisher and the authors have used good faith efforts to ensure that the information and
instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility
for errors or omissions, including without limitation responsibility for damages resulting from the use of
or reliance on this work. Use of the information and instructions contained in this work is at your own
risk. If any code samples or other technology this work contains or describes is subject to open source
licenses or the intellectual property rights of others, it is your responsibility to ensure that your use
thereof complies with such licenses and/or rights.
Asterisk: The Definitive Guide
is available under the Creative Commons Attribution-NonCommercial-
NoDerivatives 4.0 International License.
978-1-492-03160-4
[LSI]
Table of Contents
Foreword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
1.
A Telephony Revolution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Asterisk and 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
Asterisk’s Discourse-Based Community Site
The Asterisk Mailing Lists
Asterisk Wiki Sites
The IRC Channels
Conclusion
Modules
Applications
Bridging Modules
Call Detail Recording Modules
Channel Event Logging Modules
Channel Drivers
Codec Translators
Format Interpreters
Dialplan Functions
2
3
4
4
5
5
5
6
6
7
7
10
11
12
13
13
13
14
15
16
iii
2.
Asterisk Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Zgłoś jeśli naruszono regulamin