Asterisk Hacking

Connections are what make Asterisk useful. If there are no connections to Asterisk, you wouldn t be able to connect a phone or use a link to the outside, which really limits the things you can do with it. Asterisk, when first installed, actually has a connection to a demonstration server hosted by Digium. This connection shows how calls can be transferred via VoIP to a completely different server as easily as dialing a number, and gives you a taste of what can be accomplished. This connection, however, is a nice demonstration, but doesn t really have any use besides showing off what can be done with Asterisk. If you want to actually accomplish tasks, you will need to set up your own connections with the outside world.
Numerous files control the various protocols for Asterisk. Some protocols are commonly used in today s VoIP setups, while some are quite vestigial and are likely not to be used unless you have specialty hardware. Let s take a look at the various protocols supported by Asterisk (see Table 3.5).
| Protocol | Name | Notes |
|---|---|---|
| SIP | Session Initiation Protocol | Most common VoIP protocol. Used in numerous devices. |
| IAX | Inter Asterisk eXchange Protocol | Used primarily in connections between Asterisk servers. |
| SCCP | Skinny Client Control Protocol | Used in Cisco devices. |
| MGCP | Media Gateway Control Protocol | Used in some VoIP devices, notably D-Link. |
| H323 | H.323 Protocol | Used in some older VoIP devices. |
Each protocol is controlled by a...