SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à 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
 

Similaire à 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
 

Dernier

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

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