Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
GUI or command line?You can get the best of both worlds!                           David Duffett, Digium  Working with the...
Agenda§  Explaining the relationship between Elastix and    Asterisk§  A brief history of the Asterisk-based distro§  E...
Agenda (continued)§  The mechanics of Elastix§  Files that you should not edit§  Files that you can edit§  GUI advanta...
Agenda (continued)§  Hardware configuration§  Troubleshooting       Creative Innovation – Customer Satisfaction – Contin...
ElastixWorld 2011 - Moustaches     Creative Innovation – Customer Satisfaction – Continual Quality Improvement   5
ElastixWorld 2012 - Glasses§  Glasses will help you learn       Creative Innovation – Customer Satisfaction – Continual Q...
The relationship betweenElastix and Asterisk              Distro/Framework                             GUI               C...
A brief history of the Asterisk-based distro§  Asterisk arrives in 1999§  Asterisk Management Portal§  Asterisk at Home...
The Great thing about ELASTIX§  A world-class Open Source PBX (or completed    Unified Communications solution)…§  GUI d...
There are actually TWO command lines§  The Linux command line§  Looks like this…§  root@localhost ~]#       Creative In...
There are actually TWO command lines§  The Asterisk command line   –  Accessed by using ‘asterisk –r’§  Looks like this…...
The work that the GUI saves you
Setting up an extension§  A simple task in Elastix        Creative Innovation – Customer Satisfaction – Continual Quality...
Setting up an extension§  To do the same in Asterisk, the following files    must be edited:§  /etc/asterisk/sip.conf – ...
Asterisk configuration files§  /etc/asterisk/sip.conf   –  [david2001]      type=friend      host=dynamic      secret=c0m...
Setting up a trunk§  Settings are explained…       Creative Innovation – Customer Satisfaction – Continual Quality Improv...
Elastix System Diagram Creative Innovation – Customer Satisfaction – Continual Quality Improvement   17
Files that you should not edit§  ALL OF THEM!!!!!§  Well, nearly all of them        Creative Innovation – Customer Satis...
Files that you can edit§  They all have ‘custom’ in the name – these will not    be changed by the GUI§  Eg:   –  /etc/a...
The purpose of the GUI§  To make life easy§  Handle the jobs that we need to do regularly§  Cover the most popular func...
The reality of using a GUI over Asterisk§  Abstracts the administrator away from the    complexity of manual configuratio...
When only the command line will do…§  Protocol level debugging  –  SIP  –  IAX2  –  DAHDI (PRI/BRI/FXO/FXS)§  AGI work§...
Hardware§  The Hardware Detector in Elastix is a wonderful    thing…§  It generates two files:   –  /etc/dahdi/system.co...
The Hardware Detector    Creative Innovation – Customer Satisfaction – Continual Quality Improvement   24
The Hardware Detector§  Actually based on dahdi_genconf – which was    contributed to the Open Source project by Xorcom  ...
Digium hardware is a natural choice               Distro/Framework                              GUI       Communications E...
Any questionsbefore I summarise?   Creative Innovation – Customer Satisfaction – Continual Quality Improvement   27
In Summary§  Elastix gives an amazing GUI-driven    communications system…§  …But gives you command line access when you...
Thanks!  david.duffett@asterisk.orgCreative Innovation – Customer Satisfaction – Continual Quality Improvement   29
Upcoming SlideShare
Loading in …5
×

GUI or command line - you can get the best of both worlds

4,774 views

Published on

David Duffett
Telespeak
VoIP2Day + ElastixWorld

Published in: Technology
  • Be the first to comment

GUI or command line - you can get the best of both worlds

  1. 1. GUI or command line?You can get the best of both worlds! David Duffett, Digium Working with the Worldwide Asterisk Community
  2. 2. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 2
  3. 3. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 3
  4. 4. Agenda (continued)§  Hardware configuration§  Troubleshooting Creative Innovation – Customer Satisfaction – Continual Quality Improvement 4
  5. 5. ElastixWorld 2011 - Moustaches Creative Innovation – Customer Satisfaction – Continual Quality Improvement 5
  6. 6. ElastixWorld 2012 - Glasses§  Glasses will help you learn Creative Innovation – Customer Satisfaction – Continual Quality Improvement 6
  7. 7. The relationship betweenElastix and Asterisk Distro/Framework GUI Communications Engine Channel Driver Kernel Driver Operating System Creative Innovation – Customer Satisfaction – Continual Quality Improvement 7
  8. 8. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 8
  9. 9. 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!!!!!! Creative Innovation – Customer Satisfaction – Continual Quality Improvement 9
  10. 10. There are actually TWO command lines§  The Linux command line§  Looks like this…§  root@localhost ~]# Creative Innovation – Customer Satisfaction – Continual Quality Improvement 10
  11. 11. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 11
  12. 12. The work that the GUI saves you
  13. 13. Setting up an extension§  A simple task in Elastix Creative Innovation – Customer Satisfaction – Continual Quality Improvement 13
  14. 14. 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… Creative Innovation – Customer Satisfaction – Continual Quality Improvement 14
  15. 15. 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) Creative Innovation – Customer Satisfaction – Continual Quality Improvement 15
  16. 16. Setting up a trunk§  Settings are explained… Creative Innovation – Customer Satisfaction – Continual Quality Improvement 16
  17. 17. Elastix System Diagram Creative Innovation – Customer Satisfaction – Continual Quality Improvement 17
  18. 18. Files that you should not edit§  ALL OF THEM!!!!!§  Well, nearly all of them Creative Innovation – Customer Satisfaction – Continual Quality Improvement 18
  19. 19. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 19
  20. 20. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 20
  21. 21. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 21
  22. 22. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 22
  23. 23. 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 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 23
  24. 24. The Hardware Detector Creative Innovation – Customer Satisfaction – Continual Quality Improvement 24
  25. 25. The Hardware Detector§  Actually based on dahdi_genconf – which was contributed to the Open Source project by Xorcom in 2006 Creative Innovation – Customer Satisfaction – Continual Quality Improvement 25
  26. 26. Digium hardware is a natural choice Distro/Framework GUI Communications Engine Channel Driver Kernel Driver Operating System Creative Innovation – Customer Satisfaction – Continual Quality Improvement 26
  27. 27. Any questionsbefore I summarise? Creative Innovation – Customer Satisfaction – Continual Quality Improvement 27
  28. 28. In Summary§  Elastix gives an amazing GUI-driven communications system…§  …But gives you command line access when you want it! Creative Innovation – Customer Satisfaction – Continual Quality Improvement 28
  29. 29. Thanks! david.duffett@asterisk.orgCreative Innovation – Customer Satisfaction – Continual Quality Improvement 29

×