did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781597491518

Asterisk Hacking

by
  • ISBN13:

    9781597491518

  • ISBN10:

    1597491519

  • Format: Paperback
  • Copyright: 2007-06-29
  • Publisher: Elsevier Science
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $53.95
  • Digital
    $60.69
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

Asterisk has taken the power of the open-source software movement and brought it to the land of telephony. Much like how open source has proven that users don't need to rely on commercial companies for software, Asterisk has proven that users don't need to rely on commercial telephone companies for telephone systems. Open-source software allows you to be free of vendor lock-in, save money on support, use open standards, and change the software to suit your unique problems if the need arises. Thanks to Asterisk and VoIP, it is possible to run a telephone company out of a basement, handling telephone calls for people within a neighborhood, a city, or a country. Doing this only a few years ago would have required buying a large building, setting up large racks of equipment, and taking out a second mortgage. But today, everyone is jumping on the Asterisk bandwagon: hobbyists, telephone companies, universities, and small businesses to name a few. But what exactly is Asterisk? And what can it do? Let's find out.

Table of Contents

What Is Asterisk and Why Do You Need It?p. 1
Introductionp. 2
What Is Asterisk?p. 3
What Is a PBX?p. 3
What Is VoIP?p. 4
The History of Asteriskp. 5
Asterisk Todayp. 6
What Can Asterisk Do for Me?p. 7
Asterisk as a Private Branch Exchangep. 7
Advantages over Traditional PBXesp. 8
Features and Usesp. 10
Asterisk as a VoIP Gatewayp. 12
The Possibilities of VoIPp. 13
Asterisk as a New Dimension for Your Applicationsp. 15
Who's Using Asterisk?p. 16
Summaryp. 17
Solutions Fast Trackp. 18
Links to Sitesp. 19
Frequently Asked Questionsp. 20
Setting Up Asteriskp. 21
Introductionp. 22
Choosing Your Hardwarep. 22
Picking the Right Serverp. 22
Processor Speedp. 23
RAMp. 23
Storage Spacep. 23
Picking the Right Phonesp. 24
Soft Phonesp. 24
Hard Phonesp. 25
Configuring Your Networkp. 28
Installing Asteriskp. 30
Using an Asterisk Live CDp. 30
SLASTp. 31
Installing Asterisk from a CDp. 36
Getting trixboxp. 36
Booting trixboxp. 37
Configuring trixboxp. 40
trixbox's Web Interfacep. 41
Installing Asterisk from Scratchp. 45
The Four Horsemenp. 46
Asterisk Dependenciesp. 46
Getting the Codep. 47
Gentlemen, Start Your Compilers!p. 47
Installing Asterisk with Binariesp. 52
Installing Asterisk on Windowsp. 52
Getting Asterisk Win32p. 53
Installing AsteriskWin32p. 53
Starting AsteriskWin32p. 57
Starting and Using Asteriskp. 58
Starting Asteriskp. 58
Restarting and Stopping Asteriskp. 59
Updating Configuration Changesp. 60
Checklistp. 60
Summaryp. 61
Solutions Fast Trackp. 61
Links to Sitesp. 62
Frequently Asked Questionsp. 63
Configuring Asteriskp. 65
Introductionp. 66
Figuring Out the Filesp. 66
Configuring Your Dial Planp. 69
Contexts, Extensions, and Variables! Oh My!p. 70
Contextsp. 70
Extensionsp. 70
Variablesp. 73
Tying It All Togetherp. 74
Configuring extensions.aelp. 82
Using AEL to Write Your Extensionsp. 82
Configuring Your Connectionsp. 85
Connections, Connections, Connections!p. 85
Configuration File Conventionsp. 86
Configuration File Common Optionsp. 87
Users, Peers, and Friendsp. 87
Allowing and Disallowing Codecsp. 87
Including External Filesp. 88
Configuring SIP Connectionsp. 89
General SIP Settingsp. 89
Connecting to an SIP Serverp. 91
Setting Up an SIP Serverp. 93
Configuring IAX2 Connectionsp. 94
Connecting to an IAX2 Serverp. 94
Setting Up an IAX2 Serverp. 95
Configuring Zapata Connectionsp. 96
Setting Up a Wireline Connectionp. 96
Configuring Voice Mailp. 98
Configuring Voice-Mail Settingsp. 99
Configuring Mailboxesp. 99
Leaving and Retrieving Messagesp. 100
Provisioning Usersp. 101
Decision Timep. 102
Configuring Phone Connectionsp. 102
Configuring Extensionsp. 102
Configuring Voice Mailp. 103
Finishing Upp. 103
Configuring Music on Hold, Queues, and Conferencesp. 103
Configuring Music on Holdp. 103
Music on Hold Classesp. 104
Music on Hold and MP3sp. 105
Configuring Call Queuesp. 105
Setting Up a Call Queuep. 105
Getting Fancy with Call Queues and Agentsp. 106
Configuring MeetMep. 108
It's All about Timingp. 108
Setting Up a Conferencep. 109
Checklistp. 109
Summaryp. 110
Solutions Fast Trackp. 111
Links to Sitesp. 113
Frequently Asked Questionsp. 113
Writing Applications with Asteriskp. 115
Introductionp. 116
Calling Programs from within the Dial Planp. 116
Calling External Applications from the Dial Planp. 116
Example: The World's Largest Caller ID Displayp. 117
Writing Programs within the Dial Planp. 120
Using the Asterisk Gateway Interfacep. 120
AGI Basicsp. 120
STDIN, STDOUT, and STDERRp. 121
Commands and Return Codesp. 121
A Simple Programp. 123
Interacting with the Callerp. 126
Input to the Scriptp. 126
Output from the Scriptp. 127
Setting Up Your Script to Runp. 129
Using Third-Party AGI Librariesp. 130
Asterisk::AGIp. 130
A Simple Program, Simplified with Asterisk::AGIp. 130
Example: IMAP by Phonep. 131
phpAGIp. 134
A Simple Program, Simplified with phpAGIp. 134
Example: Server Checkerp. 135
Using Fast, Dead, and Extended AGIsp. 138
FastAGIp. 138
Setting Up a FastAGI Server with Asterisk::FastAGIp. 138
DeadAGIp. 140
EAGIp. 141
Checklistp. 141
Summaryp. 142
Solutions Fast Trackp. 142
Links to Sitesp. 144
Frequently Asked Questionsp. 145
Understanding and Taking Advantage of VoIP Protocolsp. 147
Introductionp. 148
Your Voice to Datap. 148
Making Your Voice Smallerp. 149
Session Initiation Protocolp. 150
Intra-Asterisk eXchange (IAX2)p. 154
Getting in the Thick of IAX2p. 155
Capturing the VoIP Datap. 156
Using Wiresharkp. 156
Extracting the VoIP Data with Wireshark (Method #1)p. 158
Extracting the VoIP Data with Wireshark (Method #2)p. 162
Getting VoIP Data by ARP Poisoningp. 165
Man in the Middlep. 169
Using Ettercap to ARP Poisonp. 170
Summaryp. 179
Solutions Fast Trackp. 179
Frequently Asked Questionsp. 181
Asterisk Hardware Ninjutsup. 183
Introductionp. 184
Serialp. 184
Serial "One-Way" AGIp. 184
Dual Serial Communicationsp. 190
Motionp. 196
The Idea behind the Codep. 198
Modemsp. 203
Fun with Dialingp. 206
War Dialingp. 206
iWar with VoIPp. 218
All Modems Are Not Alikep. 220
Legalities and Tipsp. 220
What You Can Findp. 221
Summaryp. 222
Solutions Fast Trackp. 222
Frequently Asked Questionsp. 224
Threats to VoIP Communications Systemsp. 225
Introductionp. 226
Denial-of-Service or VoIP Service Disruptionp. 226
Call Hijacking and Interceptionp. 233
ARP Spoofingp. 236
H.323-Specific Attacksp. 241
SIP-Specific Attacksp. 242
Summaryp. 243
Indexp. 245
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program