Page 11 - Asterisk™: The Future of Telephony
P. 11
Packet-Switched Networks 184
Conclusion 184
8. Protocols for VoIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
The Need for VoIP Protocols 186
VoIP Protocols 187
Codecs 193
Quality of Service 197
Echo 200
Asterisk and VoIP 202
VoIP Security 204
Conclusion 206
9. The Asterisk Gateway Interface (AGI) . . . . . . . . . . . . . . . . . . . . 207
Fundamentals of AGI Communication 207
Writing AGI Scripts in Perl 210
Creating AGI Scripts in PHP 214
Writing AGI Scripts in Python 219
Debugging in AGI 223
Conclusion 225
10. Asterisk Manager Interface (AMI) and Adhearsion . . . . . . . . 227
The Manager Interface 227
The Flash Operator Panel 231
Asterisk Development with Adhearsion 231
11. The Asterisk GUI Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Why a GUI for Asterisk? 245
What Is the GUI? 246
Architecture of the Asterisk GUI 248
Installing the Asterisk GUI 249
Developing for the Asterisk GUI 251
12. Relational Database Integration . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Introduction 263
Installing the Database 263
Installing and Configuring ODBC 265
Using Realtime 268
Storing Call Detail Records 272
Getting Funky with func_odbc: Hot-Desking 274
ODBC Voicemail 286
Conclusion 291
Table of Contents | ix