Say Hello To Asterisk Steven Sokol, Asterisk Marketing Director
Welcome To Asterisk
2
A Brief History Of Asterisk
3
The Asterisk Software ast_cli(a->fd, "\n\n");! return CLI_SUCCESS;! }! static char *handle_show_threads(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)! {! int count = 0;! struct thread_list_t *cur;! switch (cmd) {! case CLI_INIT:! e->command = "core show threads";! e->usage =! "Usage: core show threads\n"! " List threads currently active in the system.\n";! return NULL;! case CLI_GENERATE:! return NULL;! }! AST_RWLIST_RDLOCK(&thread_list);! AST_RWLIST_TRAVERSE(&thread_list, cur, list) {! ast_cli(a->fd, "%p %s\n", (void *)cur->id, cur->name);! count++;! }! AST_RWLIST_UNLOCK(&thread_list);! ast_cli(a->fd, "%d threads listed.\n", count);! return CLI_SUCCESS;! }! #if defined(HAVE_SYSINFO)! /*! \brief Give an overview of system statistics */! static char *handle_show_sysinfo(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)! {! struct sysinfo sys_info;! switch (cmd) {! case CLI_INIT:! 4
What Is Asterisk?
5
What Is Asterisk?
=
6
Simple Applications Basic Web Page (HTML) <html>! <head>! </head>!
Basic Extension (Dialplan Script) exten exten exten exten
=> => => =>
100,1,Answer()! 100,n,Wait(1)! 100,n,PlayBack(hello) ! 100,n,Hangup()
<body>! <h1>Hello World</h1>! </body>! </html>!
7
Complex Applications Complex Web Applications
Complex Telephony Applications
8
Asterisk Success Factors
• Linux Administration • TCP/IP Networking • VoIP & Legacy Telephony • Script Programming
9
What Is Asterisk?
10
Asterisk: Platform Hardware
11
Asterisk: Operating Systems
12
Asterisk: System Service (Daemon)
ast_cli(a->fd, "\n\n");! return CLI_SUCCESS;! }! static char *handle_show_threads(struct ast_cli_entry *e, int cmd, struct ast_cli! {! int count = 0;! struct thread_list_t *cur;! switch (cmd) {! case CLI_INIT:! e->command = "core show threads";! e->usage =! "Usage: core show threads\n"! " List threads currently active in the system.\n";! return NULL;! case CLI_GENERATE:! return NULL;! }! AST_RWLIST_RDLOCK(&thread_list);! AST_RWLIST_TRAVERSE(&thread_list, cur, list) {! ast_cli(a->fd, "%p %s\n", (void *)cur->id, cur->name);! count++;! }! AST_RWLIST_UNLOCK(&thread_list);!
13
Asterisk: Modular Channels
14
Asterisk: Modular Resources
15
Asterisk: Command Line Interface
16
Asterisk: Applications & Functions
17
Asterisk: Dialplan Scripts
[default]! exten => 100,1,Answer()! exten => 100,n,Wait(1)! exten => 100,n,Playback(! exten => 100,n,Dial(SIP/! exten => 100,n,Hangup()! include -> local!
18
Asterisk: Manager Interface (CTI)
[default]! exten => 100,1,Answer()! exten => 100,n,Wait(1)! exten => 100,n,Playback(! exten => 100,n,Dial(SIP/! exten => 100,n,Hangup()! include -> local!
19
Asterisk Call Flow
20
Asterisk: Call Processing Ring!
101
SIP Phone ABC Extension 100
SIP Channel Driver
SIP Phone XYZ Extension 101
PBX Engine
SIP Channel Driver
sip.conf
extensions.conf
[ABC]! type = friend! host = dynamic! context = inside!
[inside]! exten => 101,1,Dial(SIP/XYZ, 20)! exten => 101,n,Voicemail(101)! exten => 102,1,Dial(SIP/PDQ, 20)! exten => 102,n,Voicemail(102)! 21
Asterisk: Connectivity
VoIP – Ethernet Port PSTN – Card Slots
22
Asterisk Solutions: PBX
23
Digium’s Asterisk-Based Switchvox PBX And Now A Word From Our Sponsors…
http://www.digium.com/switchvox 24
Digiumâ&#x20AC;&#x2122;s AsteriskNOW
25
Asterisk Applications: VoIP Gateway
26
Asterisk Applications: IVR
27
Asterisk Applications: Call Center
28
Asterisk Applications: Conference Bridge
29
Getting Involved
30
The Asterisk Project
http://www.asterisk.org 31
The Asterisk Project: Downloads
http://www.asterisk.org 32
The Asterisk Project: Community
http://www.asterisk.org/community 33
The Asterisk Project: Applications
http://www.asterisk.org/applications 34
The Asterisk Project: Developers
http://www.asterisk.org/developers 35
The Asterisk Project: Documentation
http://www.asterisk.org/docs http://wiki.asterisk.org 36
The Asterisk Project: Support
http://www.asterisk.org/support 37
AsteriskForge â&#x20AC;&#x201C; The Development Center
http://forge.asterisk.org 38
AsteriskExchange â&#x20AC;&#x201C; The Marketplace
http://www.asteriskexchange.com 39
AstriCon â&#x20AC;&#x201C; The Community Conference
http://www.astricon.net 40
Digium â&#x20AC;&#x201C; The Asterisk Company
http://www.digium.com 41
Getting Started: The Asterisk Book Download a PDF copy for free: http://www.asterisk.org/support Or buy at Amazon, Borders, etc.
42
Asterisk Training & Certification
http://www.digium.com/en/training/ 43
Recap 1. Asterisk is an open source telephony engine, project and community. 2. The Asterisk software transforms commodity computers into powerful communications servers. 3. Asterisk is similar in concept to the Apache web server: it is the engine that powers applications rather than an application itself. 4. Asterisk can be configured to perform many different communications functions including powering PBX systems, ACDs, voicemail systems, automated attendants and IVR servers. 5. Asterisk is ideal for building custom telephony solutions or communications products. 6. Asterisk is surrounded by a vibrant community of users, developers, integrators, an entrepreneurs.
Polls Three quick polls about your interests in Asterisk.
Questions? Please use the webinar systemâ&#x20AC;&#x2122;s question box.
Download This Presentation: http://www.asterisk.org/files/say_hello_to_asterisk.pdf