Distribution, redundancy and high availability using OpenSIPS
-
Upload
digium -
Category
Technology
-
view
257 -
download
6
description
Transcript of Distribution, redundancy and high availability using OpenSIPS
![Page 1: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/1.jpg)
Distribution, redundancy and high availability
using OpenSIPS
Ali Pey
Oct 23, 2014
![Page 2: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/2.jpg)
Cloud Services for Business
• eFax® • eVoice® • FuseMail® • Campaigner® • KeepItSafe® • Onebox® • www.j2.com
2
![Page 3: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/3.jpg)
Outline:
• History of VoIP
• Proxy Servers
• OpenSIPS
• Redundancy and distribution
• Question?
3
![Page 4: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/4.jpg)
What’s VoIP?
• History
4
![Page 5: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/5.jpg)
History of VoIP
5
![Page 6: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/6.jpg)
Started in 1892 - First phone call
6
![Page 7: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/7.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/8.jpg)
OpenSIPS Version 1.0
8
![Page 9: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/9.jpg)
Distribution Panels, Connecting Terminals, Patch Panels, Connection Blocks, etc.
9
![Page 10: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/10.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/11.jpg)
VoIP
• When it comes to VoIP, you need a proxy server such as OpenSIPS
11
![Page 12: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/12.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/13.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/14.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/15.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/16.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/17.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/18.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/19.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/20.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/21.jpg)
Redundancy and distribution
21
![Page 22: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/22.jpg)
Simple PBX Environment
22
![Page 23: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/23.jpg)
PBX Deployment with Analog/Digital Gateways
23
![Page 24: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/24.jpg)
Adding a proxy server
24
![Page 25: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/25.jpg)
Full Redundancy
25
![Page 26: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/26.jpg)
A complete Network
26
![Page 27: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/27.jpg)
Questions?
27
![Page 28: Distribution, redundancy and high availability using OpenSIPS](https://reader034.fdocuments.net/reader034/viewer/2022052601/558e67431a28ab8c218b46e1/html5/thumbnails/28.jpg)
28