the open source communication platform -...

Post on 22-Jun-2018

223 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Mobicents 2.0The Open Source Communication Platform

DERUELLE Jean

JBoss, by Red Hat

138

2

AGENDA

> VoIP Introduction

> VoIP Basics

> Mobicents 2.0 Overview

– SIP Servlets Server

– JAIN SLEE Server

– Media Server

– SIP Presence Service

– Diameter

VoIP Introduction

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.

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!

6

Home Security

7

Location Based Services

8

Interactive Voice Response

9

Conferencing

10

Web Integration for convergence

11

CRM Integration

12

Banking

13

The Sky Is The Limit !

VoIP Basics

15

VoIP Call

> SIP

– Negotiates RTP parameters (through SDP)

– Authentication

> RTP – carries audio stream in small packets

16

SIP Call Flow

17

Session Initiation Protocol

> Similar to HTTP

– Plain Text protocol

– Request/Response Based

> Sample request:

INVITE sip:darth-vader@jazoon.com SIP/2.0

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

To: « Anakin » <sip:darth-vader@jazoon.com>

From: « Jean » <sip:jean@jboss.com>;tag=88sja8x

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

CSeq: 986759 INVITE

...

<SDP>

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

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

Mobicents Overview

21

Mobicents 2.0 Overview

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

22

Mobicents Deployment Scenario

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

Mobicents SIP Servlets

25

SIP Servlets in Java EE Architecture

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.

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

Mobicents JAIN SLEE

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

30

JAIN SLEE Example

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

Mobicents Media Server

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

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)

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

Mobicents SIP Presence

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

38

Implementation

Mobicents Diameter

40

Mobicents Diameter Architecture

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)

Demo

DERUELLE Jean www.mobicents.org

JBoss, by Red Hat jderuell@redhat.com

top related