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

Voice over Internet Protocol (VoIP) using Asterisk

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