Achieving optimal scalability and voice quality in open source telephony Konrad Hammel Software Engineer Sangoma Technologies.

Slides:



Advertisements
Similar presentations
IP-PBX & Voice-Gateway Solution From Green Path Technologies Co.,ltd.
Advertisements

27 Oct-2010 / 1 Asterisk PRI Passive Call Recording Moises Silva Senior Software Engineer. Sangoma Technologies.
Scaling Asterisk TDM Architecture AAUG Install Fest 2009 Konrad Hammel Sangoma Technologies.
System Area Network Abhiram Shandilya 12/06/01. Overview Introduction to System Area Networks SAN Design and Examples SAN Applications.
MX25: Multifunction SIP Gateway Zultys Technologies.
Building Applications with SIP Conferencing / Collaboration Alan D. Percy Director, Market Development AudioCodes.
Voice and Data Open source at the PBX February 2006 Open source at the PBX Ready for prime time January 2006.
2 Best of Breed Telephony Solutions- Open Source and Proprietary Presented by: David Mandelstam, CEO/President, Sangoma Technologies.
FreeSWITCH ISDN David Yat Sin
Sonus SBC1000, SBC 2000 Competitive Positioning
Overview of DVX 9000.
Intro to Sangoma Webinar Konrad Hammel Field Applications Engineer.
Scaling Asterisk TDM Architecture AstriCon 2008 Konrad Hammel Field Applications Engineer Sangoma Technologies.
D100 Voice Transcoding Product Introduction August 2010.
Canadian Based Company R&D and Manufacture in Cannada for Interface Card business Found in 1984 Premium provider for voice and data connectivity components.
Sangoma Partner Training Lync Express Frederic Dickey / Doug Vilim.
Team 7 Phil Overbeeke Keith Conrad Jeffrey Enahoro Andrew Stutzman Matt Gardner.
Figure 1.1 Interaction between applications and the operating system.
02 Aug-2010 / 1 FreeTDM PRI Passive Call Recording Moises Silva Senior Software Engineer. Sangoma Technologies.
Voice and Data FOSTEL 2007 Extending Open Source PBX Architecture for Scalable Enterprise Media Gateways FOSTEL 2007.
Real-time multimedia and communication in packet networks Asterisk The open source IP PBX.
Leveraging Existing Application Processors in Mobile Devices to Implement VoIP Client.
Sangoma Voice Communications Product Portfolio December 2009.
Webinar Training Series NetBorder Express Version 4.0 March 29, 2011.
Quintum Technologies, Inc. Risk Free VoIP.
Introduction to SMG-SS7 Konrad Hammel Sangoma Technologies.
Asterisk & VoIP and it’s role in your enterprise.
Christopher Bednarz Justin Jones Prof. Xiang ECE 4986 Fall Department of Electrical and Computer Engineering University.
IP Telephony Migration Ed Wright Sr. Sales Engineer, ShoreTel Inc. September 2008.
Woomera Accelerating access to VoIP Cluecon 2009, 7 August 2009 Craig Southeren.
PIKA Technologies’ fully customizable PBX Platform.
How to construct world-class VoIP applications on next generation hardware David Duffett, Aculab.
Quintum Technologies, Inc. Risk Free VoIP.
Mark Recoskie November 14, Agenda  Quick review of value proposition  Review of Warp r1v2 hardware and software  What’s new in Warp 3.0 hardware?
Voice Communications: Moving from Appliance to Software Serge Forest – CEO Paraxip, a Sangoma Company.
Sangoma Webinar Series Telecom Tapping Solutions F.Dickey / N.Corbic December 14, 2010.
D100 Voice Transcoding Product Introduction
SIP Interoperability Testing Alan Percy Director of Business Development AudioCodes, Inc. Booth #822.
Objectives Confirm our understanding of what host media processing is and is not Allow us to identify when it should be selected Save time by learning.
Embedded Asterisk and the Blackfin Processor
Heterogeneous Multikernel OS Yauhen Klimiankou BSUIR
A116 Sales Training Julien Nephtali Product Manager May 15, 2012.
Sangoma Hardware and Open Source Asterisk IP/PBX Konrad Hammel Software Engineer/Level 3 Tech Sangoma Technologies.
Application Development Tools A look at the future Ron Romanchik Vice President, Sales for North America AudioCodes Blade Business Line.
FireProof. The Challenge Firewall - the challenge Network security devices Critical gateway to your network Constant service The Challenge.
Webinar Training Series NetBorder Express Version 4.0 May 5, 2011.
Media Handling in FreeSWITCH Moisés Silva Software Engineer / Manager
Aastra Communication Server Aastra 400
An investigation into the provision of video capabilities in iLanga Fred Otten Supervisors: Prof Alfredo Terzoli Prof Peter Clayton.
Bridging Two Worlds Parting Is Such Sweet Sorrow: Adding IP Telephony to Existing "Big Iron" Mike Robinson CTO
06-Apr-10/ 1 FreeTDM Moises Silva Senior Software Engineer. Sangoma Technologies.
Developing Applications with Host Media Processing David Asher.
Modular Telephony Hardware Design How separating interfaces improves reliability and reduces costs.
Operating Systems Engineering Based on MIT (2012, lec3) Recitation 2: OS Organization.
VDS Case Study Voice and Data Systems babyTEL Migrating to SIP & VoiceXML Creating a VoIP Service Stephen Dorsey
UDI Technology Benefits Slide 1 Uniform Driver Interface UDI Technology Benefits.
Business-logic Layer Presentation Layer Network Layer Digital Signal Processing Layer SmartHome API SmartHome Software Architecture SH mobile application.
Inoteska ltd., Podtureň-Roveň 221, Liptovský Hrádok, Slovakia,
How to Make your Networks Smoothly by Using Huawei AR2200 Routers?
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Modem. Introduction: A modem [Modulator -Demodulator] is a device. Data communication means transmitting digital information form one computer to other.
The World Leader in High Performance Signal Processing Solutions IP-PBX introduction Jerry Zeng Blackfin uClinux Team.
Rohde & Schwarz Topex VoxiPlus Advanced July 2011.
Computer System Structures
voice and data telecommunication solutions
Digium Platform product for Switchvox
Examining Host Media Processing
01 A truly unified communications solution. PART ONE PART TWO
Sangoma Voice Communications Product Portfolio
Operating System Introduction.
Presentation transcript:

Achieving optimal scalability and voice quality in open source telephony Konrad Hammel Software Engineer Sangoma Technologies

WHAT IS THE SECRET TO SCALABILITY AND QUALITY? Achieving optimal scalability and voice quality in open source telephony2

USING THE BEST HARDWARE AND THE BEST SOFTWARE Achieving optimal scalability and voice quality in open source telephony3

Sangoma Hardware –AFT-Series –B-Series –Other Hardware Intro to Asterisk Architecture Bottlenecks and Scalability Issues –Everything in Software –Chunk Size restriction of Dahdi –Channel Based –Monolithic Design FreeTDM + SMG + SIP/Woomera Questions??? Outline 4Achieving optimal scalability and voice quality in open source telephony

SANGOMA HARDWARE Achieving optimal scalability and voice quality in open source telephony5

Advanced Flexible Telephony –Award winning design from scratch OOP Design –Modular -> PCI/PCIe interface, telephony interface, DSP –Abstraction -> common base, Remora system Higher per card cost but lower maintenance and easier to stock AFT Series 6Achieving optimal scalability and voice quality in open source telephony

AFT Series - Continued 7Achieving optimal scalability and voice quality in open source telephony

Octasic HWEC –Industry’s 1 st telco grade HWEC –Adjustable 128ms tail –Fully Independent…no fine tuning needed –Fax/Modem and DTMF detection Field Upgradable Firmware –Fix bugs and add new features on the fly Crash Proof Firmware –Recover the card after “act of god” accidents Industry first and only LIFETIME WARRANTY AFT Series - Features 8Achieving optimal scalability and voice quality in open source telephony

AFT Series - Features Fax Sync Reliable T1/E1/BRI to analog faxing Syncs clock from digital to analog card Remora Expansion System Add more telephony ports without using PCI/PCIe slots Up to 24 ports per card Achieving optimal scalability and voice quality in open source telephony9

AFT Series - Analog A200 –Low density modular –2-24 port FXO/FXS –2u, PCI/PCIe(E), half- length –Optional HWEC (D) A400 –High density modular –2-24 port FXO/FXS –2u, PCI/PCIe(E), full length –Optional HWEC (D) Achieving optimal scalability and voice quality in open source telephony10

AFT Series – Digital T1/E1 A10X line –A101, A102, A104, and A T1/E1/J1 ports Channelized for voice and data 2u, PCI/PCIe (E) half-length Optional HWEC (D) Achieving optimal scalability and voice quality in open source telephony11

AFT Series – Digital BRI A port modular BRI, up to 24 with Remora 2u, PCI/PCIe (E), half-length Optional HWEC (D) Achieving optimal scalability and voice quality in open source telephony12

B-Series – Mix Mode B700 Modular BRI and analog 2-4 BRI, 2 FXO/FXS 2u, PCI/PCIe(E) half- length Optional HWEC (D) 5 year warranty Achieving optimal scalability and voice quality in open source telephony13

B-Series – Mix Mode B600 4 FXO ports, 1 FXS port 2u, PCI/PCIe, half-length Optional HWEC (D) 5 year warranty B601D 4 FXO, 1 FXS, 1 T1/E1/J1 2u PCI/PCIe, half-length Comes with HWEC 5 year warranty Achieving optimal scalability and voice quality in open source telephony14

Other Hardware U100 (USBFXO) 2 port FXO interface via USB Comes with HWEC 5 year warranty UT-50/UT-51 Asterisk timing device USB (UT-50) and internal pin header (UT-51) interface 5 year warranty Achieving optimal scalability and voice quality in open source telephony15

INTRODUCTION TO ASTERISK ARCHITECTURE Achieving optimal scalability and voice quality in open source telephony16

Asterisk Architecture Asterisk Core Channel Drivers like Chan_SIP and Chan_Dahdi Action Plan (dial plan) Dahdi API Hardware Drivers Hardware User Space Kernel Space Achieving optimal scalability and voice quality in open source telephony17 Hardware (A10X, A200, B601, etc) Wanpipe Dahdi API Chan_Dahdi Asterisk Core Dial plan analog HDLC libPRI SWEC DTMF

BOTTLENECKS AND SCALABILITY ISSUES Achieving optimal scalability and voice quality in open source telephony18

HDLC encoding –Easy but still takes processing power –Very simple to do in FPGA based hardware Echo Cancelling –Extremely CPU intensive…complicated math –Audio glitches when not perfect –DSP designed to do math DTMF Detection –Like EC can be CPU intensive because it is math based –Hardware EC DSP can easily take care of this Software Everything 19Achieving optimal scalability and voice quality in open source telephony

Chunk Size Dahdi takes 1ms = 8 bytes –1000 interrupts per second! –WHY??? Analog signaling Software EC Software DSP SOLUTION: Increase to 20ms chunks optimal for system performance (up to 70% less CPU load) –How to Reduce Asterisk System load by 70%How to Reduce Asterisk System load by 70% Achieving optimal scalability and voice quality in open source telephony20 Hardware/Wanpipe A101 – 1 E1/PRI Dahdi API 8 bytes 1ms 8 bytes 1ms 8 bytes 1ms …..….

PROBLEM: Channel Based API –Each voice channel gets a kernel device –Easy for user space… –16 E1 ports = 496 devices –HUGE amount of context switches SOLUTIONS: Span Based API –Each span gets a device –A little more work in user space –Much less work done in time dependent kernel Channel Based 21Achieving optimal scalability and voice quality in open source telephony

PROBLEM: Dahdi, Chan_Dahdi, and Asterisk are linked directly –If one fails, the whole system fails –All load concentrate on one system SOLUTION: Woomera or SIP –Socket based connection to Asterisk A crash on one side does not kill the other side –Client-Server Architecture Allows for 1-to-Many connections (load balancing) Asterisk registers into PSTN interface Monolithic Design 22Achieving optimal scalability and voice quality in open source telephony

FREETDM + SMG + WOOMERA/SIP Achieving optimal scalability and voice quality in open source telephony23

FreeTDM + SMG + SIP High Quality Sangoma Hardware Wanpipe Kernel drivers TDM API FreeTDM + Sig stacks SMG Chan_SIP or Chan_Woomera Asterisk Cores User vs. Kernel Space Achieving optimal scalability and voice quality in open source telephony24 Sangoma Hardware HW-HDLC, HWEC, HW-DTMF Wanpipe TDM API (20ms chunks) FreeTDM SMG Asterisk Chan _SIP Asterisk Chan _Woomera PRI/BRI SS7 analog

Kernel Space Sangoma Hardware Telco grade quality Hardware HDLC framing Hardware Echo Canceling Hardware DTMF Detection TDM API Small, Open Source, kernel based API Runs at 20ms chunks Can run in channel mode or span mode No processing of any kind…just passes data OS independent Achieving optimal scalability and voice quality in open source telephony25

Open Source, User space, C based TDM/PSTN API Span based or Channel based Unified..handles voice and signaling –PRI, BRI, SS7, analog –DTMF detection and generation –Caller-id detection and generation Complete hardware abstraction allows any hardware to run “plug and play” stacks (open source and proprietary) Operating system independent: Linux and Windows FreeTDM 26Achieving optimal scalability and voice quality in open source telephony

Sangoma Media Gateway Open Source (always has been, always will be) Connects to FreeTDM and uses the FS core to access SIP or Woomera, transcoding (HW or SW), logging (unified hardware, TDM, stack logging), and a web front end interface Asterisk Channel bridging, SMG-to-SMG bridging OS independent: Linux and Windows SMG 27Achieving optimal scalability and voice quality in open source telephony

Conclusion Voice quality in Asterisk can be improved by: –Using telco grade hardware –Using telco grade HWEC –Optimizing for system load Asterisk scalability is achieved by: –Moving processor intensive tasks to hardware –Reducing system load by increasing data chunk size –Using a distributed architecture Achieving optimal scalability and voice quality in open source telephony28 Sangoma Hardware HW-HDLC, HWEC, HW-DTMF Wanpipe TDM API (20ms chunks) FreeTDM SMG Asterisk Chan _SIP Asterisk Chan _Woomera PRI/BRI SS7 analog

QUESTIONS? Achieving optimal scalability and voice quality in open source telephony29

THANK YOU COME VISIT US AT BOOTH A4 30Achieving optimal scalability and voice quality in open source telephony