Professional Documents
Culture Documents
●
Asterisk is a complete PBX in software.
●
Asterisk runs on Linux, BSD and M a cOSX and provides all of the
features you would expect from a PBX and more.
●
Asterisk 1does voice over IP in many protocols, and can
interoperate with almost all standards-based telephony
equipment using relatively inexpensive hardware.
●
Asterisk supports a wide range of TDM protocols for the handling and
transmission of voice over traditional telephony interfaces.
1
●
Asterisk supports US and European standard signaling types
used in standard business phone systems, allowing it to bridge
between next generation voice-data integrated networks and
existing infrastructure.
●
Asterisk not only supports traditional phone equipment, it
enhances them with additional capabilities.
●
Asterisk provides a central switching core, with four APIs for modular
loading of telephony applications, hardware interfaces, file format
handling, and codecs.
●
Asterisk allows for transparent switching between all
supported interfaces, allowing it to tie together a diverse
mixture of telephony systems into a single switching network.
2
Presentation Overview
● Overview of Telephony/VoIP.
● Programmability/extensibility.
● Supported Hardware.
3
Telephony
● IP Phones
● IP / Hybird PBX's
6
Linux Telephony Clients
7
Linux Telephony Servers
● Openh323.org : -
Tool Kit/Lib for h323
-OPAL-Open Phone Abstraction Layer
8
Introduction to Asterisk
Asterisk is an Open Source hybrid TDM and packet voice PBX and IVR
platform with ACD functionality...
Asterisk is fully Open Source Written in C not C++. GPL, & Non-GPL Lic's
9
Asterisk Features
10
Asterisk Features (in English)
11
Asterisk Features (continued)
12
Asterisk Features(continued)
13
The Asterisk Dialplan
14
Extension Contexts
● Group of extensions
● Extensions may exist in more than one context
● Contexts can include other contexts
● Macros can simplify similar extensions
● External switches may augment dial plan
15
Uses of Extension Contexts
16
Extensions
17
Extension Names
18
Special Extensions
● 's' the start extension, where calls begin when no digits are available
● 't' the timeout extension, where calls begin when not enough digits are entered
● 'i' the invalid extension, when an invalid extension is entered
● 'o' the operator extension
● 'h' the hangup extension, when channel is disconnected
● 'fax' the fax extension id cng tone detected
19
Applications-Major
20
Dial Application-Helpers
21
Simple Extension w/ Voicemail
22
Extension with Tax Man
23
Example: Operator
24
Example: Least Cost Routing (LCR)
Dial VoIP through other IAX host oh ( including the nine). If that's
busy, try connecting the call viaon any Group 2 interface, this time
dropping the 9 . Finally generate congestion tone.
25
Example: AGI Integration
[ringback]
[default]
When extension 1235 is dialed, the call is sent into the 'ringbak'
context which eventually calls a script to call the user and dump
27
them into the DISA (with a password) when they answer.
Example: Macro
[macro-stdexten]
[default]
Extension 1234 and 1235 are essentially identical, dialing one (and
two) interfaces for up to 20 seconds, and doing voicemail.
VoiceMail application takes a mailbox # argument, we assign
exten # & voicemailbox the same number 28
Configuration Files
29
Config File Syntax
– variable = value
– object => parameter
● Grammar categories
30
Interface Config: zapata.conf
[channels]
signalling = fxo_ks
threewaycalling = yes
channel => 9
callwaiting = no
channel => 10
callerid = asreceived
signalling = fxs_ks
31
[globals]
; global variables
FRONTDESK=Zap/1
SALES1=Zap/2
[context]
32
exten => s,4,Voicemail(u6275)
Individual Entities: iax.conf
[general]
portno = 5036
[RemoteOffice]
type=friend
secret=mypass
[Joe]
type=friend
host = dynamic
33
Programmability/Extensibility
●C-level API
34
Why Asterisk for Telecom?
35
Support Hardware / Protocols
36
Supported Hardware (continued)
37
Hands On Asterisk
●Examples
– Direct IAX Dial, IAXTel VoIP Dial
– Auto Attendant
– Transfer/Parking/Call Forwarding
– Voice Mail
– ADSI Phone Menu System
– Conference Bridge
– Direct Inward System Access(DISA)
38
More Resources for Asterisk
39
Top Ten Reasons to Run Asterisk
40
Number 10
41
Number 9
Dial-an-MP3
42
Number 8
43
Number 7
44
Number 6
45
Number 5
46
Number 4
47
Number 3
48
Number 2
49
Number 1
50
Thank You
Hands On
http://www.asterisk.org
51