SlideShare uma empresa Scribd logo
1 de 17
1/17
Asterisk @ CMU
Everything you needed to know
to connect your dialog system to
the world (but were afraid to ask)
2/17
Dialog Systems
 You’ve got it up and running – it works great!
 On your PC
 Now you decide to let anyone call it up
 Current approach: Gentner boxes
 Dialog server connected directly to phone line
 Old technology, many issues with audio quality
 Huge inertia in setting up new systems
 Many, many experience people will tell you:
 THIS IS A BAD SOLUTION!
3/17
A Picture Paints A Thousand Words
4/17
Asterisk: The Optimal Solution
Internet
Olympus-running Dialog Systems
5/17
Asterisk
 Fully open source
 Fully compliant with open standards
 H.263 / RFCxyz / ulaw / … [Ignore most of this]
 SIP
 Allows a variety of setups
6/17
Asterisk Setup
 It’s been done
 Asterisk@Home
 Self-contained Linux + Asterisk installation
 FX100P phone interface with Zaptel drivers
 Aka Voicemodem
 Pretty sucky quality
 Luckily, Asterisk does some echo cancellation
 Virtual digital assistant
 “Press 1 for email, 2 for schedule, 3 for …”
7/17
Asterisk with Olympus
 What you need to do
 Read up on SIP
 Tell me about it
 Implement a SIP-compliant interface for Olympus
 Manages session stuff
 New call
 Hang up
 Transfer call?
 Manages Audio I/O
8/17
Asterisk Lingo
 Extensions
 For us, these are all SIP
 These are equivalent to phone lines in the real
world
 One SIP extension per dialog system
 200 – Roomline
 300 – Let’s Go!
 400 – Sublime
 …
9/17
Asterisk Lingo
10/17
Asterisk Lingo
 Trunks
 Regular phone lines
 Right now we only have one
 Zaptel drivers make it work
11/17
Asterisk Lingo
12/17
Asterisk Lingo
 Wiring it all together
 Asterisk knows about
 SIP extensions (Sublime, RoomLine, etc.)
 Physical phone lines (1 so far)
 We need to tell it how to connect these up
 Fixed rules
 Time dependent
 Digital receptionist
 User choice dependent
 Could make an Olympus-based Digital receptionist
 You’d need to implement SIP Transfer
13/17
Asterisk Lingo
14/17
Asterisk Lingo
15/17
Asterisk Lingo
16/17
Asterisk
 Things you should know
 Asterisk server is speeg2.speech.cs.cmu.edu
 SIP works only on UDP, port 5060
 Ask me (jsherwan at andrew) to create extensions
for your dialog systems
 Things we need to figure out
 Voice codecs (preferably use raw audio)
 16-bit linear codec (128kbps)
 Echo cancellation
 Alex / Alan, 24-port T1 Digium board, perhaps?
17/17
Asterisk
 Questions?

Mais conteúdo relacionado

Semelhante a Asterisk (1)shared by voip.com.vn

Fatah Uddin (072831056)
Fatah Uddin (072831056)Fatah Uddin (072831056)
Fatah Uddin (072831056)
mashiur
 

Semelhante a Asterisk (1)shared by voip.com.vn (20)

Telephone Systems and Voice over IP by Bob Eager (codeHarbour April 2019)
Telephone Systems and Voice over IP by Bob Eager (codeHarbour April 2019)Telephone Systems and Voice over IP by Bob Eager (codeHarbour April 2019)
Telephone Systems and Voice over IP by Bob Eager (codeHarbour April 2019)
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installations
 
Ruby voip
Ruby voipRuby voip
Ruby voip
 
SIP to Win: VOIP telephony
SIP to Win: VOIP telephonySIP to Win: VOIP telephony
SIP to Win: VOIP telephony
 
Introduction to IP telephony & VoIP
Introduction to IP telephony & VoIP Introduction to IP telephony & VoIP
Introduction to IP telephony & VoIP
 
Talking To Rails
Talking To RailsTalking To Rails
Talking To Rails
 
aibo introduction at ROSCon2018@Madrid
aibo introduction at ROSCon2018@Madridaibo introduction at ROSCon2018@Madrid
aibo introduction at ROSCon2018@Madrid
 
Porting To Symbian
Porting To SymbianPorting To Symbian
Porting To Symbian
 
Asterisk Complete Training
Asterisk Complete TrainingAsterisk Complete Training
Asterisk Complete Training
 
VoIP
VoIPVoIP
VoIP
 
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
 
Getting the best out of WebRTC
Getting the best out of WebRTCGetting the best out of WebRTC
Getting the best out of WebRTC
 
Getting the Best Out Of WebRTC - Astricon 2014
Getting the Best Out Of WebRTC - Astricon 2014Getting the Best Out Of WebRTC - Astricon 2014
Getting the Best Out Of WebRTC - Astricon 2014
 
Asterisk Phone Systems
Asterisk Phone SystemsAsterisk Phone Systems
Asterisk Phone Systems
 
Jingle: Cutting Edge VoIP
Jingle: Cutting Edge VoIPJingle: Cutting Edge VoIP
Jingle: Cutting Edge VoIP
 
Os Tucker
Os TuckerOs Tucker
Os Tucker
 
Fatah Uddin (072831056)
Fatah Uddin (072831056)Fatah Uddin (072831056)
Fatah Uddin (072831056)
 
TCP/IP For Engineers
TCP/IP For EngineersTCP/IP For Engineers
TCP/IP For Engineers
 
Why Linux is better
Why Linux is betterWhy Linux is better
Why Linux is better
 
Asterisk 11to16, What could go wrong
Asterisk 11to16, What could go wrongAsterisk 11to16, What could go wrong
Asterisk 11to16, What could go wrong
 

Mais de Tran Thanh

Mais de Tran Thanh (20)

Giai phap dien thoai ip (1)
Giai phap dien thoai ip (1)Giai phap dien thoai ip (1)
Giai phap dien thoai ip (1)
 
3.kx ns1000 ip extension final
3.kx ns1000 ip extension final3.kx ns1000 ip extension final
3.kx ns1000 ip extension final
 
Ga lichsukhinhanvagoidienthoai
Ga lichsukhinhanvagoidienthoaiGa lichsukhinhanvagoidienthoai
Ga lichsukhinhanvagoidienthoai
 
Kynangdienthoai
KynangdienthoaiKynangdienthoai
Kynangdienthoai
 
Yealink business ip video phone vp530
Yealink business ip video phone vp530Yealink business ip video phone vp530
Yealink business ip video phone vp530
 
Giai phap dien thoai ip
Giai phap dien thoai ipGiai phap dien thoai ip
Giai phap dien thoai ip
 
7. bao cao kqkd 2012 va khkd 2013
7. bao cao kqkd 2012 va khkd 20137. bao cao kqkd 2012 va khkd 2013
7. bao cao kqkd 2012 va khkd 2013
 
Slide album 1
Slide album 1Slide album 1
Slide album 1
 
Hlvcs2
Hlvcs2Hlvcs2
Hlvcs2
 
Sp twinstar 2009 shared by voip.com.vn
Sp twinstar 2009 shared by voip.com.vnSp twinstar 2009 shared by voip.com.vn
Sp twinstar 2009 shared by voip.com.vn
 
Rss sales presentation_v4_final_sales shared by voip.com.vn
Rss sales presentation_v4_final_sales shared by voip.com.vnRss sales presentation_v4_final_sales shared by voip.com.vn
Rss sales presentation_v4_final_sales shared by voip.com.vn
 
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vnMicrosoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
Microsoft lync 2010_cx600_device_training_rtm shared by voip.com.vn
 
Microtel shared by voip.com.vn
Microtel shared by voip.com.vnMicrotel shared by voip.com.vn
Microtel shared by voip.com.vn
 
Headset shared by voip.com.vn
Headset shared by voip.com.vnHeadset shared by voip.com.vn
Headset shared by voip.com.vn
 
2908 1 mic_tel shared by voip.com.vn
2908 1 mic_tel shared by voip.com.vn2908 1 mic_tel shared by voip.com.vn
2908 1 mic_tel shared by voip.com.vn
 
Ast installation (edited version) shared by voip.com.vn
Ast installation (edited version) shared by voip.com.vnAst installation (edited version) shared by voip.com.vn
Ast installation (edited version) shared by voip.com.vn
 
Ei02 garrison-fonality
Ei02 garrison-fonalityEi02 garrison-fonality
Ei02 garrison-fonality
 
Advanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vnAdvanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vn
 
Audio codes webinar___ms_uc__2_
Audio codes webinar___ms_uc__2_Audio codes webinar___ms_uc__2_
Audio codes webinar___ms_uc__2_
 
02 asterisk - the future of telecommunications
02   asterisk - the future of telecommunications02   asterisk - the future of telecommunications
02 asterisk - the future of telecommunications
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Asterisk (1)shared by voip.com.vn

  • 1. 1/17 Asterisk @ CMU Everything you needed to know to connect your dialog system to the world (but were afraid to ask)
  • 2. 2/17 Dialog Systems  You’ve got it up and running – it works great!  On your PC  Now you decide to let anyone call it up  Current approach: Gentner boxes  Dialog server connected directly to phone line  Old technology, many issues with audio quality  Huge inertia in setting up new systems  Many, many experience people will tell you:  THIS IS A BAD SOLUTION!
  • 3. 3/17 A Picture Paints A Thousand Words
  • 4. 4/17 Asterisk: The Optimal Solution Internet Olympus-running Dialog Systems
  • 5. 5/17 Asterisk  Fully open source  Fully compliant with open standards  H.263 / RFCxyz / ulaw / … [Ignore most of this]  SIP  Allows a variety of setups
  • 6. 6/17 Asterisk Setup  It’s been done  Asterisk@Home  Self-contained Linux + Asterisk installation  FX100P phone interface with Zaptel drivers  Aka Voicemodem  Pretty sucky quality  Luckily, Asterisk does some echo cancellation  Virtual digital assistant  “Press 1 for email, 2 for schedule, 3 for …”
  • 7. 7/17 Asterisk with Olympus  What you need to do  Read up on SIP  Tell me about it  Implement a SIP-compliant interface for Olympus  Manages session stuff  New call  Hang up  Transfer call?  Manages Audio I/O
  • 8. 8/17 Asterisk Lingo  Extensions  For us, these are all SIP  These are equivalent to phone lines in the real world  One SIP extension per dialog system  200 – Roomline  300 – Let’s Go!  400 – Sublime  …
  • 10. 10/17 Asterisk Lingo  Trunks  Regular phone lines  Right now we only have one  Zaptel drivers make it work
  • 12. 12/17 Asterisk Lingo  Wiring it all together  Asterisk knows about  SIP extensions (Sublime, RoomLine, etc.)  Physical phone lines (1 so far)  We need to tell it how to connect these up  Fixed rules  Time dependent  Digital receptionist  User choice dependent  Could make an Olympus-based Digital receptionist  You’d need to implement SIP Transfer
  • 16. 16/17 Asterisk  Things you should know  Asterisk server is speeg2.speech.cs.cmu.edu  SIP works only on UDP, port 5060  Ask me (jsherwan at andrew) to create extensions for your dialog systems  Things we need to figure out  Voice codecs (preferably use raw audio)  16-bit linear codec (128kbps)  Echo cancellation  Alex / Alan, 24-port T1 Digium board, perhaps?