IP Telephony with Asterisk

Slides:



Advertisements
Similar presentations
Facts about Welcome to this video from Ozeki. In this video I will present what makes Ozeki Phone System XE the Worlds best on-site software PBX for Windows.
Advertisements

VOIP SOLUTION IP PBX VOIP SOLUTION offer a rich and flexible featured IPPBX. VOIP SOLUTION's IP-PBX offers both classical PBX functionality.
BAI613 Module 2 - Voice over IP Technology. Module Objectives 1. Describe the benefits of IP Telephony/Packet Telephony/VoIP over traditional telephone.
Gateway and Trunk Concepts Chapter 07. The Process of Converting Voice to Packet 0.
Overview of DVX 9000.
Voice over IP Fundamentals
Security in VoIP Networks Juan C Pelaez Florida Atlantic University Security in VoIP Networks Juan C Pelaez Florida Atlantic University.
Voice over IP Solutions by KV IT-Solutions. What Is VoIP ? Voice over Internet Protocol, also called VoIP, IP Telephony, Internet telephony, Broadband.
CP Networking1 WAN and Internet Access. CP Networking2 Introduction What is Wide Area Networking? What is Wide Area Networking? How Internet.
Voice over Internet Protocol (VoIP) and Asterisk HOUNGUE Pélagie Contact:
October 6 University Faculty of Information Systems & Computer Science.
Public Switched Telephone Network (PSTN) dialup uses your phone connection to connect your computer to the internet. You need a modem, phone line and.
Consultant Quarterly Webinar Brice Green & Pete Ambriz 1/29/2014.
Asterisk & VoIP and it’s role in your enterprise.
Extending Traditional Desktop Office Communication Systems Chuck Harden, System Analyst Nick Kwiatkowski, System Analyst.
Asterisk & ENUM Extending the Open Source PBX Michael Haberler, IPA Otmar Lendl, nic.at.
IP Telephony Sunday A. Folayan. Disclaimer I am NOT an expert in VoIP technology I am NOT PRETENDING to be one. I am a user who just got interested in.
VoIP Voice over Internet Protocol
VoIP Citizen Decreasing Cost For Communication Voice over Internet Protocol Implement VoIP on your office Bona Simanjuntak, Mei 2004
Copyrights © All rights Reserved. Asterisk and VoIP issues Chetan Vaity March 2007.
MAEDS 45 th Annual Conference October , 2009.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
Voice over IP in the Enterprise. What is VOIP? The use of data networks to carry voice without a loss of sound quality The use of data networks to carry.
1 Lab Introduction – software Voice over IP. 2 Lab Capability and Status  Software used in this course installed in Engineering labs including the lab.
DUE Voice over IP (VoIP) Linksys Ernie Friend- FSCJ.
Applied Communications Technology Voice Over IP (VOIP) nas1, April 2012 How does VOIP work? Why are we interested? What components does it have? What standards.
Introduction to SIP Based ENUM IP Telephony Infrastructure 資策會 網路及通訊實驗室 Conference over IP Team 楊政遠 博士
Appendix A UM in Microsoft® Exchange Server 2010.
ﺑﺴﻢﺍﷲﺍﻠﺭﺣﻣﻥﺍﻠﺭﺣﻳﻡ. Group Members Nadia Malik01 Malik Fawad03.
Introduction to IP Telephony Sunday A. Folayan. VoIP …. A few years ago, everyone struggled to convert data (IP) into sound, and move it over the Public.
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
Introduction to Asterisk Mark Turner Siteseers Inc June 2004.
HOW TO GUIDE: INEXPENSIVE INTERNET PROTOCOL TELEPHONY SOLUTION Created by: Cameron Adkisson Eastern Kentucky University
Rohde & Schwarz Topex VoxiPlus Advanced July 2011.
Asterisk PBX. What is Asterisk ? A Full-featured open source (GPL) PBX for  Home users  Small to Medium Business  Enterprise  VoIP Service Providers.
An Introduction to the Asterisk Open Source PBX. Enter VoIP …. The packetisation and transport of classic public switched telephone system audio over.
Asterisk Open Source Phone Systems Jesse Rhoads LEAP-CF 03/19/2009.
INTERNET PROTOCOL TELEVISION (IP-TV)
Asterisk “The Future of Telecommunications”
Aria Telecom Solutions Pvt. Ltd.
Cisco Networking Academy Program
Asterisk in Three Beer’s Time Or Less
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
On-Site PBX Vs Hosted PBX.
GSM Gateway ARIA TELECOM SOLUTIONS PVT. LTD..
VoIP Basics A high level overview of Voice Over IP and it’s place in the New Zealand Market.
IP Telephony (VoIP).
Voice over internet protocol
Global Asterisk Voice over IP Implementation
VoIP with asterisk © Mathias Weyland.
SIX MONTHS INDUSTRIAL TRAINING REPORT
Copyright © 2006 VoEX, Inc. All Rights Reserved
TOPEX miniGateway.
Asterisk: The Open Source PBX
The IP-PBX.
Introduction to Networking
DUE Asterisk “The Future of Telecommunications” Vincente D’Ingianni Director of Professional Services Binary.
Wednesday, September 19, 2018 What Is the Internet?
INTERNET PROTOCOL TELEVISION (IP-TV)
Voice over Internet Protocol for Small & Medium Sized Companies
Integrated Services Digital Network Prepared By: Muhammad Basheir Omer Tyseer Khalil ISDN.
Lecture 5: Voice Over IP (VoIP): Internet Telephony
Progress leisure OCR GCSE ICT.
VoIP—Voice over Internet Protocol
Copyright © 2006 VoEX, Inc. All Rights Reserved
GETTING CONNECTED TO INTERNET
Web Manager Features Diagram
VoIP Signaling Protocols Framework
Presentation transcript:

IP Telephony with Asterisk Sunday A. Folayan

Disclaimer I am NOT an expert in VoIP technology I am NOT PRETENDING to be one. I am a user who just got interested in the technology. … and its coolness What I say may not be what it is, but how I understand it. Do not believe what I say wholesome, but seek your own understanding If you know that what I just said is a lie, please be kind to challenge me!

IP Telephony 101 Once upon a time, this was a means of Transportation … a 4x4 gas-efficient All Terrain!

There lived the PSTN …. A few years ago, everyone struggled to convert data (IP) into sound, and move it over the Public Switched Telephone Network (PSTN) infrastructure [using MODEMs]

Enter VoIP …. The packetisation and transport of classic public switched telephone system audio over an IP network. The analog audio stream is encoding in a digital format, with possible compression and filtering, before encapsulating it in IP for transport over LAN/WAN or the public internet Infrastructure

Convergence or Extinction? Now … everyone is struggling to convert PSTN sound into data, and move it over well established IP links. [using CODECs] Technology has just reversed the process

Voice Technology Matrix POTS FXS/FXO Channel Bank FXS/FXO Cisco ATA Voice IP ISP2 ISP1 TDM PRI PSTN2 PSTN1 IP Phone ?? RAD TDMoIP

VoIP provides a choice of Providers and paths Mobile Telco Mobile operator .ke Roaming Fixed Line PSTN e164.arpa dns ENUM tree ENUM lookup +27 217 451230 Query NAPTR 200067@fwd.pulver.com PRI: +43 1 79564 Randy@psg.com Invite:100@84.201.255.254 AS5300 Freeworld Dialup Psg.com asterisk Server HP Ze5500 19343@fwd.pulver.com Psg.com DB based subscribers Sghuter@nsrc.org 19918@fwd.pulver.com TESPOK SIP Proxy Call forwarding to AS 5300

Why TDM does not scale PSTNs traditionally (Graham Bell Era) stuff a single call on a single cable pair … and charge for 1 pair! PSTNs then stuffed multiple calls on a single cable pair using Time Division Multiplexing (TDM) and charge as multiple pairs!! BRI, PRI, ISDN, E1 T1 etc are all TDM technologies with diverse switching and Timing technologies PSTNs are now stuffing almost all calls into IP and they still keep the entire honey pot TDM is wasteful. Cannot utilize time slots carrying a period of silence in conversations VOIP is incompatible with the PSTN’s charging model! TDM introduces complex settlement systems, rendered obsolete by IP TDM just does not scale!

IP vs VoIP VoIP introduces a collection of protocols and devices that allow for the encoding, transport and routing of audio calls over IP networks. Voice  IP  Voice [P2P, Skype, Messanger] Voice  IP  PSTN [Net2Phone, Deltathree] Voice [PSTN]  IP  PSTN [iBasis, ITXC] Voice [GSM]  IP  GSM/PSTN [???]

Games the big boys play … PSTN1 ISP1 TDM IP ISP2 PSTN2

Little kids also play … TDM IP IP Phone IP Phone Intern.l PSTN ISP1 National PSTN

The VoIP edge IP is Scaleable IP conserves capacity IP simplifies charging and billing A turf for ISPs to play on … Softphones for Pc to Phone and PC to PC calls Web-based applications for web to phone services Move phones into the IT department and away from the expensive PBX consulting firm Interconnecting office PBXs at zero network cost Give ubiquitous access to the PBX for home/traveling employees PBX features such as Voicemail, Call blocking, Call forwarding, Call Conferencing, Follow me etc as added services

Universal Access IP IP Phone IP Phone Intern.l PSTN ISP1 ISP2 National PSTN

VoIP Building block VoIP is not built on TCP, but RTP RTP (Real-Time Transport Protocol) RTCP (Real-Time Control Protocol) RTP is a UDP stream with no intelligence for QOS or resource reservation Contains a packet number for detection of packet loss and re-sequencing of out of order packets. Unidirectional : two streams in any call

VoIP Building block Calls are CODed to IP or DECoded from IP. CODECS vary in sample size, usually Kbits per second Decoding can include echo cancellation Decoding can compensate for jitter IP routers do not need to decode voice passing through them

VoIP Building block Sample CODEC Sizes G711alaw 64k G711ulaw 64k ILBC 15k Speex 2.15 – 44.2k Gsm 13k G729 8k G723 5.3 - 6.3k Iax2 (trunked) 4k Codecs that compress to lower bandwidth are CPU intensive, unless the codec is implemented in hardware. Strike a balance!

Control Protocols H323 – Complex, multiple flow, ancient Has a large install base Session Initiation Protocol (SIP) New, simple, only sets up RTP streams Cisco Skinny (Proprietary) Allows complete phone customization MGCP (media Gateway Control Protocol) Good but Not widely deployed as SIP IAX (Inter-Asterisk eXchange) Simple, transverses NAT, Compressed

SIP SIP messages are HTTP-like and readable Supports Video There's lots of hardware SIP units available Grandstream BT-101/2 Cisco 79xx ) Not suited for Trunking (pbx to pbx) SIP is responsible for the increased use of VoIP

IAX(2) Inter Asterisk Exchange Not many Hardware phones support IAX. Soft Clients available for *unix/Windows Works behind NAT Has Trunking support built in Very low bandwidth requirement Built for asterisk

Phones Soft phones X-lite - www.xten.com (Windows) Lipz - www.lipz4.com (Linux) DIAX - http://www.laser.com/dante/diax/diax.html (Windows) PhoneGaim www.phonegaim.com(Linux) Linphone - www.linphone.org (FreeBSD) Sjphone - http://www.sjlabs.com/sjp.html (Windows, WinCE, Mac) Lots of others

Phones Hard phones Cisco 79XX’s Grandstream BT 10X’s Snom 100/200’s LOTS of h.323 phones from .tw ;-) Many other phones

Most IP phones can work Peer to Peer It is the Ability to use a PC as switch or PBX that really makes VoIP rock!! Simply loading a software PBX on a PC offers new possibilities …

PBX Software Call Manager Asterisk Closed Source 13  16 CD’s Web Interface Requires CCNA to setup Needs extremely powerful Server Leaves PRI/FXO/FXS to other devices Asterisk Open Source A large array of tools and add-ons Uses industry-wide devices and equipment Can be setup in one night

What is in VoIP for operators? Some uncharted colonies … WiFi/WiMax Phones for universal access True Global roaming ;-) Enum adoption Numbering plan, being able to really “Play” Receivership for Long Distance companies

Asterisk Open-Source IP PBX

Asterisk is not … A billing system A CRM system A web server or XML server (re: Cisco 79xx) A configuration tool for VoIP devices A voice recognition system A USENET or email client

Asterisk is a …. Automatic Call distribution (ACD) system Telephony gateway (TDM - PRI,POTS) VoIP Gateway (IP channels) IVR system (Interactive Voice Response) Voicemail system Meet-me Conference system Scriptable telephony-to-anything (Perl, C, etc.) Automatic Call distribution (ACD) system

Practical Uses (office) Ditch your LD company Interconnect office PBXs at zero network cost Get “Unified Messaging” Give ubiquitous access to the PBX for home/traveling employees Disaster recovery scenarios Move phones into your IT department and away from your expensive PBX consulting firm Eliminate adds/moves/changes as physical chores

System Requirements No clear rule of thumb on processor size; at least 400mhz PIII recommended Works on almost all Linux Distributions and FreeBSD Source + binaries (including sounds) are ~35Mb Using complex codecs (i.e.: G.729, speex, etc.) will increase processor load dramatically

Minimum Recommendation Estimated CPU Sizing Purpose Simultaneous calls Minimum Recommendation Hobby System <5 X86 400Mhz 256MB SoHo System 5 - 10 X86 1Ghz 512Mb SMB System 10 - 15 X86 3Ghz 1GB Large >15 Dual CPU, Clusters

Compatible Interfaces Many interfaces for converting between Voice/IP/TDM are compatible with Asterisk. These include POTS cards (Digium, Zapata, Voicetronix, etc.) TDM Digital (AdTran VoFR, Digium E1/T1, etc.) CAPI (ISDN card support for Linux ISDN driver) USB dongle for FXS Modem drivers for certain modems Speaker/headphones via soundcard

Basic Installation Steps Setup CPU and operating System Install desired hardware based on application intended Download asterisk from www.asteriskpbx.org Compile and install with “Make” Load Appropriate drivers [None is needed for IP or soft phone] Configure modules.conf Configure either sip.conf or iax.conf Configure extensions.conf Start Asterisk Make calls!

Extensions.conf (Call Flow) Calls come in on channels and are then handed to the “extensions.conf” file, which is the dialplan Dialplan contains logical sections of matches called ‘Contexts,’ and each channel sends a call into the dialplan with a context name and a dialed number The dialplan then matches (with modified regexp’s) the number being dialed, and runs applications accordingly Each match on the dialed number has an order of steps called ‘Priorities’, and are indicated with an integral incrementing number (BASIC-like)

Other use …. Call queues - you can build a call center with Asterisk, with various call weightings and agent logins/hot seating Multi-ring, cascading ring with different technologies (inbound calls forward to your desk line and your cell phone - first answer gets it) Multi-language support with same dialplan Festival integration for voice synthesis

References …. http://www.asterisk.org/ http://www.digium.com/ http://www.voip-info.org http://www.loligo.com/asterisk/ http://www.wwworks-inc.com/asterisk/ http://www.xten.com/ http://resources.nznog.org/Wednesday-220306/JonnyMartin-AsteriskPBX/NZNOG06-Asterisk_JM.pdf http://www.onlamp.com/pub/a/onlamp/2003/07/03/asterisk.html http://www.nznog.org/crigby-voip-intro.ppt http://www.loligo.com/asterisk/misc/presentations/asterisk-overview.v1.0.ppt http://docbox.etsi.org/tispan/open/enum-workshop-20040224-sophia/08.%20r%20stastny%20austria_v4.ppt http://www.ietf.org/proceedings/03jul/slides/enum-3/enum-3.ppt http://www.ispa.at/downloads/c8431676f72b_2003-05_ispa_enum_voip_stastny.ppt