Microbase OpenSIPs Summit 2015 Building an ITSP with OpenSIPs 2.1



Similar documents
Transcoding and Call Centers with OpenSIPS Bogdan-Andrei Iancu Founder OpenSIPS Project OpenSIPS Solutions

EarthLink Business SIP Trunking. ININ IC3 IP PBX Customer Configuration Guide

SIP Proxy. SIP Proxy. Bicom SYSTEMS. SIP Proxy... Advanced Simplicity

EarthLink Business SIP Trunking. Toshiba IPedge Customer Configuration Guide

SIP Trunking with Microsoft Office Communication Server 2007 R2

OfficeMaster Gate (Virtual) Enterprise Session Border Controller for Microsoft Lync Server. Quick Start Guide

ALERT & Cisco CallManager

EarthLink Business SIP Trunking. Asterisk 11.2 IP PBX Customer Configuration Guide

Welltel - Session Border Controller SBC 120

SIP Trunking Configuration with

Application Note. Onsight Connect Network Requirements v6.3

Best Practices for Securing IP Telephony

6.40A AudioCodes Mediant 800 MSBG

Ingate Firewall/SIParator SIP Security for the Enterprise

ABC SBC: Securing the PBX. FRAFOS GmbH

SBC 1000/2000 Configuration Guide with Lync 2013 for Windstream/ LPAETEC SIP Trunk Deployments

SIP Security Controllers. Product Overview

Fact Sheet. N-fon Case Study

EarthLink Business SIP Trunking. Avaya IPO IP PBX Customer Configuration Guide

Dialogic. BorderNet Products Interwork and Connect Seamlessly and Securely at the Network Edge

Dialogic BorderNet Session Border Controller Solutions

Enabling Users for Lync services

A host-based firewall can be used in addition to a network-based firewall to provide multiple layers of protection.

Presenter. Zane Ryan. Director Dot Force

OpenSIPS networking the VoIP

Unified Communications in RealPresence Access Director System Environments

Application Note Patton SmartNode in combination with a CheckPoint Firewall for Multimedia security

Wave SIP Trunk Configuration Guide FOR BROADVOX

AdvOSS Session Border Controller

Brochure. Dialogic BorderNet Session Border Controller Solutions

Building the Lync Security Eco System in the Cloud Fact Sheet.

Comparing Session Border Controllers to Firewalls with SIP Application Layer Gateways in Enterprise Voice over IP and Unified Communications Scenarios

The #1 Issue on VoIP, Fraud!

Troubleshooting Voice Over IP with WireShark

Using DNS SRV to Provide High Availability Scenarios

TLS and SRTP for Skype Connect. Technical Datasheet

SBC WHITE PAPER. The Critical Component

VoIPon Solutions Tel: +44 (0) Ranch Asterisk VoIP Solution

Hands on VoIP. Content. Tel +44 (0) Introduction

SIP Trunking Steps to Success, Part One: Key Lessons from IT Managers Who ve Been There

Basic Vulnerability Issues for SIP Security

IP Ports and Protocols used by H.323 Devices

Application Note. Onsight Connect Network Requirements V6.1

AT&T IP Flex Reach/ IP Toll Free Configuration Guide IC 3.0 with Interaction SIP Proxy

Application Note Configuring the Synapse SB67070 SIP Gateway for Broadvox GO! SIP Trunking

1.1.3 Versions Verified SIP Carrier status as of 18 Sep 2014 : validated on CIC 4.0 SU6.

Hosted PBX Platform-asa-Service. Offering

The SIP School- 'Mitel Style'

Recommended IP Telephony Architecture

What is an E-SBC? WHITE PAPER

INdigital ESinet SIP interconnection

Session Border Controller

Siemens OpenScape Voice V7 SIP Connectivity with OpenScape SBC V7. to Integra SIP Service

LifeSize Transit Deployment Guide June 2011

Deploying the Barracuda Load Balancer with Office Communications Server 2007 R2. Office Communications Server Overview.

Firewall-Friendly VoIP Secure Gateway and VoIP Security Issues

Application Notes Rev. 1.0 Last Updated: January 9, 2015

Voice over IP Security

How To Support An Ip Trunking Service

IP Telephony Deployment Models

Session Border Controller

Grandstream Networks, Inc. UCM6100 Security Manual

INdigital SIP trunk interconnection

Using OpenSIPS as a PBX

White paper. SIP An introduction

FRAFOS GmbH Windscheidstr. 18 Ahoi Berlin Germany

Product Information = = = sales@te-systems.de phone

Enterprise Voice and Online Services with Microsoft Lync Server 2013

Session Initiation Protocol (SIP) Vulnerabilities. Mark D. Collier Chief Technology Officer SecureLogix Corporation

SIP Trunking. Cisco Press. Christina Hattingh Darryl Sladden ATM Zakaria Swapan. 800 East 96th Street Indianapolis, IN 46240

ENTERPRISE SESSION BORDER CONTROLLERS: SAFEGUARDING TODAY S AND TOMORROW S UNIFIED COMMUNICATIONS

Main characteristics. System

VoIP technology employs several network protocols such as MGCP, SDP, H323, SIP.

Application Notes Rev. 1.0 Last Updated: February 3, 2015

Challenges and opportunities for Open Source solutions

The 3CXIPPBX Tutorial

Application Note. Firewall Requirements for the Onsight Mobile Collaboration System and Hosted Librestream SIP Service v5.0

Securing SIP Trunks APPLICATION NOTE.

Virtual private network. Network security protocols VPN VPN. Instead of a dedicated data link Packets securely sent over a shared network Internet VPN

Cisco Networks (ONT) 2006 Cisco Systems, Inc. All rights reserved.

Watson Networks. Carrier / Service Provider Guide. 445 Dexter Avenue - Suite 2050 Montgomery, Alabama WatsonNetworks.com

VoIP Security regarding the Open Source Software Asterisk

OpenScape Business V2

OpenScape Session Border Controller Delivering security, interoperability and cost savings to the enterprise network border

S-Series SBC Interconnect Solutions. A GENBAND Application Note May 2009

VoIP Trunking with Session Border Controllers

Configuring for Integra Telecom SIP Solutions

Live Communications Server 2005 SP1 Office Communications Server Matt Newton Network Engineer MicroMenders, Inc

OpenSIPS For Asterisk Users

FRAFOS GmbH Windscheidstr. 18 Ahoi Berlin Germany

SIP Trunking The Provider s Perspective

Session Border Controllers and Videoconferencing

Based on the VoIP Example 1(Basic Configuration and Registration), we will introduce how to dial the VoIP call through an encrypted VPN tunnel.

Manual. ABTO Software

Session Border Controllers in Enterprise

Intelligent SIP trunking for experts. Service guide

INTRODUCTION TO FIREWALL SECURITY

Security & Reliability in VoIP Solution

Transcription:

Microbase OpenSIPs Summit 2015 Building an ITSP with OpenSIPs 2.1 Antonis Psaras, Managing Partner, Microbase

Microbase Microbase is a communications software developer and supplier, with a leading role in the Greek market. Microbase founded in 2003, from an engineering team with expertise in IT and communications on purpose to develop advanced telecommunications technology and added value solutions. Based on two pillars, the first of software development and the second on design and implementation of telecommunication networks, created innovative products such as Microbase CommPlatform which is based on the well-known open source VoIP Platforms, Asterisk and OpenSIPs. Furthermore, Microbase is the exclusive representative in Greece for the Telecommunications Platform Exelysis Contact Center and for the Security Platform for Unified Communications UMLabs.

Products & Services IP PBX Solutions (CommServer, CommGate, minicomm) Contact Center Solutions (Exelysis Contact Center) Telecommunication Services (ephone, Virtual PBX, CallCenter On Demand, Premium Platform) Voice Portals (Nuance) Unified Communications Security (UM Labs, OpenSIPs)

OpenSIPs In Action Building Carrier Grade Solutions SBC Proxy / Redirect Server Load Balancer Registrar Building Large IP PBX Solutions Registrar / Load balancer for Call Center Infrastructures Asterisk Large installations Distributed IP PBX Solutions Virtual PBX Infrastructures Securing IP PBX Solutions SBC Solutions TLS / SRTP Sanity / Fraud / Rate Checking

Customer Base

Carrier Project The History Initial Infrastructure We ve been contacted to install and support a Net-Net 4000 Acme Packets Cluster Carrier was using a Teles Switch for Routing, Number Manipulation and Accounting Carrier was using Snom s Virtual PBX Solution Introducing OpenSIPs As the needs increase, cost of commercial solutions increases too. Complex Implementations are not easily implemented on commercial solutions OpenSIPs was an option but open source must always prove it self. Replacing Teles with OpenSIPs as a Proxy After testing and benchmarking OpenSIPs replaced Teles Main roles: Proxy, Manipulation, Permission, Accounting, Dynamic Routing.

Carrier Project The History Asterisk for Media Services Early Audio Messages Custom Customer Redirection Scenarios Customer Based Re-Routing Functionalities Acme Packets SBC Overload Acme Packets SBC was not able to handle more than 80 CPS Call center customers was not able to be served Introducing OpenSIPs at the edge Separate OpenSIPs Solution for Call Centers Direct Carrier Interconnection Final Step Acme Packets SBC replaced by OpenSIPs OpenSIPs SBC for Carrier Interconnection, Public Internet Access and Intranet Access OpenSIPs Proxy for Routing, Number Manipulation and Accounting

1 2 ABC 4 5 GHI JKL 7 8 PQRS * TUV 0 OPER 3 DEF 6 MNO 9 WXYZ # CISCO IP PHONE 7970 SERIES -? + First Stage Diagram SIP/TLS traffic: Ports UDP 5060 / TCP 5061 RTP/SRTP traffic: Port Range UDP 30000-65535 SQL Queries: Port TCP 3306 ITSPs OVER PUBLIC INTERNET ITSPs DIRECTLY CONNECTED EVDAF Server GRE Tunnel with EVDAF SPAN : Monitor and Troubleshooting GRE TUNNEL Acme Cluster: - Signaling and RTP Billing Server - CDRs FTP Server: - VPN to EVDAF SPAN SIP / TLS SQL QUERIES FTP Server: - Updates to MySQL RTP/SRTP SPAN SIP Proxy Cluster: - Signaling only Monitoring Server SQL QUERIES SIP / TLS RTP / SRTP Public Internet SIP / TLS RTP / SRTP SPAN SIP / TLS SQL QUERIES Media codec: - G.711 Alaw - G.729 Alaw From Top to Bottom: - SNOM v5 Cluster - Patton Gateways Legacy PBX - IP PBX e.g. CCM, Asterisk MySQL Cluster: - Portability Requests from SIP Proxy - Updates from FTP server

1 2 ABC 4 5 GHI JKL 7 8 TUV PQRS * 1 2 ABC 4 5 GHI JKL 7 8 PQRS TUV * 0 OPER 3 DEF 6 MNO 9 WXYZ 0 OPER # 3 DEF 6 MNO 9 WXYZ # CISCOIPPHONE 7970SERIES - CISCO IP PHONE 7970 SERIES -?? + + Final Stage P R I V A T E N E T W O R K IP PHONE IP PBX ACCESS SBC MEDIA PROXY SQL CLUSTER MEMCACHED CLUSTER MICROSOFT IIS SERVER HTTPS EBDAF COMMUNICATION EDDAF SOAP SERVER WHITE MEMCACHED HTTP REQUESTS LIST PORTABILITY AOC SERVICE P U B L I C IP PHONE I N T E R N E T IP PBX IP PHONE VODIA PBX CORE OPENSIPS P U B L I C I N T E R N E T IP PHONE IP PBX IP PHONE PUBLIC REGISTRAR MEDIA PROXY ASTERISK FREESWITCH CLASS 5 SERVICES C A R R I E R I N T E R C O N N E C T I O N S ITSP 1 ITSP 2 ITSP 3 INTERCONNECT SBC MEDIA PROXY

Design Overview Design was based on OpenSIPs 2.1 Separate SBCs based on Interconnected Client (Carriers Interconnect SBC, Intranet Customers SBC, Internet Customers and Call Centers SBC) Centralized Proxy Cluster for Accounting, Routing, Manipulations High availability on Proxy with active - active clustering External data High availability (MySQL Cluster, Memcacheddb Cluster, HTTP DB) Enhanced Security with Fraud Detection, Sanity Checks etc.

Features Implemented On SBCs Topology Hiding OpenSIPs 2.1 Topology Hiding Feature DoS Attack Protection - Pike Call/Rate Limits Dialog Profiles / Ratelimit Features Fraud Detection OpenSIPs 2.1 Fraud Detection Feature Custom Fraud Detection Logic Resource Based Load Balancing Load Balancer Feature SIP UDP/TCP/TLS with SRTP RTPEngine

Features Implemented On Proxy Topology Hiding CLIP / CLIR Management Number Portability Management Advice Of Charge Implementation Dynamic Routing Accounting

Call Flow Inbound Call ITSP Public Internet Carrier SBC Private Intranet Core Proxy Intranet SBC Customer CPE Media Proxy Cluster Media Proxy Cluster

Call Flow Internet Client Call Customer CPE 1 Public Internet Internet Cust. SBC Private Intranet Core Proxy Customer CPE 2 Media Proxy Cluster

Performance Tests

OpenSIPs Scripting Hints Keep it clean and easy to maintain include_file "/etc/opensips/configs/sanity_check.cfg Use route to separate functionality if(is_method("invite") &&!has_totag()) { route(check_ip_blocked); route(auth_call); route(manipulate); route(new_user_call); route(rtp_flags); topology_hiding("c"); route(relay); exit; }

OpenSIPs Scripting Hints Use Local or Remote Mem Caching to Speed thing Up if(cache_fetch("local","passwd_$tu",$avp(authpass))) { $avp(authuser) = $tu; $var(auth_code) = pv_www_authorize(""); } if ($var(auth_code)<0) { www_challenge("", "0"); exit; }

OpenSIPs Scripting Hints Use NoSQL DBs like Redis, Casandra or MemCacheDB to store large data like portability routing prefixes and in more than one source for resilience. if(!cache_fetch("memcached:first","$avp(num)",$avp(net)) { if(!cache_fetch("memcached:second","$avp(num)",$avp(net))) { $avp(net)=""; } }

OpenSIPs Scripting Hints Use firewall to allow and block IPs instead of OpenSIPs. Incase a fraud, or abuse is detected instruct Firewall to block the IP causing the problem (Fail2Ban is an option) OpenSIPs Script if (($ua=="friendly-scanner") ($ua=~"sipcli")) { xlog("fraud: $si is BLOCKED\n"); cache_store("local","block_$si","1",3600); exit; } Fail2Ban Filter [INCLUDES] [Definition] failregex = Fraud: <HOST> is BLOCKED ignoreregex =

OpenSIPs Scripting Hints If a registration brute force attach is detected block but do not disappoint the hackers because they will keep trying. if(cache_fetch("local","block_$si",$avp(blocked))) { xlog("fraud: $si is BLOCKED\n"); sl_send_reply("200", "OK"); exit; }

RTPEngine vs RTPProxy We decided to move from RTPProxy to RTPEngine for the following reasons Multi-threaded RTPEngine is using IP Tables module (kernel level) to handle RTP Traffic resulting in low-latency and low-cpu usage. Ability to bridge IPv6 and IPv4 traffic SRTP encryption / decryption (SRTP/RTP Bridging) Ready for WebRTC Support Produces CDRs

Reasons for using OpenSIPs 2.1 New Improved Design with Better Overall Performance New Very Useful Modules like Fraud Detection Module Async DB Operation Topology Hiding REST Client RTP Engine Support

Conclusion OpenSIPs is a greater solution for Carrier Grande Implementations Its Stability, Scalability, Flexibility in conjunction with the Openness provided, makes it an ideal solution for Large Scale Installations. New features of OpenSIPs 2.1 like Topology Hiding, Fraud Detections, Async Operations, WebRTC Support and other completes the puzzle of an already mature solution.

Questions 14 Iteas Str, 164 52, Argyroupoli, Athens, Greece Tel.: +30 212-000-5300 Fax: +30-212-000-5800 Email: sales@microbase.gr Url: http://www.microbase.gr