Voice over Internet Protocol (VoIP) using Asterisk

download Voice over Internet Protocol (VoIP) using Asterisk

If you can't read please download the document

Transcript of Voice over Internet Protocol (VoIP) using Asterisk

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

openpbxfamily tree

telephonyfree and open sourceproprietary

asteriskgnu bayonneyateastlinuxtrixboxxorcom rapidxorcom rapidelastixVoIPonCD

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 @ 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

"keydisk" support

traffic shaper (iptables+tc)

tftp server

"PBX Only Mode" - 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

Asterisk101Ekiga SoftPhone on Ubuntu201X-Lite on Windows XP301Telephone + ATA

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 DigiumPhoto from http://www.marlow.dk/images/asterisk/tdm400p-fxo-small.jpg

IAXy S101 from DigiumPhoto 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

ExtensionMemberProtocolLocation101MyselfSIPSan Francisco201WifeSIPSan Francisco301KidIAXSan Francisco102MotherSIPChattanooga202FatherIAXChattanooga302BrotherIAXNew Delhi103SisterIAXHyderabad203CousinSIPAberdeen303AuntSIPSingapore

???Page ??? (???)02/07/2007, 16:52:18Page / ExtensionMemberProtocolLocation1SalesSIPSan Francisco, CA2Customer ServiceSIPSan Francisco, CA3Technical SupportSIPHyderabad, India101VP Biz DevSIPSan Jose, CA102VP OpsSIPColumbus,OH111Dev Team LeadIAXBangalore, India222QA TeamIAXDacca, Bangladesh333CRM teamIAXLondon, UK555Asia RepIAXSingapore

???Page ??? (???)02/07/2007, 16:52:18Page /