Show Menu
Cheatography

Test Cheat Sheet (DRAFT) by

Test Cheat Sheet - To delete

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Config File Format

Sections
The config files are broken into various section, with the section name surrounded by square brackets [ ]
[section-name]
settin­g=true
Settings
Inside of each section, you can assign values to various settings
[section-name]
setting=false
settin­g2=­value1
Objects
Objects inherit all the settings defined above them in the current section, and later settings override earlier settings.
[section-name]
some_o­bject => settings
Comments
Makes the config files easier to read, and can also be used to tempor­arily disable certain settings.
[section-name]
settin­g=false ; this is a comment
; this entire line is a comment
Block Comments
Block comments begin on one line, and continues for several lines.
;-- this is a block comment that begins on this line and continues across multiple lines, until we get to here --;
 

Asterisk Channels

In Asterisk, a channel is a commun­ica­tions path between Asterisk and another device.

Inbound and Outbound Channels

One phone dials another phone. The inbound channel is created from Alice's phone calling Asterisk. Asterisk then calls the extension dialed by Alice by creating an outbound channel to talk to Bob. Once the call is establ­ished the two channels are put into a bridge.