• Save
voip2day 2012 - GUI o linea de comandos, puedes tener lo mejor de ambos mundos by david du…
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

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

  • 1,007 views
Uploaded on

 

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,007
On Slideshare
914
From Embeds
93
Number of Embeds
2

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 93

http://www.voip2day.com 79
http://www.voip2day.net 14

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, DigiumWorking with the Worldwide Asterisk Community
  • 2. 2Creative Innovation – Customer Satisfaction – Continual Quality ImprovementAgenda§  Explaining the relationship between Elastix andAsterisk§  A brief history of the Asterisk-based distro§  Elastix: A comprehensive telephony solution, butwith access to the command line§  Requirement scenarios – which is best?§  The work that a GUI saves you
  • 3. 3Creative Innovation – Customer Satisfaction – Continual Quality ImprovementAgenda (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 linelevel
  • 4. 4Creative Innovation – Customer Satisfaction – Continual Quality ImprovementAgenda (continued)§  Hardware configuration§  Troubleshooting
  • 5. 5Creative Innovation – Customer Satisfaction – Continual Quality ImprovementElastixWorld 2011 - Moustaches
  • 6. 6Creative Innovation – Customer Satisfaction – Continual Quality ImprovementElastixWorld 2012 - Glasses§  Glasses will help you learn
  • 7. 7Creative Innovation – Customer Satisfaction – Continual Quality ImprovementThe relationship betweenElastix and AsteriskOperating SystemKernel DriverChannel DriverCommunicationsEngineGUIDistro/Framework
  • 8. 8Creative Innovation – Customer Satisfaction – Continual Quality ImprovementA 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 ImprovementThe Great thing about ELASTIX§  A world-class Open Source PBX (or completedUnified Communications solution)…§  GUI driven…§  BUT§  …with access to the Command Line!!!!!!
  • 10. 10Creative Innovation – Customer Satisfaction – Continual Quality ImprovementThere are actually TWO command lines§  The Linux command line§  Looks like this…§  root@localhost ~]#
  • 11. 11Creative Innovation – Customer Satisfaction – Continual Quality ImprovementThere 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 thetwo command lines
  • 12. The work that the GUI saves you
  • 13. 13Creative Innovation – Customer Satisfaction – Continual Quality ImprovementSetting up an extension§  A simple task in Elastix
  • 14. 14Creative Innovation – Customer Satisfaction – Continual Quality ImprovementSetting up an extension§  To do the same in Asterisk, the following filesmust be edited:§  /etc/asterisk/sip.conf – to configure a profile for thedevice to link to§  /etc/asterisk/voicemail.conf – to create a mailboxfor the extension§  /etc/asterisk/extensions.conf – to create a dialplanentry so that the extension can be called§  THREE files, several lines of configuration…
  • 15. 15Creative Innovation – Customer Satisfaction – Continual Quality ImprovementAsterisk configuration files§  /etc/asterisk/sip.conf–  [david2001]type=friendhost=dynamicsecret=c0mpl1cat3dcontext=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 ImprovementSetting up a trunk§  Settings are explained…
  • 17. 17Creative Innovation – Customer Satisfaction – Continual Quality ImprovementElastix System Diagram
  • 18. 18Creative Innovation – Customer Satisfaction – Continual Quality ImprovementFiles that you should not edit§  ALL OF THEM!!!!!§  Well, nearly all of them
  • 19. 19Creative Innovation – Customer Satisfaction – Continual Quality ImprovementFiles that you can edit§  They all have ‘custom’ in the name – these will notbe changed by the GUI§  Eg:–  /etc/asterisk/sip_custom.conf–  /etc/asterisk/extensions_custom.conf
  • 20. 20Creative Innovation – Customer Satisfaction – Continual Quality ImprovementThe 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 thefunctionality of our communications system
  • 21. 21Creative Innovation – Customer Satisfaction – Continual Quality ImprovementThe reality of using a GUI over Asterisk§  Abstracts the administrator away from thecomplexity of manual configuration – and that is aGOOD thing§  Restricts the administration in terms of the level ofcontrol they have in configuration – and that canbe a BAD thing
  • 22. 22Creative Innovation – Customer Satisfaction – Continual Quality ImprovementWhen 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 ImprovementHardware§  The Hardware Detector in Elastix is a wonderfulthing…§  It generates two files:–  /etc/dahdi/system.conf–  /etc/asterisk/dahdi-channels.conf**§  **dahdi-channels.conf is #included inchan_dahdi.conf
  • 24. 24Creative Innovation – Customer Satisfaction – Continual Quality ImprovementThe Hardware Detector
  • 25. 25Creative Innovation – Customer Satisfaction – Continual Quality ImprovementThe Hardware Detector§  Actually based on dahdi_genconf – which wascontributed to the Open Source project by Xorcomin 2006
  • 26. 26Creative Innovation – Customer Satisfaction – Continual Quality ImprovementDigium hardware is a natural choiceOperating SystemKernel DriverChannel DriverCommunications EngineGUIDistro/Framework
  • 27. 27Creative Innovation – Customer Satisfaction – Continual Quality ImprovementAny questionsbefore I summarise?
  • 28. 28Creative Innovation – Customer Satisfaction – Continual Quality ImprovementIn Summary§  Elastix gives an amazing GUI-drivencommunications system…§  …But gives you command line access when youwant it!
  • 29. 29Creative Innovation – Customer Satisfaction – Continual Quality ImprovementThanks!david.duffett@asterisk.org