distribution, redundancy and high availability using opensips

28
Distribution, redundancy and high availability using OpenSIPS Ali Pey Oct 23, 2014

Upload: digium

Post on 27-Jun-2015

256 views

Category:

Technology


6 download

DESCRIPTION

Distribution and High availability for Hosted, Enterprise and Cloud Solutions

TRANSCRIPT

Page 1: Distribution, redundancy and high availability using OpenSIPS

       

Distribution, redundancy and high availability

using OpenSIPS

Ali Pey

Oct 23, 2014

Page 2: Distribution, redundancy and high availability using OpenSIPS

Cloud Services for Business

•  eFax® •  eVoice® •  FuseMail® •  Campaigner® •  KeepItSafe® •  Onebox® •  www.j2.com

2

Page 3: Distribution, redundancy and high availability using OpenSIPS

Outline:

•  History of VoIP

•  Proxy Servers

•  OpenSIPS

•  Redundancy and distribution

•  Question?

3

Page 4: Distribution, redundancy and high availability using OpenSIPS

What’s VoIP?

•  History

4

Page 5: Distribution, redundancy and high availability using OpenSIPS

History of VoIP

5

Page 6: Distribution, redundancy and high availability using OpenSIPS

Started in 1892 - First phone call

6

Page 7: Distribution, redundancy and high availability using OpenSIPS

Cables

•  Telephones needed cables (still do) •  Lots of Cables •  The art of cabling •  Connecting Terminals, Patch Panels, etc.

7

Page 8: Distribution, redundancy and high availability using OpenSIPS

OpenSIPS Version 1.0

8

Page 9: Distribution, redundancy and high availability using OpenSIPS

Distribution Panels, Connecting Terminals, Patch Panels, Connection Blocks, etc.

9

Page 10: Distribution, redundancy and high availability using OpenSIPS

The middle man

•  IP: Firewalls, Routers, NATs •  ISDN Gateways: Digital and Analog •  Electricity: Distribution Panels •  Water Supply Distribution System •  Airport transits

10

Page 11: Distribution, redundancy and high availability using OpenSIPS

VoIP

•  When it comes to VoIP, you need a proxy server such as OpenSIPS

11

Page 12: Distribution, redundancy and high availability using OpenSIPS

Chapter 2: Proxy Servers

•  Proxy Server •  SBC •  Back to back user agent •  SIP Router •  Load balancer

12

Page 13: Distribution, redundancy and high availability using OpenSIPS

Advantages of using a proxy server

•  Improved performance •  Security and Authentication •  Flexibility and Customization •  NAT •  Redundancy and High Availability (failure detection and

re-routing) •  Distribution •  Routing, Rules and Priorities

13

Page 14: Distribution, redundancy and high availability using OpenSIPS

Advantages of using a proxy server (Cont’d)

•  Load balancing •  SIP Signaling, Codec and Digit Manipulation •  Scripting •  Resource Allocation •  Rate Limiting •  Media Proxy (or Direct Media Path)

14

Page 15: Distribution, redundancy and high availability using OpenSIPS

Open Source

•  No Cost, no licensing fees •  Flexibility, Customization and Integration •  More independence (not depending on a single company)

•  Community –  Wider support –  Continued enhancements –  Tools

•  In line with future of telecom

15

Page 16: Distribution, redundancy and high availability using OpenSIPS

OpenSIPS Overview

•  Call Routing (Rules, Priorities, LCR & Reporting) •  NAT Traversal •  Security •  Registrar Server •  SIP Signaling, Codec and Digit Manipulation •  Load Balancing •  Failure detection and re-routing •  Scripting •  Database •  Management Interface

16

Page 17: Distribution, redundancy and high availability using OpenSIPS

OpenSIPS Overview

•  Performance – 60,000 calls per second •  Distributed architecture •  Over 120 Modules •  www.opensips.org •  Learning Curve •  Mailing Lists, Forums, OpenSIPS Summits, etc.

17

Page 18: Distribution, redundancy and high availability using OpenSIPS

Modules (over 120 modules)

•  SIP Clients related modules: –  Registrar Server –  Authentication –  Presence Server –  Instant messaging, Jabber, Json, SMS –  NAT Traversal –  Back to Back User Agent (topology hiding) –  Database (mysql, oracle, odbc, postgres)

18

Page 19: Distribution, redundancy and high availability using OpenSIPS

Modules

•  Trunks and Routing –  Dynamic Routing (Prefix base rules, priority, time,

distribution, drain mode, failure detection and re-routing)

–  Load Balancer (Dispatcher) –  Dial Plan –  SIP MSG OPS –  NAT Traversal –  TLS –  XMPP (SIP to XMPP Gateway)

19

Page 20: Distribution, redundancy and high availability using OpenSIPS

Modules

•  Utilities –  Rate Limit –  Statistics –  SNMP interface –  SIP Trace –  SIP Capture –  Pike – Flood detector –  Perl –  Accounting –  Call Control (PrePaid application module)

20

Page 21: Distribution, redundancy and high availability using OpenSIPS

Redundancy and distribution

21

Page 22: Distribution, redundancy and high availability using OpenSIPS

Simple PBX Environment

22

Page 23: Distribution, redundancy and high availability using OpenSIPS

PBX Deployment with Analog/Digital Gateways

23

Page 24: Distribution, redundancy and high availability using OpenSIPS

Adding a proxy server

24

Page 25: Distribution, redundancy and high availability using OpenSIPS

Full Redundancy

25

Page 26: Distribution, redundancy and high availability using OpenSIPS

A complete Network

26

Page 27: Distribution, redundancy and high availability using OpenSIPS

Questions?

27

Page 28: Distribution, redundancy and high availability using OpenSIPS

       

28