the open source communication platform -...

43
Mobicents 2.0 The Open Source Communication Platform DERUELLE Jean JBoss, by Red Hat 138

Upload: trantuyen

Post on 22-Jun-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

Mobicents 2.0The Open Source Communication Platform

DERUELLE Jean

JBoss, by Red Hat

138

Page 2: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

2

AGENDA

> VoIP Introduction

> VoIP Basics

> Mobicents 2.0 Overview

– SIP Servlets Server

– JAIN SLEE Server

– Media Server

– SIP Presence Service

– Diameter

Page 3: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

VoIP Introduction

Page 4: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

4

Introduction

> Voice over Internet Protocol ?

– Voice communications over IP networks

– Not limited to voice anymore

> Converged VoIP & Web Applications?

– Converged service was serving VoIP and traditional packet-switched networks.

– Now mixing traditional internet applications such as the web.

Page 5: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

5

VoIP Applications

> Home Security> Location Based Services> Event Notification by Phone, SMS

and IM> Conferencing> IT System Monitoring> Web Integration for Convergence> Customer Relationship Management

> Banking

The Sky Is The Limit!

Page 6: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

6

Home Security

Page 7: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

7

Location Based Services

Page 8: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

8

Interactive Voice Response

Page 9: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

9

Conferencing

Page 10: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

10

Web Integration for convergence

Page 11: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

11

CRM Integration

Page 12: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

12

Banking

Page 13: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

13

The Sky Is The Limit !

Page 14: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

VoIP Basics

Page 15: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

15

VoIP Call

> SIP

– Negotiates RTP parameters (through SDP)

– Authentication

> RTP – carries audio stream in small packets

Page 16: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

16

SIP Call Flow

Page 17: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

17

Session Initiation Protocol

> Similar to HTTP

– Plain Text protocol

– Request/Response Based

> Sample request:

INVITE sip:[email protected] SIP/2.0

Via: SIP/2.0/UDP pc33.jboss.com;branch=z9hG4bKkjshdyff

To: « Anakin » <sip:[email protected]>

From: « Jean » <sip:[email protected]>;tag=88sja8x

Call-ID: 987asjd97y7atg (like a Web Session ID)

CSeq: 986759 INVITE

...

<SDP>

Page 18: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

18

SIP - Requests

> INVITE – make a call

> CANCEL – cancel a call

> BYE – end a call

> SUBSCRIBE – to subscribe SIP events, such as buddy status update

> REGISTER – submit your contact info to the server

> MESSAGE – send a text (or other) message

> OPTIONS – query capabilities

Page 19: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

19

SDP – Session Description Protocol

> Describing multimedia session

v=0

o=sender 123456 654321 IN IP4 127.0.0.1

s=A conversation

c=IN IP4 127.0.0.1

t=0 0

m=audio 7078 RTP/AVP 111 110 0 8 3 101

a=rtpmap:0 PCMU/8000/1

a=rtpmap:8 PCMA/8000/1

a=rtpmap:3 GSM/8000/1

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-11

Page 20: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

Mobicents Overview

Page 21: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

21

Mobicents 2.0 Overview

> JBoss is the only vendor supporting both JSLEE and SIP Servlets

Page 22: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

22

Mobicents Deployment Scenario

Page 23: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

23

Market Segments

> Big mobile and landline telecoms adopting IP/IMS infrastructure (performance, HA, service exposure)

> Call centers (HA, UI convenience, BPM)

> Classic web applications (easy development)

– Web shopping and customer service

– Social, banking, security, etc

> Enterprises (integration, customization)

– PBX and unified communications

– Office application integration

Page 24: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

Mobicents SIP Servlets

Page 25: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

25

SIP Servlets in Java EE Architecture

Page 26: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

26

Focus of SIP Servlets

> Converged HTTP and SIP Applications

> (Mobicents-specific beyond JSR-289)

– Media – playback, record, conferencing, IVR, TTS and others, JSR 309 support (JSR 309)

– Diameter – Base, Sh, Ro, Rf

– Tooling - JBCP Developer Studio SIP Servlets Plugin

– Integrated with Rich Web UI frameworks for Desktop-like experience – support for Ajax and Comet-enabled frameworks – Seam, Richfaces, GWT, Tomcat AIO, Jruby/Rails

– Telco Frameworks - - Seam Telco Framework, Seam Telco Framework, Jruby Torquebox Telco Framework, Echarts For Sip Servlets Framework, JAIN SLEE Interoperability Patterns

> Need anything else? It's on a case-by-case basis, but JAIN SLEE is the general solution.

Page 27: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

27

Production Features

> IMS & Diameter support

> Congestion Control

> Concurrency Control

> Enterprise Monitoring with JBoss ON (Sip Servlets Plugin)

> HA Support

– SIP Load Balancer bundled with JBCP SIP Servlets

– IP Load Balancer support with Red Hat Cluster Suite or any other IP LB

– SIP Session & Application Session Clustering nicely integrated with existing HTTP clustering

– Fine-grained control replication options

– Support for Mid Call Failover with bundled SIP LB or early dialog with IP LB

– Support for Converged Failover with apache http + Mod_jk

Page 28: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

Mobicents JAIN SLEE

Page 29: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

29

JAIN SLEE - Concepts

> Geared towards Telco

> SLEE = Service Logic Execution Environment

– High throughput, low latency event processing

– High performing platform for event driven applications

> Asynchronous & Event Orientated

> Network Abstraction Layer

Page 30: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

30

JAIN SLEE Example

Page 31: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

31

Mobicents JAIN SLEE Server

> Integrated Java EE + JAIN SLEE environment

> Network abstraction layer - SIP, XMPP, Diameter, Media/MGCP, HTTP, SMPP

> Tooling - JBCP Developer Studio JAI N SLEE Plugin

> Enterprise Monitoring with JBoss ON (JAIN SLEE Plugin)

> High Performance and High Availibility

Page 32: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

Mobicents Media Server

Page 33: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

33

Mobicents Media Server

Phone#1 RTP

Phone#2

RTP

SIP

SIP

MGCP Mobicents Media Server

SIP Servlets / JAIN SLEE Container

> Handles Media processing to Deliver competitive, complete, best-of-breed, high quality media gateway

> Provides a Component model, very flexible

Page 34: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

34

Architecture> Ann(ouncement) Endpoint: Allows playback for announcements in wav files.

> Interactive Voice Response: Allows playback for announcements and tones, listen for DTMF events or voice messages. Allows recording.

> Conference Bridge: provide access to a specific conference where calls are mixed.

> Packet Relay: specific form of conference bridge with only two sockets

> SS7 endpoints for interface with legacy networks

> Custom Endpoint : Flexibility to define your own media path

> Pure Java Implementation

> Control the Media Server – MGCP, JSR-309 API (uses MGCP under the covers)

Page 35: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

35

Features

> Media control

– MGCP (RFC 3435), Java Media Control API(JSR-309)

> Supported Media Files

– Media files *.wav (G711, GSM, PCM), *.spx(SPEEX), *.gsm

> Media bearing/Audi Codecs

– RTP formats: G711, G729, GSM, SPEEX, PCM 16bit 8-44kHz (Mono/Stereo)

> Video

– any ISO Based format (.3GPP, ...), H263

> SS7 support - ISUP : Signaling and Voice, INAP, MAP, CAMEL

> Text To Speech

> DTMF Recognition

> Performance

– 200 Full Duplex connections: CPU usage less than 15% and maximum jitter less than 6ms

Page 36: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

Mobicents SIP Presence

Page 37: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

37

SIP Presence Service

> Provides presence functionalities to SIP-based networks using standards developed by the IETF, OMA, 3GPP and the ETSI

PUBLISH

SUBSCRIBE / NOTIFY

Page 38: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

38

Implementation

Page 39: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

Mobicents Diameter

Page 40: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

40

Mobicents Diameter Architecture

Page 41: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

41

Features> Core

– Stack : Own fork of JDiameter open source stack

– Multiplexer + Customizable Validator (message validation) + Customizable Dictionnary (provide dictionnary of AVP to applications)

> Interfaces

– Base : responsible for managing connection between peers and provide basic Authentication, Accounting and Session Management

– Sh (Client/Server) : managing User Data in HSS

– CCA: enable credit session management, and convey sufficient information for applications to perform charging activities.

– Ro/Rf : Online/Offline charging

– Cx/Dx : interaction between SIP IMS Proxies and HSS

> Example applications (both for JSLEE and J2EE)

– Base and Mobicents SIP Servlets Event Call Charging

– Sh (Client/Server) and OpenIMS Integration

– Ro/Rf example

> Enterprise Monitoring with JBoss ON (Diameter Plugin)

Page 42: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

Demo

Page 43: The Open Source Communication Platform - …jazoon.com/history/Portals/0/Content/slides/th_a3_1600-1650...Mobicents 2.0. The Open Source Communication Platform. DERUELLE Jean. JBoss,

DERUELLE Jean www.mobicents.org

JBoss, by Red Hat [email protected]