+ All Categories
Home > Documents > Introduction to VOIP and Asterisk

Introduction to VOIP and Asterisk

Date post: 15-May-2015
Category:
Upload: catharine24
View: 1,862 times
Download: 6 times
Share this document with a friend
Popular Tags:
36
Introduction to VOIP and Asterisk Daryll Strauss June 10th 2006
Transcript
Page 1: Introduction to VOIP and Asterisk

Introduction to VOIP and Asterisk

Daryll Strauss

June 10th 2006

Page 2: Introduction to VOIP and Asterisk

What are we Talking About?

Voice Over IP (VOIP) allows telephone conversations to travel over a LAN or the Internet instead of traditional telephone wiring

Asterisk is a "phone system" that can connect to many different devices, either traditional phone hardware or VOIP hardware.

Page 3: Introduction to VOIP and Asterisk

Telephone Terminology

Foreign exchange office (FXO) is a port that connects to the phone company

Foreign exchange system (FXS) is a port that connects to a telephone

Analog telephone adapter (ATA) is a device with an ethernet port and a telephone port (FXS)

Page 4: Introduction to VOIP and Asterisk

Basic Phone Example

Phone Line <-> Phone

Telephone <-> ATA <-> Internet <-> VOIP Provider

Page 5: Introduction to VOIP and Asterisk

Phone System Example

Phone Line <-> phone system <-> Telephone wires <-> Phones

Phone Line <-> FXO <-> phone system <-> LAN <-> Phones

Page 6: Introduction to VOIP and Asterisk

VOIP Phone System

VOIP Provider <-> Internet <-> Phone System <-> Lan <-> SIP Phones

Page 7: Introduction to VOIP and Asterisk

Benefits of VOIP

Less expensive calling

More flexible

Location independent

Page 8: Introduction to VOIP and Asterisk

Downsides of VOIP

More complicated

Internet is "best effort"

Requires bandwidth

Not good for 911

Page 9: Introduction to VOIP and Asterisk

Protocol Terminology

Session Initiation Protocol (SIP) manages a telephone connection between two parties

Session Description Protocol (SDP) provides the parameters for communicating between two parties

Real time Transport Protocol (RTP) carries the voice data itself

Page 10: Introduction to VOIP and Asterisk

Protocol Terminology (cont)

COder/DECoder (CODEC) converts voice into various data formats

Simple Tunneling of UDP through NAT (STUN) determines how your firewall will interact with the communication

Inter Asterisk exchange (IAX) is an Asterisk protocol that Asterisk uses to do the same sorts of things.

Page 11: Introduction to VOIP and Asterisk

Anatomy of a Call

You dial your phone and your ATA starts handling the call

It uses STUN to determine how it connects to the internet

It uses SIP to authenticate with the VOIP provider

Page 12: Introduction to VOIP and Asterisk

Anatomy of a Call (cont)

It uses SIP to initiate the call

Once the call is connected to the remote end, SDP is used to determine how you and the other party will talk. SDP is embedded in SIP packets.

RTP transmits the voice back and forth.

SIP is used to shut down the conversation

Page 13: Introduction to VOIP and Asterisk

Linux Soft Phones

SJPhone

Ekiga

Xlite

Gizmo

Page 14: Introduction to VOIP and Asterisk

Voice Hardware

USB Phone

Headset for sound card

Bluetooth

Microphone & Speaker (Not recommended)

Page 15: Introduction to VOIP and Asterisk

VOIP Terminology

Plain Old Telephone System (POTS) is the old "ma bell" phone system

Packet Switched Telephone Network (PSTN) same thing

Direct Inward Dial (DID) is a phone number

Termination is the service for connecting a call to someone else

Page 16: Introduction to VOIP and Asterisk

Free Service Providers

Free World Dialup

SIPPhone

IPKall

Earthlink

Google (eventually)

Page 17: Introduction to VOIP and Asterisk

VOIP Providers

Vonage

Voicepulse

AXVoice

Broadvoice

Sunrocket

Packet8

Page 18: Introduction to VOIP and Asterisk

VOIP Providers (cont)

Voxee

VoipJet

nufone

Many others...

Page 19: Introduction to VOIP and Asterisk

Introduction to Asterisk

Asterisk is a device independent voice platform

Runs on Linux

It works with analog telephone devices

It works with VOIP

It does it’s own processing

Page 20: Introduction to VOIP and Asterisk

Features of Asterisk

Multiple extensions aka Portable Branch Exchange (PBX)

Interactive voice response (IVR)

Voicemail

conference calling

Page 21: Introduction to VOIP and Asterisk

Features of Asterisk (cont)

Time dependent processing

Music on hold

Call queues

Scripting

Application integration

Call logging & recording

Page 22: Introduction to VOIP and Asterisk

Real Asterisk Configuration (mine)

Sipura 3000

Linux system (P4)

SPA-841 phone

Analog phone

Page 23: Introduction to VOIP and Asterisk

Real Asterisk Configuration (cont)

Verizon

Several VOIP providers

Broadband internet

Page 24: Introduction to VOIP and Asterisk

Real Asterisk Configuration (cont)

Interactive Voice Response (phone menus)

Group & individual phone numbers

Voice mail emails & pages cell phones

Call queues

Independent call paths

Page 25: Introduction to VOIP and Asterisk

Real Asterisk Configuration (cont)

Caller-ID database

Calling between extensions

Least cost routing

Forces routing

Conference calls

Page 26: Introduction to VOIP and Asterisk

Asterisk Distributions

Asterisk at Home now Trixbox

Asterisk

Fonality

Page 27: Introduction to VOIP and Asterisk

Asterisk as a platform

Read the weather

Dating service

Crack the safe game

Zork

Page 28: Introduction to VOIP and Asterisk

Experiment 1

Get a soft phone

Get a sound card headset ($10)

Join FWD/SIPPhone

Make calls

Page 29: Introduction to VOIP and Asterisk

Experiment 2

Setup Asterisk

Create a simple dial plan that plays a sound

Call Asterisk using your soft phone

Page 30: Introduction to VOIP and Asterisk

Experiment 3

Configure Asterisk to use FWD/SIPPhone

Configure soft phone as an Asterisk Extension

Make calls

Page 31: Introduction to VOIP and Asterisk

Experiment 4

Get an IPKall account

Configure it to point to your FWD/SIPPhone

Call your system using a regular phone

Page 32: Introduction to VOIP and Asterisk

Experiment 5

Buy service from SIPPhone ($25 gets you inward number and 1000 minutes)

Configure Asterisk to use it

Dial in and out

Page 33: Introduction to VOIP and Asterisk

Experiment 6

Build up your Asterisk configuration

Setup an IVR, Voicemail, etc.

Page 34: Introduction to VOIP and Asterisk

Hooked Yet?

If you’re hooked at this point, look at VOIP providers.

Be aware of terms of service

How long are you commited?

How can you use the service?

Make sure they allow "Bring Your Own Device"

Page 35: Introduction to VOIP and Asterisk

Caveats

Make sure you have a reliable 911 service

Realize that you can transfer your main number in to a VOIP provier, but VOIP providers aren’t required to let you transfer it back out.

Be sure you’re happy with the service before you tell other people the number. It’s hard to change that later.

Page 36: Introduction to VOIP and Asterisk

Resources

http://www.voxilla.com

http://www.voipsupply.com

http://www.asterisk.org

http://www.voip-info.org

http://www.trixbox.org


Recommended