Asterisk Administrator Guide
Total Page:16
File Type:pdf, Size:1020Kb
Asterisk Administrator Guide Asterisk Development Team <[email protected]> 1. About the Project . 5 1.1 A Brief History of the Asterisk Project . 6 1.2 Asterisk as a Swiss Army Knife of Telephony . 7 1.3 Asterisk Versions . 8 1.4 License Information . 10 1.4.1 Voice Prompts and Music on Hold License . 12 2. Getting Started . 13 2.1 Beginning Asterisk . 14 2.2 Installing Asterisk . 16 2.2.1 Installing AsteriskNOW . 17 2.2.2 Upgrading AsteriskNOW . 23 2.2.3 Installing Asterisk From Source . 26 2.2.4 Alternate Install Methods . 51 2.2.5 Installing Asterisk on Non-Linux Operating Systems . 60 2.3 Hello World . 63 3. Operation . 67 3.1 System Requirements . 68 3.1.1 Compiler . 69 3.1.2 System Libraries . 70 3.2 Running Asterisk . 71 3.2.1 Stopping and Restarting Asterisk From The CLI . 74 3.3 Maintenance and Upgrades . 75 3.3.1 Asterisk Backups . 76 3.3.2 Updating or Upgrading Asterisk . 77 3.4 Logging . 79 3.4.1 Basic Logging Commands . 80 3.4.2 Basic Logging Start-up Options . 81 3.4.3 Call Identifier Logging . 82 3.4.4 Collecting Debug Information . 83 3.4.5 Queue Logs . 85 3.4.6 Verbosity in Core and Remote Consoles . 87 3.5 Asterisk Command Line Interface . 88 3.5.1 Connecting to the Asterisk CLI . 89 3.5.2 CLI Syntax and Help Commands . 90 3.5.3 Creating and Manipulating Channels from the CLI . 92 3.5.4 Simple CLI Tricks . 94 3.6 Asterisk Audio and Video Capabilities . 95 4. Fundamentals . 99 4.1 Asterisk Architecture . 100 4.1.1 Asterisk Architecture, The Big Picture . 101 4.1.2 Types of Asterisk Modules . 103 4.2 Directory and File Structure . 113 4.3 Asterisk Configuration . ..