SlideShare uma empresa Scribd logo
1 de 29
GUI or command line?
You can get the best of both worlds!
David Duffett, Digium
Working with the Worldwide Asterisk Community
2Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Agenda
§  Explaining the relationship between Elastix and
Asterisk
§  A brief history of the Asterisk-based distro
§  Elastix: A comprehensive telephony solution, but
with access to the command line
§  Requirement scenarios – which is best?
§  The work that a GUI saves you
3Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Agenda (continued)
§  The mechanics of Elastix
§  Files that you should not edit
§  Files that you can edit
§  GUI advantages
§  GUI disadvantages
§  Some things require that you edit at command line
level
4Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Agenda (continued)
§  Hardware configuration
§  Troubleshooting
5Creative Innovation – Customer Satisfaction – Continual Quality Improvement
ElastixWorld 2011 - Moustaches
6Creative Innovation – Customer Satisfaction – Continual Quality Improvement
ElastixWorld 2012 - Glasses
§  Glasses will help you learn
7Creative Innovation – Customer Satisfaction – Continual Quality Improvement
The relationship between
Elastix and Asterisk
Operating System
Kernel Driver
Channel Driver
Communications
Engine
GUI
Distro/Framework
8Creative Innovation – Customer Satisfaction – Continual Quality Improvement
A brief history of the Asterisk-based distro
§  Asterisk arrives in 1999
§  Asterisk Management Portal
§  Asterisk at Home is the first distro
§  AMP becomes FreePBX
§  Other distros arrive, not all survive
–  Elastix is the best/most popular
–  PBX in a Flash
9Creative Innovation – Customer Satisfaction – Continual Quality Improvement
The Great thing about ELASTIX
§  A world-class Open Source PBX (or completed
Unified Communications solution)…
§  GUI driven…
§  BUT
§  …with access to the Command Line!!!!!!
10Creative Innovation – Customer Satisfaction – Continual Quality Improvement
There are actually TWO command lines
§  The Linux command line
§  Looks like this…
§  root@localhost ~]#
11Creative Innovation – Customer Satisfaction – Continual Quality Improvement
There are actually TWO command lines
§  The Asterisk command line
–  Accessed by using ‘asterisk –r’
§  Looks like this…
§  localhost*CLI>
§  Common for newbies to get confused between the
two command lines
The work that the GUI saves you
13Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Setting up an extension
§  A simple task in Elastix
14Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Setting up an extension
§  To do the same in Asterisk, the following files
must be edited:
§  /etc/asterisk/sip.conf – to configure a profile for the
device to link to
§  /etc/asterisk/voicemail.conf – to create a mailbox
for the extension
§  /etc/asterisk/extensions.conf – to create a dialplan
entry so that the extension can be called
§  THREE files, several lines of configuration…
15Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Asterisk configuration files
§  /etc/asterisk/sip.conf
–  [david2001]
type=friend
host=dynamic
secret=c0mpl1cat3d
context=from-internal
§  /etc/asterisk/voicemail.conf
–  [default]
2001 => 9999,david duffett,dduffett@digium.com
§  /etc/asterisk/extensions.conf
[from-internal]
exten => 2001,1,Dial(SIP/david2001,30,tT)
16Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Setting up a trunk
§  Settings are explained…
17Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Elastix System Diagram
18Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Files that you should not edit
§  ALL OF THEM!!!!!
§  Well, nearly all of them
19Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Files that you can edit
§  They all have ‘custom’ in the name – these will not
be changed by the GUI
§  Eg:
–  /etc/asterisk/sip_custom.conf
–  /etc/asterisk/extensions_custom.conf
20Creative Innovation – Customer Satisfaction – Continual Quality Improvement
The purpose of the GUI
§  To make life easy
§  Handle the jobs that we need to do regularly
§  Cover the most popular functionality
§  The 80/20 rule
–  We spend 80% of our time using 20% of the
functionality of our communications system
21Creative Innovation – Customer Satisfaction – Continual Quality Improvement
The reality of using a GUI over Asterisk
§  Abstracts the administrator away from the
complexity of manual configuration – and that is a
GOOD thing
§  Restricts the administration in terms of the level of
control they have in configuration – and that can
be a BAD thing
22Creative Innovation – Customer Satisfaction – Continual Quality Improvement
When only the command line will do…
§  Protocol level debugging
–  SIP
–  IAX2
–  DAHDI (PRI/BRI/FXO/FXS)
§  AGI work
§  Checking whether an e-mail has been sent
23Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Hardware
§  The Hardware Detector in Elastix is a wonderful
thing…
§  It generates two files:
–  /etc/dahdi/system.conf
–  /etc/asterisk/dahdi-channels.conf**
§  **dahdi-channels.conf is #included in
chan_dahdi.conf
24Creative Innovation – Customer Satisfaction – Continual Quality Improvement
The Hardware Detector
25Creative Innovation – Customer Satisfaction – Continual Quality Improvement
The Hardware Detector
§  Actually based on dahdi_genconf – which was
contributed to the Open Source project by Xorcom
in 2006
26Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Digium hardware is a natural choice
Operating System
Kernel Driver
Channel Driver
Communications Engine
GUI
Distro/Framework
27Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Any questions
before I summarise?
28Creative Innovation – Customer Satisfaction – Continual Quality Improvement
In Summary
§  Elastix gives an amazing GUI-driven
communications system…
§  …But gives you command line access when you
want it!
29Creative Innovation – Customer Satisfaction – Continual Quality Improvement
Thanks!
david.duffett@asterisk.org

Mais conteúdo relacionado

Semelhante a voip2day 2012 - GUI o linea de comandos, puedes tener lo mejor de ambos mundos by david du…

GUI o línea de comandos, puedes tener lo mejor de ambos mundos
GUI o línea de comandos, puedes tener lo mejor de ambos mundosGUI o línea de comandos, puedes tener lo mejor de ambos mundos
GUI o línea de comandos, puedes tener lo mejor de ambos mundosOpenDireito
 
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worldsGUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worldsPaloSanto Solutions
 
voip2day 2012 - Asterisk update by Steve Sokol
voip2day 2012 - Asterisk update by Steve Sokolvoip2day 2012 - Asterisk update by Steve Sokol
voip2day 2012 - Asterisk update by Steve SokolVOIP2DAY
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - alterachiportal
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - alterachiportal
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - alterachiportal
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - alterachiportal
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - alterachiportal
 
Upgrading to Esri ArcGIS 10: Avoid the Pitfalls, Reap the Benefits
Upgrading to Esri ArcGIS 10: Avoid the Pitfalls, Reap the BenefitsUpgrading to Esri ArcGIS 10: Avoid the Pitfalls, Reap the Benefits
Upgrading to Esri ArcGIS 10: Avoid the Pitfalls, Reap the BenefitsSSP Innovations
 
The GE Design System and thoughts about craft at scale
The GE Design System and thoughts about craft at scaleThe GE Design System and thoughts about craft at scale
The GE Design System and thoughts about craft at scaleDavid Cronin
 
eG Enterprise Citrix XenDesktop Monitor Product Tour
eG Enterprise Citrix XenDesktop Monitor Product ToureG Enterprise Citrix XenDesktop Monitor Product Tour
eG Enterprise Citrix XenDesktop Monitor Product ToureG Innovations
 
Erik Baardse - Bringing Agility to Traditional application by docker
Erik Baardse - Bringing Agility to Traditional application by dockerErik Baardse - Bringing Agility to Traditional application by docker
Erik Baardse - Bringing Agility to Traditional application by dockerAgile Impact Conference
 
Reviewer’s Guide for XenDesktop 7
Reviewer’s Guide for XenDesktop 7Reviewer’s Guide for XenDesktop 7
Reviewer’s Guide for XenDesktop 7Nuno Alves
 
Honorable Squires
Honorable SquiresHonorable Squires
Honorable SquiresESUG
 
Humans and Data Don’t Mix: Best Practices to Secure Your Cloud
Humans and Data Don’t Mix: Best Practices to Secure Your CloudHumans and Data Don’t Mix: Best Practices to Secure Your Cloud
Humans and Data Don’t Mix: Best Practices to Secure Your CloudPriyanka Aash
 
Advanced Techniques for Initiating the DevOps Journey
Advanced Techniques for Initiating the DevOps JourneyAdvanced Techniques for Initiating the DevOps Journey
Advanced Techniques for Initiating the DevOps JourneyCA Technologies
 
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-nativeKubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-nativecornelia davis
 

Semelhante a voip2day 2012 - GUI o linea de comandos, puedes tener lo mejor de ambos mundos by david du… (20)

GUI o línea de comandos, puedes tener lo mejor de ambos mundos
GUI o línea de comandos, puedes tener lo mejor de ambos mundosGUI o línea de comandos, puedes tener lo mejor de ambos mundos
GUI o línea de comandos, puedes tener lo mejor de ambos mundos
 
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worldsGUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
 
voip2day 2012 - Asterisk update by Steve Sokol
voip2day 2012 - Asterisk update by Steve Sokolvoip2day 2012 - Asterisk update by Steve Sokol
voip2day 2012 - Asterisk update by Steve Sokol
 
Asterisk Update
Asterisk UpdateAsterisk Update
Asterisk Update
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - altera
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - altera
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - altera
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - altera
 
Track h tools for improving design productivity - altera
Track h   tools for improving design productivity - alteraTrack h   tools for improving design productivity - altera
Track h tools for improving design productivity - altera
 
Asterisk Update
Asterisk UpdateAsterisk Update
Asterisk Update
 
Upgrading to Esri ArcGIS 10: Avoid the Pitfalls, Reap the Benefits
Upgrading to Esri ArcGIS 10: Avoid the Pitfalls, Reap the BenefitsUpgrading to Esri ArcGIS 10: Avoid the Pitfalls, Reap the Benefits
Upgrading to Esri ArcGIS 10: Avoid the Pitfalls, Reap the Benefits
 
The GE Design System and thoughts about craft at scale
The GE Design System and thoughts about craft at scaleThe GE Design System and thoughts about craft at scale
The GE Design System and thoughts about craft at scale
 
eG Enterprise Citrix XenDesktop Monitor Product Tour
eG Enterprise Citrix XenDesktop Monitor Product ToureG Enterprise Citrix XenDesktop Monitor Product Tour
eG Enterprise Citrix XenDesktop Monitor Product Tour
 
Erik Baardse - Bringing Agility to Traditional application by docker
Erik Baardse - Bringing Agility to Traditional application by dockerErik Baardse - Bringing Agility to Traditional application by docker
Erik Baardse - Bringing Agility to Traditional application by docker
 
Reviewer’s Guide for XenDesktop 7
Reviewer’s Guide for XenDesktop 7Reviewer’s Guide for XenDesktop 7
Reviewer’s Guide for XenDesktop 7
 
Azure from scratch part 4
Azure from scratch part 4Azure from scratch part 4
Azure from scratch part 4
 
Honorable Squires
Honorable SquiresHonorable Squires
Honorable Squires
 
Humans and Data Don’t Mix: Best Practices to Secure Your Cloud
Humans and Data Don’t Mix: Best Practices to Secure Your CloudHumans and Data Don’t Mix: Best Practices to Secure Your Cloud
Humans and Data Don’t Mix: Best Practices to Secure Your Cloud
 
Advanced Techniques for Initiating the DevOps Journey
Advanced Techniques for Initiating the DevOps JourneyAdvanced Techniques for Initiating the DevOps Journey
Advanced Techniques for Initiating the DevOps Journey
 
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-nativeKubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
 

Último

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
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 WoodJuan lago vázquez
 
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
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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 challengesrafiqahmad00786416
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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 educationjfdjdjcjdnsjd
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
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
 
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, ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 

voip2day 2012 - GUI o linea de comandos, puedes tener lo mejor de ambos mundos by david du…

  • 1. GUI or command line? You can get the best of both worlds! David Duffett, Digium Working with the Worldwide Asterisk Community
  • 2. 2Creative Innovation – Customer Satisfaction – Continual Quality Improvement Agenda §  Explaining the relationship between Elastix and Asterisk §  A brief history of the Asterisk-based distro §  Elastix: A comprehensive telephony solution, but with access to the command line §  Requirement scenarios – which is best? §  The work that a GUI saves you
  • 3. 3Creative Innovation – Customer Satisfaction – Continual Quality Improvement Agenda (continued) §  The mechanics of Elastix §  Files that you should not edit §  Files that you can edit §  GUI advantages §  GUI disadvantages §  Some things require that you edit at command line level
  • 4. 4Creative Innovation – Customer Satisfaction – Continual Quality Improvement Agenda (continued) §  Hardware configuration §  Troubleshooting
  • 5. 5Creative Innovation – Customer Satisfaction – Continual Quality Improvement ElastixWorld 2011 - Moustaches
  • 6. 6Creative Innovation – Customer Satisfaction – Continual Quality Improvement ElastixWorld 2012 - Glasses §  Glasses will help you learn
  • 7. 7Creative Innovation – Customer Satisfaction – Continual Quality Improvement The relationship between Elastix and Asterisk Operating System Kernel Driver Channel Driver Communications Engine GUI Distro/Framework
  • 8. 8Creative Innovation – Customer Satisfaction – Continual Quality Improvement A brief history of the Asterisk-based distro §  Asterisk arrives in 1999 §  Asterisk Management Portal §  Asterisk at Home is the first distro §  AMP becomes FreePBX §  Other distros arrive, not all survive –  Elastix is the best/most popular –  PBX in a Flash
  • 9. 9Creative Innovation – Customer Satisfaction – Continual Quality Improvement The Great thing about ELASTIX §  A world-class Open Source PBX (or completed Unified Communications solution)… §  GUI driven… §  BUT §  …with access to the Command Line!!!!!!
  • 10. 10Creative Innovation – Customer Satisfaction – Continual Quality Improvement There are actually TWO command lines §  The Linux command line §  Looks like this… §  root@localhost ~]#
  • 11. 11Creative Innovation – Customer Satisfaction – Continual Quality Improvement There are actually TWO command lines §  The Asterisk command line –  Accessed by using ‘asterisk –r’ §  Looks like this… §  localhost*CLI> §  Common for newbies to get confused between the two command lines
  • 12. The work that the GUI saves you
  • 13. 13Creative Innovation – Customer Satisfaction – Continual Quality Improvement Setting up an extension §  A simple task in Elastix
  • 14. 14Creative Innovation – Customer Satisfaction – Continual Quality Improvement Setting up an extension §  To do the same in Asterisk, the following files must be edited: §  /etc/asterisk/sip.conf – to configure a profile for the device to link to §  /etc/asterisk/voicemail.conf – to create a mailbox for the extension §  /etc/asterisk/extensions.conf – to create a dialplan entry so that the extension can be called §  THREE files, several lines of configuration…
  • 15. 15Creative Innovation – Customer Satisfaction – Continual Quality Improvement Asterisk configuration files §  /etc/asterisk/sip.conf –  [david2001] type=friend host=dynamic secret=c0mpl1cat3d context=from-internal §  /etc/asterisk/voicemail.conf –  [default] 2001 => 9999,david duffett,dduffett@digium.com §  /etc/asterisk/extensions.conf [from-internal] exten => 2001,1,Dial(SIP/david2001,30,tT)
  • 16. 16Creative Innovation – Customer Satisfaction – Continual Quality Improvement Setting up a trunk §  Settings are explained…
  • 17. 17Creative Innovation – Customer Satisfaction – Continual Quality Improvement Elastix System Diagram
  • 18. 18Creative Innovation – Customer Satisfaction – Continual Quality Improvement Files that you should not edit §  ALL OF THEM!!!!! §  Well, nearly all of them
  • 19. 19Creative Innovation – Customer Satisfaction – Continual Quality Improvement Files that you can edit §  They all have ‘custom’ in the name – these will not be changed by the GUI §  Eg: –  /etc/asterisk/sip_custom.conf –  /etc/asterisk/extensions_custom.conf
  • 20. 20Creative Innovation – Customer Satisfaction – Continual Quality Improvement The purpose of the GUI §  To make life easy §  Handle the jobs that we need to do regularly §  Cover the most popular functionality §  The 80/20 rule –  We spend 80% of our time using 20% of the functionality of our communications system
  • 21. 21Creative Innovation – Customer Satisfaction – Continual Quality Improvement The reality of using a GUI over Asterisk §  Abstracts the administrator away from the complexity of manual configuration – and that is a GOOD thing §  Restricts the administration in terms of the level of control they have in configuration – and that can be a BAD thing
  • 22. 22Creative Innovation – Customer Satisfaction – Continual Quality Improvement When only the command line will do… §  Protocol level debugging –  SIP –  IAX2 –  DAHDI (PRI/BRI/FXO/FXS) §  AGI work §  Checking whether an e-mail has been sent
  • 23. 23Creative Innovation – Customer Satisfaction – Continual Quality Improvement Hardware §  The Hardware Detector in Elastix is a wonderful thing… §  It generates two files: –  /etc/dahdi/system.conf –  /etc/asterisk/dahdi-channels.conf** §  **dahdi-channels.conf is #included in chan_dahdi.conf
  • 24. 24Creative Innovation – Customer Satisfaction – Continual Quality Improvement The Hardware Detector
  • 25. 25Creative Innovation – Customer Satisfaction – Continual Quality Improvement The Hardware Detector §  Actually based on dahdi_genconf – which was contributed to the Open Source project by Xorcom in 2006
  • 26. 26Creative Innovation – Customer Satisfaction – Continual Quality Improvement Digium hardware is a natural choice Operating System Kernel Driver Channel Driver Communications Engine GUI Distro/Framework
  • 27. 27Creative Innovation – Customer Satisfaction – Continual Quality Improvement Any questions before I summarise?
  • 28. 28Creative Innovation – Customer Satisfaction – Continual Quality Improvement In Summary §  Elastix gives an amazing GUI-driven communications system… §  …But gives you command line access when you want it!
  • 29. 29Creative Innovation – Customer Satisfaction – Continual Quality Improvement Thanks! david.duffett@asterisk.org