
Chapter 1?A Telephony Revolution 一場(chǎng)電話系統(tǒng)的革命
Asterisk and VoIP: Bridging the Gap Between Traditional and Network Telephony? 彌合傳統(tǒng)電話與網(wǎng)絡(luò)電話之間的差距
Massive Change Requires Flexible Technology? 大規(guī)模變革需要靈活的技術(shù)
Asterisk: The Hacker’s PBX 黑客級(jí)別的PBX
Asterisk: The Professional’s PBX 專業(yè)級(jí)別的PBX
The Asterisk Community Asterisk社區(qū)
The Business Case 商業(yè)案例
Conclusion 結(jié)論
Chapter 2?Asterisk Architecture Asterisk架構(gòu)
Modules 模塊化
File Structure 文件結(jié)構(gòu)
The Dialplan 撥號(hào)計(jì)劃
Hardware 硬件
Asterisk Versioning Asterisk 版本
Conclusion 結(jié)論
Chapter 3?Installing Asterisk 安裝Asterisk
Installation Cheat Sheet 安裝備忘錄
Distribution Installation 發(fā)行版安裝
Software Dependencies 軟件依賴
Downloading What You Need 下載你需要的
How to Install It 怎么去安裝?
Base Configuration 基本配置
Updating Asterisk 更新Asterisk
Common Issues 常見問題
Upgrading Asterisk 升級(jí)Asterisk
Conclusion結(jié)論
Chapter 4?Initial Configuration Tasks 初始化配置任務(wù)
asterisk.conf
modules.conf
indications.conf
musiconhold.conf
Additional Configuration Files 額外的配置文件
Conclusion結(jié)論
Chapter 5?User Device Configuration用戶終端設(shè)備的配置
Telephone Naming Concepts電話命名概念
Hardphones, Softphones, and ATAs硬件電話、軟電話和ATAs
Configuring Asterisk配置Asterisk
Digium Phones with Asterisk Digium電話
Loading Your New Channel Configurations加載新的頻道配置
Testing to Ensure Your Devices Have Registered測(cè)試確保你的設(shè)備已經(jīng)注冊(cè)成功
Analog Phones模擬電話
A Basic Dialplan to Test Your Devices用基本的撥號(hào)計(jì)劃測(cè)試你的終端設(shè)備
Under the Hood: Your First Call在引擎蓋下你的第一通電話
Conclusion結(jié)論
Chapter 6?Dialplan Basics基本的撥號(hào)計(jì)劃
Dialplan Syntax撥號(hào)計(jì)劃的語法
A Simple Dialplan一個(gè)簡(jiǎn)單的撥號(hào)計(jì)劃
Building an Interactive Dialplan創(chuàng)建一個(gè)交互式的撥號(hào)計(jì)劃
Conclusion結(jié)論
Chapter 7?Outside Connectivity連接外界
The Basics of Trunking基本的中繼線
Fundamental Dialplan for Outside Connectivity連接外界的基本撥號(hào)計(jì)劃
PSTN Circuits PSTN電路
VoIP
Emergency Dialing緊急呼叫
Conclusion結(jié)論
Chapter 8?Voicemail語音信箱
Comedian Mail滑稽的郵箱
Dialplan Integration撥號(hào)計(jì)劃集成
Storage Backends后臺(tái)存儲(chǔ)
Using Asterisk as a Standalone Voicemail Server將Asterisk打造成一個(gè)獨(dú)立的語音信箱系統(tǒng)
Database Integration數(shù)據(jù)庫集成
Conclusion結(jié)論
Chapter 9?Internationalization國(guó)際化
Devices External to the Asterisk Server終端設(shè)備連接Asterisk服務(wù)
PSTN Connectivity, DAHDI, Digium Cards, and Analog Phones連接PSTN,DAHDI,Digium板卡和模擬電話
Asterisk
Conclusion—Easy Reference Cheat Sheet
Chapter 10?Deeper into the Dialplan深入理解撥號(hào)計(jì)劃
Expressions and Variable Manipulation正則表達(dá)式與通道變量的操作
Dialplan Functions撥號(hào)計(jì)劃函數(shù)
Conditional Branching條件分支
Macros
GoSub
Local Channels本地當(dāng)前通道
Using the Asterisk Database (AstDB)使用AstDB數(shù)據(jù)庫
Handy Asterisk Features方便的Asteris功能
Conclusion結(jié)論
Chapter 11?Parking, Paging, and Conferencing停泊,暫停與會(huì)議
features.conf
Overhead and “Underchin” Paging (a.k.a. Public Address)
Advanced Conferencing高級(jí)會(huì)議功能
Conclusion結(jié)論
Chapter 12?Internet Call Routing呼叫路由
DNS and SIP URIs
ENUM and E.164
ISN, ITAD, and freenum.org
Security and Identity安全與身份
Conclusion結(jié)論
Chapter 13?Automatic Call Distribution (ACD) Queues ACD隊(duì)列
Creating a Simple ACD Queue
Queue Members
The queues.conf File
The agents.conf File
Advanced Queues
Queue Statistics: The queue_log File
Conclusion
Chapter 14?Device States
Device States
Extension States
SIP Presence
Using Custom Device States
Distributed Device States
Shared Line Appearances
Creating a Callback Service
Conclusion
Chapter 15?The Automated Attendant
An Auto Attendant Is Not an IVR
Designing Your Auto Attendant
Building Your Auto Attendant
Conclusion
Chapter 16?Relational Database Integration
Installing and Configuring PostgreSQL and MySQL
Installing and Configuring ODBC
Managing Databases
Powering Your Dialplan with func_odbc
A Gentle Introduction to func_odbc
Getting Funky with func_odbc: Hot-Desking
Using Realtime
Storing Call Detail Records (CDR)
ODBC Voicemail Message Storage
Database Integration of ACD Queues
Conclusion
Chapter 17?Interactive Voice Response
What Is IVR?
Components of an IVR
IVR Design Considerations
Asterisk Modules for Building IVRs
A Simple IVR Using CURL
A Prompt-Recording Application
Speech Recognition and Text-to-Speech
Conclusion
Chapter 18?External Services
Calendar Integration
Voicemail IMAP Integration
Using XMPP (Jabber) with Asterisk
Out-of-Band Messaging (Messaging Infrastructure)
LDAP Integration
Text-to-Speech Utilities
Conclusion
Chapter 19?Fax
What Is a Fax?
Ways to Handle Faxes in Asterisk
spandsp
Digium Fax For Asterisk
Incoming Fax Handling
Outgoing Fax Handling
Fax Pass-Through
Conclusion
Chapter 20?Asterisk Manager Interface (AMI)
Quick Start
Configuration
Protocol Overview
Call Files
Example Usage
Development Frameworks
Interesting Applications
Conclusion
Chapter 21?Asterisk Gateway Interface (AGI)
Quick Start
AGI Variants
AGI Communication Overview
Example: Account Database Access
Development Frameworks
Conclusion
Chapter 22?Clustering
Traditional PBXs
Hybrid Systems
Pure Asterisk, Nondistributed
Asterisk and Database Integration
Asterisk and Distributed Device States
Multiple Queues, Multiple Sites
Conclusion
Chapter 23?Distributed Universal Number Discovery (DUNDi)
How Does DUNDi Work?
The dundi.conf File
Configuring Asterisk for Use with DUNDi
Conclusion
Chapter 24?System Monitoring and Logging
logger.conf
Call Detail Records
CEL (Channel Event Logging)
SNMP
Conclusion
Chapter 25?Web Interfaces
Flash Operator Panel
Queue Status and Reporting
Call Detail Records
A2Billing
Conclusion
Chapter 26?Security
Scanning for Valid Accounts
Authentication Weaknesses
Fail2ban
Encrypted Media
Dialplan Vulnerabilities
Securing Asterisk Network APIs
IAX2 Denial of Service
Other Risk Mitigation
CLI Permissions
Resources
Conclusion—A Better Idiot
Chapter 27?Asterisk: A Future for Telephony
The Problems with Traditional Telephony
Paradigm Shift
The Promise of Open Source Telephony
The Future of Asterisk
Appendix?Understanding Telephony
Analog Telephony
Digital Telephony
The Digital Circuit-Switched Telephone Network
Packet-Switched Networks
Conclusion
Appendix?Protocols for VoIP
The Need for VoIP Protocols
VoIP Protocols
Codecs
Quality of Service
Echo
Asterisk and VoIP
VoIP Security
Conclusion
Appendix?Preparing a System for Asterisk
Server Hardware Selection
Environment
Telephony Hardware
Types of Phones
Linux Considerations
Conclusion
Colophon