Your SlideShare is downloading. ×
0
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
GUI or command line - you can get the best of both worlds
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

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

2,474

Published on

David Duffett …

David Duffett
Telespeak
VoIP2Day + ElastixWorld

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,474
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
81
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. GUI or command line?You can get the best of both worlds! David Duffett, Digium Working with the Worldwide Asterisk Community
  • 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. 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. Agenda (continued)§  Hardware configuration§  Troubleshooting Creative Innovation – Customer Satisfaction – Continual Quality Improvement 4
  • 5. ElastixWorld 2011 - Moustaches Creative Innovation – Customer Satisfaction – Continual Quality Improvement 5
  • 6. ElastixWorld 2012 - Glasses§  Glasses will help you learn Creative Innovation – Customer Satisfaction – Continual Quality Improvement 6
  • 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. 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. 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. There are actually TWO command lines§  The Linux command line§  Looks like this…§  root@localhost ~]# Creative Innovation – Customer Satisfaction – Continual Quality Improvement 10
  • 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. The work that the GUI saves you
  • 13. Setting up an extension§  A simple task in Elastix Creative Innovation – Customer Satisfaction – Continual Quality Improvement 13
  • 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. 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. Setting up a trunk§  Settings are explained… Creative Innovation – Customer Satisfaction – Continual Quality Improvement 16
  • 17. Elastix System Diagram Creative Innovation – Customer Satisfaction – Continual Quality Improvement 17
  • 18. Files that you should not edit§  ALL OF THEM!!!!!§  Well, nearly all of them Creative Innovation – Customer Satisfaction – Continual Quality Improvement 18
  • 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. 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. 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. 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. 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. The Hardware Detector Creative Innovation – Customer Satisfaction – Continual Quality Improvement 24
  • 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. 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. Any questionsbefore I summarise? Creative Innovation – Customer Satisfaction – Continual Quality Improvement 27
  • 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. Thanks! david.duffett@asterisk.orgCreative Innovation – Customer Satisfaction – Continual Quality Improvement 29

×