System information
Disabling Digium FFA (Should You Want to Test spandsp) 446
Incoming Fax Handling 447
Fax to TIFF 447
Fax to Email 447
Fax Detection 448
Outgoing Fax Handling 449
Transmitting a Fax from Asterisk 450
File Format for Faxing 450
An Experiment in Email to Fax 451
Fax Pass-Through 454
Using Fax Buffers in chan_dahdi.conf 454
Conclusion 455
20. Asterisk Manager Interface (AMI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Quick Start 457
AMI over TCP 458
AMI over HTTP 459
Configuration 460
manager.conf 460
http.conf 464
Protocol Overview 465
Message Encoding 466
AMI over HTTP 467
Development Frameworks 471
CSTA 471
Interesting Applications 472
AsteriskGUI 472
Flash Operator Panel 473
Conclusion 473
21. Asterisk Gateway Interface (AGI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
Quick Start 475
AGI Variants 477
Process-Based AGI 477
DeadAGI Is Dead 478
FastAGI—AGI over TCP 478
Async AGI—AMI-Controlled AGI 479
AGI Communication Overview 480
Setting Up an AGI Session 480
Commands and Responses 482
Ending an AGI Session 486
Development Frameworks 487
Conclusion 488
xiv | Table of Contents