SlideShare a Scribd company logo
1 of 23
Introduction to Asterisk
Or: How to spend 2 months on the phone
kingasterisk (king@kingasterisk.com)
http://www.kingasterisk.com/
kingasterisk Technologies, India
Agenda
•

What is Asterisk?

•

What is Asterisk NOT?

•

What do you want to do? (goals, budget, user
requirements)

•

PBX Replacement

•

Super-Brief Examples
What is Asterisk?
•

a conversion gateway for...
–

physical media (C-T1, PRI, FXO, FSX, IP)

–

protocol (TDM,SIP,H.323,IAX,MGCP,SCCP)

–

codec (G.729,G.711,GSM,ILBC,G.726, etc.)

•

an IVR/user interface application server

•

a lot more (conferencing, recording, etc.)
What is Asterisk? (cont’d)
•

open-source (GPL + exceptions)

•

blessed (cursed?) with an extremely active
user community

•

easily extended with Perl/C/Python/etc. or
apps written (typically C)

•

flexible enough to do almost any
telecommunications task (blessing/curse
again)
What is Asterisk not?
•

not a SIP proxy (subtle, yet important)

•

not a billing system

•

not an OSS (Operational Support System)

•

not a natively database-driven system

•

not an email tool or USENET browser (yet)

•

not easily configured without command-line interaction
PBX Replacement!
•

Primary stated goal is to be a *NIX based
PBX replacement

•

Multiple desksets, multiple “inbound line”
support (hundreds or thousands)

•

Features are comparable to or better than
most PBX systems (even VoIP-enabled
ones); some assembly required
What do you need to run
Asterisk?
•

Ugly answer: “That depends.”

•

Easy answer: Dedicated P4 2.0ghz with good IRQ
support and 1 X100P card (from Digium at around
$110)

•

Linux (RH 9.0, Debian are good choices; *BSD
support is there, but shaky)

•

Low-jitter, low-loss bandwidth to SIP endpoints
(desktops and/or upstreams)
How big?
•

MORE ugly answers: “That depends.”

•

If the server is just a SIP redirector, then you
can scale quite large (tens of thousands?)

•

Figure 8:1 to 10:1 ratio for offhook users

•

Word of the day: Erlangs

•

Rule of thumb for g.729 transcoding:
2x Xeon 3ghz = 100 users
Typical VoIP Installation
Cost Points
•

Server for Asterisk (plus backup, if you’re sane) $???

•

T1 PRI card for Asterisk (~$500)

•

SIP devices for desktop users (ranges widely - figure
$120 per user to be safe, for analog lines)

•

Termination agreement with carrier(s) - ranges widely
- figure $.025 for US traffic, worst-case (prices drop
radically with volume)
CPE
•

Analog adapters (VOIP Inc., Sipura, Cisco,
Grandstream, etc.)
–

•

Typically between $80 and $120 (2 port)

Digital Handsets (Cisco, Polycom, Snom,
Pingtel, Grandstream)
–

Typically around $300 (YGWYPF)
Why are you changing,
anyway?
•

Implement based on price, expand based on
features.

•

Long Distance will soon become a commodity (i.e.:
invisible) but features of the system will always be
visible to users

•

Integration of telephony into other business systems
is gradual and subtle; start with something that is
open so you can expand as you need.
What new stuff are you
providing?
•

FEATURES! Don’t get hung up on building just a
“replacement” service. Implement phone++ services
which are “easily” implemented with Asterisk (given
time, patience, and Perl)

•

Sample of services: phone spam blocking, inbound
call redirection based on CLID, time-of-day routing,
IM integration of VM notices, VM-to-email, busy line
redirection, multi-number custom ringers
What do they see?
•

Remember: the visibility of the customer is
very limited. They see:
–

Deskset (equipment) and features

–

Call Quality/Call completion

–

Price (if they’re the CFO)
Non-PBX * Use
•

Extremely low bandwidth call relay (PRI-to-PRI via
VoIP) via 802.11b or long-haul WAN

•

Dating services/voicemail services

•

Text-to-speech service (Nagios, weather, etc.)

•

Call centers (inbound or outbound)

•

Calling cards
Startup Notes
or: how to really annoy your [spouse/co-workers]
•

Recommended setup for beginners:
–
–

X100P card (Digium ~$110)

–

•

PIII 700mhz or faster machine

2 SIP devices (Sipura, Cisco ATA-186, Cisco
79[60, 40, 05, 12]) - $100-$300

Test on your own line or home first, then expose to
the office
How it goes together:

Channels
SIP

(etc.)

Zap

Context: from-sip

Context: from-zap

Context: from-blah

Extension: 1234

Extension: (none)

Extension: 8989

Priority: 1

Priority: 1

Priority: 1

(to extensions.conf)
sip.conf
[2000]
type=friend
host=dynamic
context=from-sip
secret=mysecret
[2001]
type=friend
host=dynamic
context=from-sip
secret=moresecret
extensions.conf

(calls from SIP channel
configs end up here)

; This is where we handle our SIP calls
[from-sip]
exten => 1234,1,Answer
exten => 1234,2,Playback(tt-monkeys)
exten => 1234,3,Hangup
;
exten => _20XX,1,Dial(SIP/${EXTEN},30,r)
exten => _20XX,2,Goto(from-sip,${EXTEN},102)
exten => _20XX,102,Voicemail(b${EXTEN})
exten => _20XX,103,Hangup
;
exten => t,1,Hangup
exten => h,1,Hangup
Most-Used Applications
•

Dial - tries to make a new call, and then connects
current channel with new call if successful

•

Goto - allows arbitrary leaps between contexts and
priorities; allows modification of current extension

•

Background - plays a file to current channel;
interprets DTMF input
Magic with “Include”
•

Contexts are NOT parsed in the order they
appear

•

Break up large contexts into smaller contexts
and then use “include => <context>” in the
“main” context

•

This helps your sanity, as well.
Wrong
[main]
exten =>
exten =>
exten =>
exten =>

_X11,1,Dial(Zap/1/${EXTEN},500,r)
_9.,1,Dial(SIP/${EXTEN}@mysipprovider,60,r)
_011.,1,Dial(SIP/${EXTEN:3}@int-sip,60,r)
h,1,Hangup
Right
[main]
include => emergency
include => outside-line
include => international
exten => h,1,Hangup
[emergency]
exten => _X11,1,Dial(Zap/1/${EXTEN},500,r)
[outside-line]
exten => _9.,1,Dial(SIP/${EXTEN}@mysipprovider,60,r)
[international]
exten => _011.,1,Dial(SIP/${EXTEN:3}@int-sip,60,r)
Links
•

http://www.asterisk.org/

•

http://www.voip-info/wiki-Asterisk

•

http://www.loligo.com/asterisk/

•

http://www.onlamp.com/pub/a/onlamp/2003/0
7/03/asterisk.html

•

http://www.digium.com/

•

http://www.asteriskdocs.org/

•

http://www.kingasterisk.com

More Related Content

What's hot

5G wireless technology ppt
5G wireless technology ppt5G wireless technology ppt
5G wireless technology pptHanamanta N B
 
Radio-Over-IP Presentation
Radio-Over-IP PresentationRadio-Over-IP Presentation
Radio-Over-IP PresentationBriCom Solutions
 
Chapter4 data linklayer
Chapter4 data linklayerChapter4 data linklayer
Chapter4 data linklayerNghia Simon
 
Báo cáo thực tập tuần 4 ospf đàm văn sáng
Báo cáo thực tập tuần 4 ospf  đàm văn sángBáo cáo thực tập tuần 4 ospf  đàm văn sáng
Báo cáo thực tập tuần 4 ospf đàm văn sángĐàm Văn Sáng
 
What is VoIP and How it works?
What is VoIP and How it works?What is VoIP and How it works?
What is VoIP and How it works?broadconnect
 
Thông tin quang_coherent
Thông tin quang_coherentThông tin quang_coherent
Thông tin quang_coherentVinh Nguyen
 
xử lý số tín hiệu -Chuong 4
xử lý số tín hiệu -Chuong 4xử lý số tín hiệu -Chuong 4
xử lý số tín hiệu -Chuong 4Ngai Hoang Van
 
Voice over internet protocol (VoIP)
 Voice over internet protocol (VoIP)  Voice over internet protocol (VoIP)
Voice over internet protocol (VoIP) Namra Afzal
 
Tài liệu Full VOIP
Tài liệu Full VOIPTài liệu Full VOIP
Tài liệu Full VOIPThanh Sơn
 
VoIP with Opensips
VoIP with OpensipsVoIP with Opensips
VoIP with OpensipsTrần Thanh
 
Kalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumKalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumJonas Bonér
 
150 câu trắc nghiệm hệ thống viễn thông hệ đại học
150 câu trắc nghiệm hệ thống viễn thông hệ đại học150 câu trắc nghiệm hệ thống viễn thông hệ đại học
150 câu trắc nghiệm hệ thống viễn thông hệ đại họcdinhvan12345
 
Voip powerpoint
Voip powerpointVoip powerpoint
Voip powerpointGW1992
 
CCNA 200-301 IPv6 addressing and subnetting MCQs Collection
CCNA 200-301 IPv6 addressing and subnetting MCQs CollectionCCNA 200-301 IPv6 addressing and subnetting MCQs Collection
CCNA 200-301 IPv6 addressing and subnetting MCQs CollectionCAS
 
Attachments 17 12_2009
Attachments 17 12_2009Attachments 17 12_2009
Attachments 17 12_2009Doan Nguyên
 
Nghiên Cứu Phân Hệ Thông Tin Vệ Tinh VINASAT1
Nghiên Cứu Phân Hệ Thông Tin Vệ Tinh VINASAT1Nghiên Cứu Phân Hệ Thông Tin Vệ Tinh VINASAT1
Nghiên Cứu Phân Hệ Thông Tin Vệ Tinh VINASAT1Hưng Lê
 

What's hot (20)

5G wireless technology ppt
5G wireless technology ppt5G wireless technology ppt
5G wireless technology ppt
 
Radio-Over-IP Presentation
Radio-Over-IP PresentationRadio-Over-IP Presentation
Radio-Over-IP Presentation
 
Chapter4 data linklayer
Chapter4 data linklayerChapter4 data linklayer
Chapter4 data linklayer
 
Báo cáo thực tập tuần 4 ospf đàm văn sáng
Báo cáo thực tập tuần 4 ospf  đàm văn sángBáo cáo thực tập tuần 4 ospf  đàm văn sáng
Báo cáo thực tập tuần 4 ospf đàm văn sáng
 
What is VoIP and How it works?
What is VoIP and How it works?What is VoIP and How it works?
What is VoIP and How it works?
 
Thông tin quang_coherent
Thông tin quang_coherentThông tin quang_coherent
Thông tin quang_coherent
 
xử lý số tín hiệu -Chuong 4
xử lý số tín hiệu -Chuong 4xử lý số tín hiệu -Chuong 4
xử lý số tín hiệu -Chuong 4
 
VoIP-FusionPBX
VoIP-FusionPBXVoIP-FusionPBX
VoIP-FusionPBX
 
Gi fi Technology
Gi fi TechnologyGi fi Technology
Gi fi Technology
 
Voice over internet protocol (VoIP)
 Voice over internet protocol (VoIP)  Voice over internet protocol (VoIP)
Voice over internet protocol (VoIP)
 
Tài liệu Full VOIP
Tài liệu Full VOIPTài liệu Full VOIP
Tài liệu Full VOIP
 
VoIP with Opensips
VoIP with OpensipsVoIP with Opensips
VoIP with Opensips
 
Kalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge ContinuumKalix: Tackling the The Cloud to Edge Continuum
Kalix: Tackling the The Cloud to Edge Continuum
 
150 câu trắc nghiệm hệ thống viễn thông hệ đại học
150 câu trắc nghiệm hệ thống viễn thông hệ đại học150 câu trắc nghiệm hệ thống viễn thông hệ đại học
150 câu trắc nghiệm hệ thống viễn thông hệ đại học
 
Voip
VoipVoip
Voip
 
Voip powerpoint
Voip powerpointVoip powerpoint
Voip powerpoint
 
CCNA 200-301 IPv6 addressing and subnetting MCQs Collection
CCNA 200-301 IPv6 addressing and subnetting MCQs CollectionCCNA 200-301 IPv6 addressing and subnetting MCQs Collection
CCNA 200-301 IPv6 addressing and subnetting MCQs Collection
 
Attachments 17 12_2009
Attachments 17 12_2009Attachments 17 12_2009
Attachments 17 12_2009
 
Nghiên Cứu Phân Hệ Thông Tin Vệ Tinh VINASAT1
Nghiên Cứu Phân Hệ Thông Tin Vệ Tinh VINASAT1Nghiên Cứu Phân Hệ Thông Tin Vệ Tinh VINASAT1
Nghiên Cứu Phân Hệ Thông Tin Vệ Tinh VINASAT1
 
6G Communication
6G Communication6G Communication
6G Communication
 

Viewers also liked (13)

Vistos
VistosVistos
Vistos
 
Asterisksecuritykingasterisk 130723131448-phpapp01
Asterisksecuritykingasterisk 130723131448-phpapp01Asterisksecuritykingasterisk 130723131448-phpapp01
Asterisksecuritykingasterisk 130723131448-phpapp01
 
入塾しおり
入塾しおり入塾しおり
入塾しおり
 
Best Motivational Quotes
Best Motivational QuotesBest Motivational Quotes
Best Motivational Quotes
 
Recurso
RecursoRecurso
Recurso
 
What Is IVR ?
What Is IVR ?What Is IVR ?
What Is IVR ?
 
Stuart Patterson Project Experience
Stuart Patterson Project ExperienceStuart Patterson Project Experience
Stuart Patterson Project Experience
 
Voiceblast manual
Voiceblast manualVoiceblast manual
Voiceblast manual
 
公立中高一貫受検ガイド
公立中高一貫受検ガイド公立中高一貫受検ガイド
公立中高一貫受検ガイド
 
Voip
VoipVoip
Voip
 
Tolimosios rytų šalys (kinija)
Tolimosios rytų šalys (kinija)Tolimosios rytų šalys (kinija)
Tolimosios rytų šalys (kinija)
 
Asterisk quick start Guide
Asterisk quick start Guide Asterisk quick start Guide
Asterisk quick start Guide
 
IVR presentation
IVR  presentationIVR  presentation
IVR presentation
 

Similar to Asterisk Introduction

PRI-Gateway (SI3D systems)
PRI-Gateway (SI3D systems)PRI-Gateway (SI3D systems)
PRI-Gateway (SI3D systems)SI3D systems
 
Asterisk - Glen Bastes
Asterisk - Glen BastesAsterisk - Glen Bastes
Asterisk - Glen Bastessoss
 
Hardware Digium y Elastix - una combinación perfecta
Hardware Digium y Elastix - una combinación perfectaHardware Digium y Elastix - una combinación perfecta
Hardware Digium y Elastix - una combinación perfectaOpenDireito
 
voip2day 2012 - Hardware digium y elastix, una combinación perfecta by steve...
voip2day 2012 - Hardware digium y elastix, una combinación perfecta by  steve...voip2day 2012 - Hardware digium y elastix, una combinación perfecta by  steve...
voip2day 2012 - Hardware digium y elastix, una combinación perfecta by steve...VOIP2DAY
 
Shoot the Bird: Linear Broadcast Distribution on AWS by Usman Shakeel of Amaz...
Shoot the Bird: Linear Broadcast Distribution on AWS by Usman Shakeel of Amaz...Shoot the Bird: Linear Broadcast Distribution on AWS by Usman Shakeel of Amaz...
Shoot the Bird: Linear Broadcast Distribution on AWS by Usman Shakeel of Amaz...ETCenter
 
3 fl00276 wb_ed01_p012_7302-isam
3 fl00276 wb_ed01_p012_7302-isam3 fl00276 wb_ed01_p012_7302-isam
3 fl00276 wb_ed01_p012_7302-isamNguynTy5
 
Voice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskVoice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskSameer Verma
 
3 fl00276 wb ed01 p07 7302 isam r2.x
3 fl00276 wb ed01 p07 7302 isam r2.x3 fl00276 wb ed01 p07 7302 isam r2.x
3 fl00276 wb ed01 p07 7302 isam r2.xNguynTy5
 
SIP dilivery methods and ROI
SIP dilivery methods and ROISIP dilivery methods and ROI
SIP dilivery methods and ROImarkbiltonsmith
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsOlle E Johansson
 
Designing High Performance RTC Signaling Servers
Designing High Performance RTC Signaling ServersDesigning High Performance RTC Signaling Servers
Designing High Performance RTC Signaling ServersDaniel-Constantin Mierla
 
Advanced radio over IP
Advanced radio over IPAdvanced radio over IP
Advanced radio over IPComms Connect
 
Asterisk PBX Presentation, 2006
Asterisk PBX Presentation, 2006Asterisk PBX Presentation, 2006
Asterisk PBX Presentation, 2006Erkhembaatar M.
 
Albert Chen Work experience20150722
Albert Chen Work experience20150722Albert Chen Work experience20150722
Albert Chen Work experience20150722Yu Yong Chen
 

Similar to Asterisk Introduction (20)

PRI-Gateway (SI3D systems)
PRI-Gateway (SI3D systems)PRI-Gateway (SI3D systems)
PRI-Gateway (SI3D systems)
 
Asterisk - Glen Bastes
Asterisk - Glen BastesAsterisk - Glen Bastes
Asterisk - Glen Bastes
 
Hardware Digium y Elastix - una combinación perfecta
Hardware Digium y Elastix - una combinación perfectaHardware Digium y Elastix - una combinación perfecta
Hardware Digium y Elastix - una combinación perfecta
 
voip2day 2012 - Hardware digium y elastix, una combinación perfecta by steve...
voip2day 2012 - Hardware digium y elastix, una combinación perfecta by  steve...voip2day 2012 - Hardware digium y elastix, una combinación perfecta by  steve...
voip2day 2012 - Hardware digium y elastix, una combinación perfecta by steve...
 
Applied VoIP Security
Applied VoIP Security Applied VoIP Security
Applied VoIP Security
 
Shoot the Bird: Linear Broadcast Distribution on AWS by Usman Shakeel of Amaz...
Shoot the Bird: Linear Broadcast Distribution on AWS by Usman Shakeel of Amaz...Shoot the Bird: Linear Broadcast Distribution on AWS by Usman Shakeel of Amaz...
Shoot the Bird: Linear Broadcast Distribution on AWS by Usman Shakeel of Amaz...
 
3 fl00276 wb_ed01_p012_7302-isam
3 fl00276 wb_ed01_p012_7302-isam3 fl00276 wb_ed01_p012_7302-isam
3 fl00276 wb_ed01_p012_7302-isam
 
Voice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using AsteriskVoice over Internet Protocol (VoIP) using Asterisk
Voice over Internet Protocol (VoIP) using Asterisk
 
3 fl00276 wb ed01 p07 7302 isam r2.x
3 fl00276 wb ed01 p07 7302 isam r2.x3 fl00276 wb ed01 p07 7302 isam r2.x
3 fl00276 wb ed01 p07 7302 isam r2.x
 
SIP dilivery methods and ROI
SIP dilivery methods and ROISIP dilivery methods and ROI
SIP dilivery methods and ROI
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installations
 
Tt105 datasheet.
Tt105 datasheet.Tt105 datasheet.
Tt105 datasheet.
 
Designing High Performance RTC Signaling Servers
Designing High Performance RTC Signaling ServersDesigning High Performance RTC Signaling Servers
Designing High Performance RTC Signaling Servers
 
VOIP security
VOIP securityVOIP security
VOIP security
 
IP PHONES - *astTECS
IP PHONES - *astTECSIP PHONES - *astTECS
IP PHONES - *astTECS
 
Ruby voip
Ruby voipRuby voip
Ruby voip
 
Advanced radio over IP
Advanced radio over IPAdvanced radio over IP
Advanced radio over IP
 
Sangoma Vega Gateway Training Presentation
Sangoma Vega Gateway Training PresentationSangoma Vega Gateway Training Presentation
Sangoma Vega Gateway Training Presentation
 
Asterisk PBX Presentation, 2006
Asterisk PBX Presentation, 2006Asterisk PBX Presentation, 2006
Asterisk PBX Presentation, 2006
 
Albert Chen Work experience20150722
Albert Chen Work experience20150722Albert Chen Work experience20150722
Albert Chen Work experience20150722
 

Recently uploaded

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 

Recently uploaded (20)

ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 

Asterisk Introduction

  • 1. Introduction to Asterisk Or: How to spend 2 months on the phone kingasterisk (king@kingasterisk.com) http://www.kingasterisk.com/ kingasterisk Technologies, India
  • 2. Agenda • What is Asterisk? • What is Asterisk NOT? • What do you want to do? (goals, budget, user requirements) • PBX Replacement • Super-Brief Examples
  • 3. What is Asterisk? • a conversion gateway for... – physical media (C-T1, PRI, FXO, FSX, IP) – protocol (TDM,SIP,H.323,IAX,MGCP,SCCP) – codec (G.729,G.711,GSM,ILBC,G.726, etc.) • an IVR/user interface application server • a lot more (conferencing, recording, etc.)
  • 4. What is Asterisk? (cont’d) • open-source (GPL + exceptions) • blessed (cursed?) with an extremely active user community • easily extended with Perl/C/Python/etc. or apps written (typically C) • flexible enough to do almost any telecommunications task (blessing/curse again)
  • 5. What is Asterisk not? • not a SIP proxy (subtle, yet important) • not a billing system • not an OSS (Operational Support System) • not a natively database-driven system • not an email tool or USENET browser (yet) • not easily configured without command-line interaction
  • 6. PBX Replacement! • Primary stated goal is to be a *NIX based PBX replacement • Multiple desksets, multiple “inbound line” support (hundreds or thousands) • Features are comparable to or better than most PBX systems (even VoIP-enabled ones); some assembly required
  • 7. What do you need to run Asterisk? • Ugly answer: “That depends.” • Easy answer: Dedicated P4 2.0ghz with good IRQ support and 1 X100P card (from Digium at around $110) • Linux (RH 9.0, Debian are good choices; *BSD support is there, but shaky) • Low-jitter, low-loss bandwidth to SIP endpoints (desktops and/or upstreams)
  • 8. How big? • MORE ugly answers: “That depends.” • If the server is just a SIP redirector, then you can scale quite large (tens of thousands?) • Figure 8:1 to 10:1 ratio for offhook users • Word of the day: Erlangs • Rule of thumb for g.729 transcoding: 2x Xeon 3ghz = 100 users
  • 9. Typical VoIP Installation Cost Points • Server for Asterisk (plus backup, if you’re sane) $??? • T1 PRI card for Asterisk (~$500) • SIP devices for desktop users (ranges widely - figure $120 per user to be safe, for analog lines) • Termination agreement with carrier(s) - ranges widely - figure $.025 for US traffic, worst-case (prices drop radically with volume)
  • 10. CPE • Analog adapters (VOIP Inc., Sipura, Cisco, Grandstream, etc.) – • Typically between $80 and $120 (2 port) Digital Handsets (Cisco, Polycom, Snom, Pingtel, Grandstream) – Typically around $300 (YGWYPF)
  • 11. Why are you changing, anyway? • Implement based on price, expand based on features. • Long Distance will soon become a commodity (i.e.: invisible) but features of the system will always be visible to users • Integration of telephony into other business systems is gradual and subtle; start with something that is open so you can expand as you need.
  • 12. What new stuff are you providing? • FEATURES! Don’t get hung up on building just a “replacement” service. Implement phone++ services which are “easily” implemented with Asterisk (given time, patience, and Perl) • Sample of services: phone spam blocking, inbound call redirection based on CLID, time-of-day routing, IM integration of VM notices, VM-to-email, busy line redirection, multi-number custom ringers
  • 13. What do they see? • Remember: the visibility of the customer is very limited. They see: – Deskset (equipment) and features – Call Quality/Call completion – Price (if they’re the CFO)
  • 14. Non-PBX * Use • Extremely low bandwidth call relay (PRI-to-PRI via VoIP) via 802.11b or long-haul WAN • Dating services/voicemail services • Text-to-speech service (Nagios, weather, etc.) • Call centers (inbound or outbound) • Calling cards
  • 15. Startup Notes or: how to really annoy your [spouse/co-workers] • Recommended setup for beginners: – – X100P card (Digium ~$110) – • PIII 700mhz or faster machine 2 SIP devices (Sipura, Cisco ATA-186, Cisco 79[60, 40, 05, 12]) - $100-$300 Test on your own line or home first, then expose to the office
  • 16. How it goes together: Channels SIP (etc.) Zap Context: from-sip Context: from-zap Context: from-blah Extension: 1234 Extension: (none) Extension: 8989 Priority: 1 Priority: 1 Priority: 1 (to extensions.conf)
  • 18. extensions.conf (calls from SIP channel configs end up here) ; This is where we handle our SIP calls [from-sip] exten => 1234,1,Answer exten => 1234,2,Playback(tt-monkeys) exten => 1234,3,Hangup ; exten => _20XX,1,Dial(SIP/${EXTEN},30,r) exten => _20XX,2,Goto(from-sip,${EXTEN},102) exten => _20XX,102,Voicemail(b${EXTEN}) exten => _20XX,103,Hangup ; exten => t,1,Hangup exten => h,1,Hangup
  • 19. Most-Used Applications • Dial - tries to make a new call, and then connects current channel with new call if successful • Goto - allows arbitrary leaps between contexts and priorities; allows modification of current extension • Background - plays a file to current channel; interprets DTMF input
  • 20. Magic with “Include” • Contexts are NOT parsed in the order they appear • Break up large contexts into smaller contexts and then use “include => <context>” in the “main” context • This helps your sanity, as well.
  • 21. Wrong [main] exten => exten => exten => exten => _X11,1,Dial(Zap/1/${EXTEN},500,r) _9.,1,Dial(SIP/${EXTEN}@mysipprovider,60,r) _011.,1,Dial(SIP/${EXTEN:3}@int-sip,60,r) h,1,Hangup
  • 22. Right [main] include => emergency include => outside-line include => international exten => h,1,Hangup [emergency] exten => _X11,1,Dial(Zap/1/${EXTEN},500,r) [outside-line] exten => _9.,1,Dial(SIP/${EXTEN}@mysipprovider,60,r) [international] exten => _011.,1,Dial(SIP/${EXTEN:3}@int-sip,60,r)