Voice over Internet Protocol (VoIP) using Asterisk


Published on

Voice over Internet Protocol (VoIP) using Asterisk - a presentation made to the Silicon Valley Linux Users Group

Published in: Business, Technology
  • Even it long time ago. but it still was benefit for me. thank you so much.
    Are you sure you want to  Yes  No
    Your message goes here
  • Asterisk experts, check them for solutions

    http://www.quiosque-virtual.pt<br /><br/>
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Voice over Internet Protocol (VoIP) using Asterisk

  1. 1. Voice over Internet Protocol (VoIP) using Asterisk Sameer Verma
  2. 2. about myself
  3. 3. <ul><ul><li>teach: those of us who can't do... </li></ul></ul><ul><ul><li>research: open source, mobility, content management </li></ul></ul><ul><ul><li>fun: ubuntu, maemo/nokia770, mythtv, nocat... </li></ul></ul>about myself
  4. 4. agenda introduction asterisk astlinux demo trixbox
  5. 5. family tree openpbx telephony free and open source proprietary asterisk gnu bayonne yate astlinux trixbox xorcom rapid xorcom rapid elastix VoIPonCD
  6. 6. VoIP <ul><ul><li>more about networking... ...less about telephony </li></ul></ul>
  7. 7. acronyms <ul><li>VoIP – Voice over Internet Protocol </li></ul><ul><li>POTS – Plain Old Telephone Service </li></ul><ul><li>ATA – Analog Telephone Adapter </li></ul><ul><li>WiFi – Wireless Fidelity </li></ul><ul><li>SIP – Session Initiation Protocol </li></ul><ul><li>IAX – Inter-Asterisk eXchange </li></ul><ul><li>PBX – Private Branch eXchange </li></ul><ul><li>SBC – Single Board Computer </li></ul>
  8. 8. advantages <ul><li>Network based – digital by design </li></ul><ul><li>IP based – economies of scale and scope </li></ul><ul><ul><li>Crossover to e-mail, IM, etc. </li></ul></ul><ul><ul><li>CRM integration – e.g. SugarCRM </li></ul></ul><ul><li>No toll boundaries – IP goes everywhere </li></ul><ul><li>One infrastructure to worry about </li></ul>
  9. 9. disadvantages <ul><li>New – adoption issues </li></ul><ul><li>Migration from legacy systems will cost $$$ </li></ul><ul><li>Innovative – requires a big change </li></ul><ul><li>How will telcos overbill? </li></ul><ul><li>??? </li></ul>
  10. 10. design as a network application <ul><li>If you assess your requirements from a network perspective, the design is more intuitive </li></ul><ul><ul><li>Think of VoIP as an application along the lines of e-mail </li></ul></ul><ul><ul><li>Accounts follow a <name>@<registrar> syntax </li></ul></ul><ul><ul><li>Account may map to a 7 or 10 digit phone number if system relays to POTS lines </li></ul></ul>
  11. 11. asterisk – the project <ul><li>Asterisk was originally written by Mark Spencer of Digium, Inc. </li></ul><ul><li>Released under GPL. </li></ul><ul><li>Project began in 1999 or so. </li></ul><ul><li>Core PBX + support services such as voicemail, call-forwarding, conference calling, etc. </li></ul>
  12. 12. three scenarios <ul><li>Home/Hobby use </li></ul><ul><li>Small business use </li></ul><ul><li>Small-to-Medium Enterprise (SME) use </li></ul>
  13. 13. scenario 1 <ul><li>Hobby/home use </li></ul><ul><ul><li>No POTS lines involved. </li></ul></ul><ul><ul><li>Extensions for family and friends. </li></ul></ul><ul><ul><li>All calls happen on PCs or ATAs. </li></ul></ul>
  14. 14. scenario 2 <ul><li>Small business </li></ul><ul><ul><li>One or two POTS lines for incoming/outgoing calls. </li></ul></ul><ul><ul><li>Extensions for Tech Support, Sales, Customer Service. </li></ul></ul><ul><ul><li>Generic operator extension. </li></ul></ul><ul><ul><li>Numeric extensions and voice mail for employees. </li></ul></ul>
  15. 15. scenario 3 <ul><li>Small to mid-size business </li></ul><ul><ul><li>Multiple POTS and VoIP lines for incoming/outgoing calls. </li></ul></ul><ul><ul><li>Aggregation of lines for multiple calls (rollover dialing). </li></ul></ul><ul><ul><li>Specific lines and providers for long-distance and international calling. </li></ul></ul>
  16. 16. astlinux <ul><li>Linux 2.6 </li></ul><ul><li>Soekris and WRAP </li></ul><ul><li>Asterisk 1.2 </li></ul><ul><li>mini_httpd + PHP in CGI mode </li></ul><ul><li>OpenSSH </li></ul><ul><li>OpenSSL </li></ul><ul><li>&quot;keydisk&quot; support </li></ul><ul><li>traffic shaper (iptables+tc) </li></ul><ul><li>tftp server </li></ul><ul><li>&quot;PBX Only Mode&quot; - Asterisk only </li></ul><ul><li>ftp server (vsftpd) </li></ul><ul><li>Sangoma A101/102/104/S518 support </li></ul><ul><li>SNMPD for lm_sensors </li></ul><ul><li>rp-pppoe </li></ul>
  17. 17. astlinux <ul><li>Embedded Linux for Asterisk </li></ul><ul><ul><li>Live CD ISO is about 70 MB </li></ul></ul><ul><ul><li>CF card fits under 64 MB </li></ul></ul><ul><ul><ul><li>Targeted for Soekris or WRAP SBCs </li></ul></ul></ul><ul><ul><li>Needs Pentium class 266 MHz or better </li></ul></ul><ul><li>GUI via web browser </li></ul><ul><ul><li>All scripts are editable via textarea boxes on web pages. </li></ul></ul><ul><ul><li>Additional stats, PHP, httpd, available via browser </li></ul></ul>
  18. 18. open source maturity model OSMM is a trademark of Navica . A chart like this will make you a hero at work. PHB image used without permission
  19. 22. sample dial plan <ul><li>Extension 101 </li></ul><ul><ul><li>Myself </li></ul></ul><ul><li>Extension 201 </li></ul><ul><ul><li>Wife </li></ul></ul><ul><li>Extension 301 </li></ul><ul><ul><li>Kid </li></ul></ul>SIP SIP IAX
  20. 23. sample family dial plan
  21. 24. sample business dial plan Use IAX for end-points with lesser known variables such as NAT.
  22. 25. ekiga softphone (SIP and H323)
  23. 26. x-lite for MS Windows Image from http://graphics.cs.uni-sb.de/VoIP/fopra/node83.html
  24. 27. iaxcomm
  25. 28. astlinux demo
  26. 29. more complex solutions <ul><li>Trixbox </li></ul><ul><ul><li>Used to be Asterisk @ Home </li></ul></ul><ul><ul><li>Combines several open source projects into one distro. </li></ul></ul><ul><ul><li>CentOS based </li></ul></ul><ul><ul><li>Caution: Wipes out the entire hard drive!!! </li></ul></ul><ul><li>If you simply want to “play” with VoIP, use AstLinux live CD. </li></ul>
  27. 30. dev kit used in demo TDM400P from Digium Photo from http://www.marlow.dk/images/asterisk/tdm400p-fxo-small.jpg IAXy S101 from Digium Photo from http://www.voip-info.org/users/385/25385/images/618/IAXy.jpg
  28. 31. trixbox demo
  29. 32. resources <ul><li>http://www.asterisk.org/ </li></ul><ul><li>http://www.digium.com/ </li></ul><ul><li>http://www.openpbx.org/ </li></ul><ul><li>http://www.astlinux.org/ </li></ul><ul><li>http://trixbox.org/ </li></ul><ul><li>http://www.xorcom.com/rapid/index.html </li></ul><ul><li>http://yate.null.ro/pmwiki/ </li></ul><ul><li>http://www.gnu.org/software/bayonne/ </li></ul><ul><li>http://www.voip-info.org/wiki/ </li></ul><ul><li>http://www.voip-info.org/wiki/view/AstLinux </li></ul><ul><li>http://www.sureteq.com/asterisk/trixboxv1.2.htm </li></ul>
  30. 33. contact