Introduction to VOIP and Asterisk

3,461 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,461
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
248
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction to VOIP and Asterisk

  1. 1. Introduction to VOIP and Asterisk Daryll Strauss June 10th 2006
  2. 2. 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.
  3. 3. 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)
  4. 4. Basic Phone Example Phone Line <-> Phone Telephone <-> ATA <-> Internet <-> VOIP Provider
  5. 5. Phone System Example Phone Line <-> phone system <-> Telephone wires <-> Phones Phone Line <-> FXO <-> phone system <-> LAN <-> Phones
  6. 6. VOIP Phone System VOIP Provider <-> Internet <-> Phone System <-> Lan <-> SIP Phones
  7. 7. Benefits of VOIP Less expensive calling More flexible Location independent
  8. 8. Downsides of VOIP More complicated Internet is "best effort" Requires bandwidth Not good for 911
  9. 9. 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
  10. 10. 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.
  11. 11. 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
  12. 12. 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
  13. 13. Linux Soft Phones SJPhone Ekiga Xlite Gizmo
  14. 14. Voice Hardware USB Phone Headset for sound card Bluetooth Microphone & Speaker (Not recommended)
  15. 15. 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
  16. 16. Free Service Providers Free World Dialup SIPPhone IPKall Earthlink Google (eventually)
  17. 17. VOIP Providers Vonage Voicepulse AXVoice Broadvoice Sunrocket Packet8
  18. 18. VOIP Providers (cont) Voxee VoipJet nufone Many others...
  19. 19. 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
  20. 20. Features of Asterisk Multiple extensions aka Portable Branch Exchange (PBX) Interactive voice response (IVR) Voicemail conference calling
  21. 21. Features of Asterisk (cont) Time dependent processing Music on hold Call queues Scripting Application integration Call logging & recording
  22. 22. Real Asterisk Configuration (mine) Sipura 3000 Linux system (P4) SPA-841 phone Analog phone
  23. 23. Real Asterisk Configuration (cont) Verizon Several VOIP providers Broadband internet
  24. 24. Real Asterisk Configuration (cont) Interactive Voice Response (phone menus) Group & individual phone numbers Voice mail emails & pages cell phones Call queues Independent call paths
  25. 25. Real Asterisk Configuration (cont) Caller-ID database Calling between extensions Least cost routing Forces routing Conference calls
  26. 26. Asterisk Distributions Asterisk at Home now Trixbox Asterisk Fonality
  27. 27. Asterisk as a platform Read the weather Dating service Crack the safe game Zork
  28. 28. Experiment 1 Get a soft phone Get a sound card headset ($10) Join FWD/SIPPhone Make calls
  29. 29. Experiment 2 Setup Asterisk Create a simple dial plan that plays a sound Call Asterisk using your soft phone
  30. 30. Experiment 3 Configure Asterisk to use FWD/SIPPhone Configure soft phone as an Asterisk Extension Make calls
  31. 31. Experiment 4 Get an IPKall account Configure it to point to your FWD/SIPPhone Call your system using a regular phone
  32. 32. Experiment 5 Buy service from SIPPhone ($25 gets you inward number and 1000 minutes) Configure Asterisk to use it Dial in and out
  33. 33. Experiment 6 Build up your Asterisk configuration Setup an IVR, Voicemail, etc.
  34. 34. 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"
  35. 35. 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.
  36. 36. Resources http://www.voxilla.com http://www.voipsupply.com http://www.asterisk.org http://www.voip-info.org http://www.trixbox.org

×