Scaling Asterisk TDM Architecture AAUG Install Fest 2009 Konrad Hammel Sangoma Technologies.

Slides:



Advertisements
Similar presentations
NETWORK TRANSFORMATION THROUGH VIRTUALIZATION
Advertisements

Distributed Information System December 7, 20091Alvin MACCHIONE - Rémy JAVELLE.
Figure 7-1 Softswitch Components Signaling Gateway Feature Server Softswitch Universal Media Gateway SGCP SIP MGCP MGCP (Media Gateway Control Protocol)
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.
1 Chapter One Introduction to Computer Networks and Data Communications.
Real Time Versions of Linux Operating System Present by Tr n Duy Th nh Quách Phát Tài 1.
27 Oct-2010 / 1 Asterisk PRI Passive Call Recording Moises Silva Senior Software Engineer. Sangoma Technologies.
Chapter 1: Introduction to Scaling Networks
Application Server Based on SoftSwitch
© 2009 Avaya Inc. All rights reserved. IP Office control units and IP Office Expansion Modules.
IK-16Cluster Presentation What is it? A cost-effective computer hardware unit and a license free software solution for small labs or multiple workstation.
?  Able to explain the 6 key functions of system software  Able to explain each using a suitable example  Identify three different system software.
Ch. 10 Circuit Switching and Packet Switching
Unified Communications
System Area Network Abhiram Shandilya 12/06/01. Overview Introduction to System Area Networks SAN Design and Examples SAN Applications.
David Liu NET Lync Solutions David Liu
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.
Overview of DVX 9000.
Chapter Six Networking Hardware.
Intro to Sangoma Webinar Konrad Hammel Field Applications Engineer.
Scaling Asterisk TDM Architecture AstriCon 2008 Konrad Hammel Field Applications Engineer Sangoma Technologies.
Introduction to SS7 – Part 3 Konrad Hammel Sangoma Technologies.
Introduction to SS7 – Part 4 Konrad Hammel Sangoma Technologies.
Sangoma Partner Training Lync Express Frederic Dickey / Doug Vilim.
SDN and Openflow.
Figure 1.1 Interaction between applications and the operating system.
SIP Bridging for Hoot n Holler Hydra-Link TM Florida Reliability Coordinating Council Solutions for:
Hardware & Software Needed For LAN and WAN
Voice and Data FOSTEL 2007 Extending Open Source PBX Architecture for Scalable Enterprise Media Gateways FOSTEL 2007.
Achieving optimal scalability and voice quality in open source telephony Konrad Hammel Software Engineer Sangoma Technologies.
INTRODUCTION TO CLOUD COMPUTING Cs 595 Lecture 5 2/11/2015.
Sangoma Voice Communications Product Portfolio December 2009.
Introduction to SMG-SS7 Konrad Hammel Sangoma Technologies.
Internet Service Provisioning Phase - I August 29, 2003 TSPT Web:
Woomera Accelerating access to VoIP Cluecon 2009, 7 August 2009 Craig Southeren.
Module 1 WANs and Routers.
How to construct world-class VoIP applications on next generation hardware David Duffett, Aculab.
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.
MXclusters, Redundancy, XRS12, EPA3 Yang Guo Manager of Business Development for Asia Pacific.
1 AQA ICT AS Level © Nelson Thornes 2008 Operating Systems What are they and why do we need them?
MAEDS 45 th Annual Conference October , 2009.
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.
ETHLON LonWorks Ethernet Adapter Conventional Approach SIPAI Solution ETHLON DIRECTLY REPLACES SLTA-10 OR SLTA CONNECTIONS.
Logical Network Diagram
1 CHAPTER 8 TELECOMMUNICATIONSANDNETWORKS. 2 TELECOMMUNICATIONS Telecommunications: Communication of all types of information, including digital data,
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.
Processes Introduction to Operating Systems: Module 3.
Next Generation Operating Systems Zeljko Susnjar, Cisco CTG June 2015.
Aastra Communication Server Aastra 400
06-Apr-10/ 1 FreeTDM Moises Silva Senior Software Engineer. Sangoma Technologies.
Softswitch SIP Proxy Server Call Manager IP Telephony Router Tablet PC IP PBX Class 5 Switch Class 4 Switch PBX Access Gateway Broadband Router Voice Gateway.
2 2 Semester 2 WANs & Routers JEOPARDY Robert C. Gates.
Virtual Machines Created within the Virtualization layer, such as a hypervisor Shares the physical computer's CPU, hard disk, memory, and network interfaces.
CHAPTER 7 CLUSTERING SERVERS. CLUSTERING TYPES There are 2 types of clustering ; Server clusters Network Load Balancing (NLB) The difference between the.
VDS Case Study Voice and Data Systems babyTEL Migrating to SIP & VoiceXML Creating a VoIP Service Stephen Dorsey
Cluster computing. 1.What is cluster computing? 2.Need of cluster computing. 3.Architecture 4.Applications of cluster computing 5.Advantages of cluster.
Inoteska ltd., Podtureň-Roveň 221, Liptovský Hrádok, Slovakia,
SMOOTHWALL FIREWALL By Nitheish Kumarr. INTRODUCTION  Smooth wall Express is a Linux based firewall produced by the Smooth wall Open Source Project Team.
HOW TO GUIDE: INEXPENSIVE INTERNET PROTOCOL TELEPHONY SOLUTION Created by: Cameron Adkisson Eastern Kentucky University
SQL Notification Service와 SMS를 활용한 모바일 솔루션
Voice Controlled Robot by Cell Phone with Android App
Operating System & Application Software
Sangoma Voice Communications Product Portfolio
SpiraTest/Plan/Team Deployment Considerations
Presentation transcript:

Scaling Asterisk TDM Architecture AAUG Install Fest 2009 Konrad Hammel Sangoma Technologies

Introduction –Who/what is Sangoma? Why do we need to scale? –32 E1s + Dahdi/Asterisk Architecture Overview Short Comings of Current Architecture –Dahdi does A LOT –TDM Hardware Restrictions –Singular System Design Sangoma’s Solution –TDM Voice API + SMG + Chan_Woomera –Stage 1 –Stage 2 –Stage 3 Outline 10/16/2008 AAUG Install Fest 20092

Who is Sangoma? –Founded in 1984 –Publically traded on the Toronto Stock Exchange –Currently 25 employees (and growing) –Located in Markham (Greater Toronto Area), Ontario, Canada –David Mandelstam, Founder and CEO Introduction 10/16/2008 3AAUG Install Fest 2009

What does Sangoma do? –We design and built interface cards –Industry leading cards, professional quality using industrial grade components –Software to maximize the use of our cards Sangoma started Linux Based Routers –October > Certification of FR with MCI –April > WAN cards to Rockwell for router project –December > Wanpipe Frame Relay for Linux –First version of Asterisk used Sangoma Frame Relay card Support for different protocols in Linux Our drivers are still there. Introduction 10/16/2008 4AAUG Install Fest 2009

Asterisk is SOLID! Demand for 16+ E1s –SS7 systems are leading the push Multiple Asterisk boxes are hard to maintain Why Do We Need to Scale? 10/16/2008 5AAUG Install Fest 2009

Dahdi/Asterisk Architecture Dahdi API abstracts TDM hardware from User space apps Dahdi takes care of DTMF, HDLC framing, echo cancelling, some DSP processing, some signaling (analog, E&M,etc) Chan_Dahdi takes care of interfacing to Asterisk and some signaling 10/16/2008 AAUG Install Fest 20096

Dahdi by default does: –Echo Cancelling –HDLC Framing –DSP Processing (DTMF, Fax dection) Why…? –Software is cheaper then hardware Solution…Move it to hardware –Hardware EC –Hardware HDLC –Hardware DTMF –Hardware Fax Dection –FPGAs and DSPs are cheap and efficient Dahdi Does ALOT 10/16/2008 7AAUG Install Fest 2009

TDM Hardware Restrictions Dahdi requires 1ms (8 bytes) of data on each interrupt…1000 interrupts/sec 1 interrupt / port Lots of interrupts Solution: –Design hardware so that 1 interrupt services multiple ports (1 interrupt / card) –Increase Dahdi’s chunk size (8,16,40 and 80) Current Status: –Global interrupt since firmware 23 –./Setup install –zaptel-chunk=X 10/16/2008 AAUG Install Fest 20098

TDM Hardware Restrictions Dahdi creates a device for each channel – User application is simple…direct feed to soft- switch 16 ports = 496 devices – Linux only recently able to handle Solution: – Abstraction API creates a device/span – User application decodes the span into channels Requires a major change to Dahdi and Chan_Dahdi 10/16/2008 AAUG Install Fest 20099

Dahdi and Chan_Dahdi are designed to run on the same system as Asterisk What about: –Distributed Computing –Load Balancing –Redundancy Solution: –Redesign Dahdi and Chan_Dahdi so that they can be run on different systems, be able to communicate with multiple instances, and load balance between multiple instances Singular System Design 10/16/ AAUG Install Fest 2009

Sangoma’s Solution Stage 1 Dahdi is replaced with TDM Voice API Chan_Dahdi is replaced with SMG and Chan_Woomera Sangoma Media Gateway –Uses “Boost” stacks –Woomera Server Chan_Woomera –Socket Based Communication to Woomera Server –Simple text based call signaling protocol –Ulaw or Alaw 10/16/2008 AAUG Install Fest

Sangoma’s Solution Stage 2 Chan_Woomera – Distributed Computing – Load Balancing – Redundant Boost Stacks are Clustered – 1 stack for multiple media gateways Currently being deployed using 16 E1s per system 10/16/2008 AAUG Install Fest

Sangoma’s Solution Stage 3 TDM Voice API is replaced with High Performance TDM Voice API –Span Based devices –SMG decodes the channels Currently being tested in our labs –32 E1s, Q6600 Quad Core, 992 channels used, 2-5% with spike to 10% system load 10/16/2008 AAUG Install Fest

Thank you. Konrad Hammel Sangoma Technologies 10/16/ AAUG Install Fest 2009