Mobicents 2.0 The Open Source Communication Platform - Jazoon

... as buddy status update. > REGISTER – submit your contact info to the server. > MESSAGE – send a text (or other) message. > OPTIONS – query capabilities ...
1MB taille 139 téléchargements 198 vues
Mobicents 2.0 The Open Source Communication Platform DERUELLE Jean JBoss, by Red Hat 138

AGENDA > VoIP Introduction > VoIP Basics > Mobicents 2.0 Overview – SIP Servlets Server – JAIN SLEE Server – Media Server – SIP Presence Service – Diameter

2

VoIP Introduction

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.

4

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!

5

Home Security

6

Location Based Services

7

Interactive Voice Response

8

Conferencing

9

Web Integration for convergence

10

CRM Integration

11

Banking

12

The Sky Is The Limit !

13

VoIP Basics

VoIP Call > SIP – Negotiates RTP parameters (through SDP) –

Authentication

> RTP – carries audio stream in small packets

15

SIP Call Flow

16

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 » From: « Jean » ;tag=88sja8x Call-ID: 987asjd97y7atg (like a Web Session ID) CSeq: 986759 INVITE ...

17

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

18

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

19

Mobicents Overview

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

21

Mobicents Deployment Scenario

22

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

23

Mobicents SIP Servlets

SIP Servlets in Java EE Architecture

25

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, 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.

26

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

27

Mobicents JAIN SLEE

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

29

JAIN SLEE Example

30

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

31

Mobicents Media Server

Mobicents Media Server > Handles Media processing to Deliver competitive, complete, best-of-breed, high quality media gateway > Provides a Component model, very flexible

SIP

SIP Servlets / JAIN SLEE Container

Phone #1

RTP

Mobicents Media Server

MGCP

SIP

Phone #2

RTP

33

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)

34

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

35

Mobicents SIP Presence

SIP Presence Service

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

PUBLISH

SUBSCRIBE / NOTIFY

37

Implementation

38

Mobicents Diameter

Mobicents Diameter Architecture

40

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)

41

Demo

DERUELLE Jean

www.mobicents.org

JBoss, by Red Hat

[email protected]