SlideShare una empresa de Scribd logo
1 de 47
FOSS STHLM
5 December 2012




   REALTIME
COMMUNICATION
    UPDATE
        Olle E. Johansson * oej@edvina.net * Twitter oej
              Copyright Edvina AB, Sollentuna, Sweden 2012. All rights reserved.
From this...
to this
Talk
            Video
             Chat
      Application sharing
3D holographic 7.1 conferences
COMMUNICATION BETWEEN
  TWO OR MORE PEOPLE
LET’S LEAVE PSTN
            TELEPHONY BEHIND



•   Peer 2 peer telephony with SIP and/or WebRTC!
WebRTC




    THE REALTIME WEB
WebRTC
                         THE NEW KID
                         ON THE BLOCK

•   Cooperation between the W3C and IETF

•   Bidirectional media between browsers

•   Audio, video, text

•   The platform for new services

•   SIP in the browser
WebRTC          THE VISION


•   An open service where we can communicate freely with each
    other from any device and any network

•   First wave probably just between users of the same web service

•   Many of us wants open federation - it requires a shared address
    space and protocol
WebRTC    NEW APPLICATIONS

•   WebRTC is so much more than personal communication

•   Games, video manipulation, virtual reality...

•   First wave:

    •   Skype replacements

    •   Video conferences
WebRTC            DEPENDENCIES

•   The architecture is still discussed

•   Depends on ICE for NAT traversal, which means dependencies
    on TURN/STUN as well

•   SDP or not SDP, that’s the question?

•   Opus and G711 for audio

•   VP8 or H.264 for video *** WARS ***
WebRTC                   WEBRTC
•   Platform for new cool   • We’ll still have NAT
    applications              and firewall issues

•   Built into the web      • Will it be standardized
    browser                   enough

•   Security-enabled from   • Will we need SBCs to
    start                     handle the connections?




+                           -
KAMAILIO
  Cool stuff
A SIP PBX



        PBX

You                             Me


              Everyone talks with the PBX!
A SIP PROXY
                                         We find each other with
                                              the proxy.
                                   SIP




You                                               Me


      Communication is peer2peer
FINDING YOU
      DNS
                                   SIP




You                                                  Me


      Communication is peer2peer         sip:alice@example.com
THE PROXY
SIP         SIP          SIP         SIP         SIP           SIP

                                                               Proxy
                                                    Outbound proxy
                                       Location server/registrar
                           Presence server

               Call routing (LCR)
  Application server
KAMAILIO
 Open Source                SIP Proxy


  SIP Server            Application server


Presence server
                          A lot of activity!
THE KAMAILIO PROJECT

•   Project leader:
    Daniel Constatin Mierla (Asipto)

•   Management board with community members

•   Many developers, active community

•   Renamed to Kamailio in 2008

•   Merged with the original
    Sip Express Router for version 3 in 2008
KAMAILIO TECHNOLOGY
•   Written in ANSI C and optimized for speed

•   Modular design

•   Flexible configuration and routing language

•   Supports MySQL, PostgreSQL, LDAP, RADIUS, Sqlite , radius, UnixODBC

•   Standard (RFC3261) compliant
•   Web based administration interface: SIREMIS

•   Management port (TCP, UDP, XML)

•   Embedded HTTP server for Xcap (Presence)

•   Python, Perl, LUA development interfaces

•   NAT traversal capable

•   Portable, runs on POSIX compliant systems
KAMAILIO PHILOSOPHY


•   Over 100 modules - build anything!

•   Many modules overlap

    •   Especially in carrier-business-related stuff, like least cost routing

•   As long as we have maintainers, we’re fine with that.
KAMAILIO EVOLUTION




      From http://sip-router.org/wiki/history/ser-9-years
KAMAILIO DEVELOPMENT
                 MODEL
•   Development base code is named ”SIP-router”

•   Licensed under GPL. Contributions may be under BSD.

•   Currently about 20 developers

•   Anyone can freely contribute extensions and modules

•   Changes to existing modules are subject to approval



     Kamailo releases                   SER releases      Tekelec products



                                       SIP-router.org
OVERVIEW OF
    KAMAILIO
SER and OpenSER and Kamailio and...
        What’s in a name?



       KAMAILIO
       THE OPENSER SIP SERVER & THE SIP ROUTER PROJECT
REMEMBER
•   A SIP proxy is not a PBX

•   Anything you learned from Asterisk or similar PBXs does not
    apply

•   The SIP Proxy does not bother with CALLS, it bothers with SIP
    requests and replies - transactions

•   You need to understand SIP to configure Kamailio

                                               The PBX is an
                                           Old telco architecture
KAMAILIO FUNCTIONALITY
   SIP proxy
                     •   It is a SIP server originally designed as a SIP proxy
   Presence
    server           •   Can be configured as an


                         •   SIP Outbound Proxy

    SIP load
                         •   Location server/registrar



SIP application              and Presence server
                         •



    server           •   Development API for SIP servlets and UserAgent functionality


                     •   LUA interface for advanced functionality
SIP Session Border
    Controller       •   Runs on many operating systems
ADDITIONAL FEATURES
                          •   IPv4-IPv6 gateway



    IPv4/IPv6             •   UDP/TCP/SCTP translator


  UDP/TCP/SCTP            •   NAT traversal support

       TLS
      NAT                 •   anti-DOS functions (pike, blacklists)


     Languages:           •   Gateway to SMS, XMPP (Jabber)
Java, Python, Lua, Perl
       Databases:         •   Accounting
       Mysql
    PostgreSQL            •   Java SIP servlet programming interface


    UnixODBC              •   Interface to LUA and Perl (3.1)
    Berkeley DB
      Oracle              •   Database support MySQL, PostgreSQL, UnixODBC, Berkeley DB and Oracle



                              •   ...much more
A MODULAR ARCHITECTURE
                                          Core provides
                                          Transport managements
                                          Memory management
      SIP Server core                     Module interface
                                          Shared memory
                                          Locking
                                          Configuration

Modules   Modules   Modules   Modules
                                        Modules provide
                                         Script functions
                                         Module parameters
                                         Special variables
                               NAT
MySQL      Radius     TM                 Management functions
                              Support
ADDITIONAL HELPERS
           Management interface (MI) functions
           Start/stop
KAMCTL     Shared variables
           Statistics


           Database installation helper
KAMDBCTL


           RPC Interface and MI functions
           Statistics
 SERCMD    Select/Config variables
           (Arrived from SER)

           Web application
           Statistics
 SIREMIS   Database management
           Separate project
ARCHITECTURE
     Modules


 Module interface


    Proxy Core

Transport interface

Operating system
KAMAILIO IS THE HEART OF YOUR SIP NETWORK

Admin        PSTN    RTP     Feature    3rd     IM/SMS
(WEB)   DB                                        gw
              gw     relay    server   party



                                         Internal network
                    Kamailio


                                           Public network




                                                 Users
MULTIPROCESS, NOT THREADS
                    Other worker
     UDP listen
                     processes

     TCP listen     STCP listen


   TCP/TLS listen
MANAGEMENT
                                         MI
           RPC interface
                                    (deprecated)



XMLrpc         Json        Pipe




         SERCMD                   KAMCTL
MEMORY HANDLING
                                                                   Unix memory
PKG - Kamailio memory manager                                        manager

                      Allocated at start.

Shared memory                               Per process memory
     (core)
 32 MB per Kamailio                             4 MB per process


Transactions                                   SIP message


Shared variables                              Script variables
ABOUT KEEPING STATE:
 Stateless forwarding      •   Kamailio keeps transaction,
    and responses              user and location data in
                               shared memory (RAM) at
  Transaction states           runtime

                           •   Some of this can be cached to
Dialog - ”call” - states       database, but in-memory is the
                               default

                           •   This statelessness delivers
                               scalability and resilience in the
                               network
GENERAL ADVICE:
•   Try to keep proxy processing as simple as possible

•   Be very careful on where you add states

•   In larger networks, separate

    •   Ingress/Egress proxys (Session Border Controllers)

    •   Registrar/location server

    •   Core proxy
                                                             Compare with
        Feature proxy
    •
                                                               IP routers!
SOLUTIONS WITH KAMAILIO
SMALL CARRIER
                                       SER

                              Registrar/Location server


                                    Asterisk
    SER            SER            PSTN Gateway


Session Border                      Asterisk
                 Core proxy
  controller
                                  Voicemail Server

                                    Asterisk
                                 Feature/IVR Server
UNIVERSITY IP TRANSITION

                              Asterisk
                                             Asterisk
                                PBX
                                         Media gateway ISDN

   .com            SER
                                                        Old PBX
Session Border
                 Core proxy
  controller
FAILOVER
                Asterisk
    SER
                   PBX

    SER
                Asterisk

                PBX backup
Core proxy
MULTI-FEATURE SERVICE
                                         Audio
                     Asterisk
  SER
                 IVR, Queues, prompts
                                         Video
  SER

    Core proxy                            Chat


                                        Presence


                                        Telephony
WHAT ABOUT WEBRTC?
KAMAILIO 3.4 WITH
             SIP OVER WEBSOCKETS

              WS
Javascript                          SIP
   app
                                                  sip/tcp

                   sip/websockets



                                Media over SRTP
                                                            Me
WWWyou
KAMAILIO AND ASTERISK WITH
   SIP OVER WEBSOCKETS

              WS
 Javascript                         SIP         AST
   SIP app


                   sip/websockets


                                                      RTP
                              Media over SRTP
                                                            Me
WWWyou
JSSIP: OPEN SOURCE SIPSTACK
             IN JAVASCRIPT

•   Available for download at jssip.net

•   Written by the authors of the IETF draft on SIP over websockets

•   Reference implementation

•   MIT license
COMPONENTS NEEDED


•   SIP over WS servers: Kamailio, OverSIP, Asterisk

•   Audio media server RTP gateway: Asterisk

•   SIP/Javascript: SIPml5, JSSIP
THAT’S ALL FOLKS.
     oej@edvina.net

Más contenido relacionado

La actualidad más candente

Expanding Asterisk with Kamailio
Expanding Asterisk with KamailioExpanding Asterisk with Kamailio
Expanding Asterisk with KamailioFred Posner
 
Kamailio - Large Unified Communication Platforms
Kamailio - Large Unified Communication PlatformsKamailio - Large Unified Communication Platforms
Kamailio - Large Unified Communication PlatformsDaniel-Constantin Mierla
 
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...Fred Posner
 
SIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and moreSIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and moreOlle E Johansson
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsOlle E Johansson
 
Kamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuffKamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuffOlle E Johansson
 
Getting started with SIP Express Media Server SIP app server and SBC - workshop
Getting started with SIP Express Media Server SIP app server and SBC - workshopGetting started with SIP Express Media Server SIP app server and SBC - workshop
Getting started with SIP Express Media Server SIP app server and SBC - workshopstefansayer
 
ICE: The ultimate way of beating NAT in SIP
ICE: The ultimate way of beating NAT in SIPICE: The ultimate way of beating NAT in SIP
ICE: The ultimate way of beating NAT in SIPSaúl Ibarra Corretgé
 
FreeSWITCH as a Kickass SBC
FreeSWITCH as a Kickass SBCFreeSWITCH as a Kickass SBC
FreeSWITCH as a Kickass SBCMoises Silva
 
SIPCORE - presentation of SIP and DANE (IETF #89)
SIPCORE - presentation of SIP and DANE (IETF #89)SIPCORE - presentation of SIP and DANE (IETF #89)
SIPCORE - presentation of SIP and DANE (IETF #89)Olle E Johansson
 
WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019Olle E Johansson
 
Build HA Asterisk on Microsoft Azure using DRBD/Heartbeat
Build HA Asterisk on Microsoft Azure using DRBD/HeartbeatBuild HA Asterisk on Microsoft Azure using DRBD/Heartbeat
Build HA Asterisk on Microsoft Azure using DRBD/HeartbeatSanjay Willie
 

La actualidad más candente (20)

Snappy Kamailio
Snappy KamailioSnappy Kamailio
Snappy Kamailio
 
Expanding Asterisk with Kamailio
Expanding Asterisk with KamailioExpanding Asterisk with Kamailio
Expanding Asterisk with Kamailio
 
Kamailio - Large Unified Communication Platforms
Kamailio - Large Unified Communication PlatformsKamailio - Large Unified Communication Platforms
Kamailio - Large Unified Communication Platforms
 
Kamailio and VoIP Wild World
Kamailio and VoIP Wild WorldKamailio and VoIP Wild World
Kamailio and VoIP Wild World
 
Astricon 10 (October 2013) - SIP over WebSocket on Kamailio
Astricon 10 (October 2013) - SIP over WebSocket on KamailioAstricon 10 (October 2013) - SIP over WebSocket on Kamailio
Astricon 10 (October 2013) - SIP over WebSocket on Kamailio
 
Kamailio on Docker
Kamailio on DockerKamailio on Docker
Kamailio on Docker
 
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
Using Asterisk and Kamailio for Reliable, Scalable and Secure Communication S...
 
SIP Tutorial/Workshop 1
SIP Tutorial/Workshop 1SIP Tutorial/Workshop 1
SIP Tutorial/Workshop 1
 
SIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and moreSIP and DNS - federation, failover, load balancing and more
SIP and DNS - federation, failover, load balancing and more
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installations
 
SIP Tutorial/Workshop 2
SIP Tutorial/Workshop 2SIP Tutorial/Workshop 2
SIP Tutorial/Workshop 2
 
SIP Tutorial/Workshop 4
SIP Tutorial/Workshop 4SIP Tutorial/Workshop 4
SIP Tutorial/Workshop 4
 
Kamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuffKamailio World 2018: Having fun with new stuff
Kamailio World 2018: Having fun with new stuff
 
Getting started with SIP Express Media Server SIP app server and SBC - workshop
Getting started with SIP Express Media Server SIP app server and SBC - workshopGetting started with SIP Express Media Server SIP app server and SBC - workshop
Getting started with SIP Express Media Server SIP app server and SBC - workshop
 
ICE: The ultimate way of beating NAT in SIP
ICE: The ultimate way of beating NAT in SIPICE: The ultimate way of beating NAT in SIP
ICE: The ultimate way of beating NAT in SIP
 
FreeSWITCH as a Kickass SBC
FreeSWITCH as a Kickass SBCFreeSWITCH as a Kickass SBC
FreeSWITCH as a Kickass SBC
 
Asterisk Deployments
Asterisk DeploymentsAsterisk Deployments
Asterisk Deployments
 
SIPCORE - presentation of SIP and DANE (IETF #89)
SIPCORE - presentation of SIP and DANE (IETF #89)SIPCORE - presentation of SIP and DANE (IETF #89)
SIPCORE - presentation of SIP and DANE (IETF #89)
 
WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019WebRTC and Janus intro for FOSS Stockholm January 2019
WebRTC and Janus intro for FOSS Stockholm January 2019
 
Build HA Asterisk on Microsoft Azure using DRBD/Heartbeat
Build HA Asterisk on Microsoft Azure using DRBD/HeartbeatBuild HA Asterisk on Microsoft Azure using DRBD/Heartbeat
Build HA Asterisk on Microsoft Azure using DRBD/Heartbeat
 

Destacado

Day 1 2nd_weekcris
Day 1 2nd_weekcrisDay 1 2nd_weekcris
Day 1 2nd_weekcriscristiarnau
 
Proxecto de recuperación do río Corgo nos Salgueiriños
Proxecto de recuperación do río Corgo nos SalgueiriñosProxecto de recuperación do río Corgo nos Salgueiriños
Proxecto de recuperación do río Corgo nos Salgueiriñosbng.compostela
 
Risk Management on Banking
Risk Management on BankingRisk Management on Banking
Risk Management on Bankinghamsta
 
Content Creation Strategies for Nonprofits
Content Creation Strategies for NonprofitsContent Creation Strategies for Nonprofits
Content Creation Strategies for NonprofitsKivi Leroux Miller
 
So What and Who Cares? Nonprofit Messaging Workshop
So What and Who Cares? Nonprofit Messaging WorkshopSo What and Who Cares? Nonprofit Messaging Workshop
So What and Who Cares? Nonprofit Messaging WorkshopKivi Leroux Miller
 
The Realtime Story - part 2
The Realtime Story - part 2The Realtime Story - part 2
The Realtime Story - part 2Olle E Johansson
 
Social Media & Small Business : Taking your first steps in Social Media
Social Media & Small Business : Taking your first steps in Social MediaSocial Media & Small Business : Taking your first steps in Social Media
Social Media & Small Business : Taking your first steps in Social MediaShashi Bellamkonda
 
IA, UX and SEO
IA, UX and SEOIA, UX and SEO
IA, UX and SEOIan Lurie
 
PolyU BBA Management
PolyU BBA ManagementPolyU BBA Management
PolyU BBA Managementpolyduck
 
Granada 1878-g
Granada  1878-gGranada  1878-g
Granada 1878-gamfelisa
 
Pod Barcelona Paris
Pod Barcelona ParisPod Barcelona Paris
Pod Barcelona ParisAlexandru S
 
Saved (part4)
Saved (part4)Saved (part4)
Saved (part4)jzatko
 
Research 101 - Effective Research with Google
Research 101 - Effective Research with GoogleResearch 101 - Effective Research with Google
Research 101 - Effective Research with GoogleAndrew McCarthy
 
Paul Fremantle Restful SOA Registry
Paul Fremantle Restful SOA RegistryPaul Fremantle Restful SOA Registry
Paul Fremantle Restful SOA Registrydeimos
 
RFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the timeRFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the timeOlle E Johansson
 
Using GO's to Improve Student Learning
Using GO's to Improve Student LearningUsing GO's to Improve Student Learning
Using GO's to Improve Student LearningJim Ellis
 

Destacado (20)

Eoi 1st day
Eoi 1st dayEoi 1st day
Eoi 1st day
 
Day 1 2nd_weekcris
Day 1 2nd_weekcrisDay 1 2nd_weekcris
Day 1 2nd_weekcris
 
Adobe
AdobeAdobe
Adobe
 
Proxecto de recuperación do río Corgo nos Salgueiriños
Proxecto de recuperación do río Corgo nos SalgueiriñosProxecto de recuperación do río Corgo nos Salgueiriños
Proxecto de recuperación do río Corgo nos Salgueiriños
 
Risk Management on Banking
Risk Management on BankingRisk Management on Banking
Risk Management on Banking
 
Content Creation Strategies for Nonprofits
Content Creation Strategies for NonprofitsContent Creation Strategies for Nonprofits
Content Creation Strategies for Nonprofits
 
So What and Who Cares? Nonprofit Messaging Workshop
So What and Who Cares? Nonprofit Messaging WorkshopSo What and Who Cares? Nonprofit Messaging Workshop
So What and Who Cares? Nonprofit Messaging Workshop
 
The Realtime Story - part 2
The Realtime Story - part 2The Realtime Story - part 2
The Realtime Story - part 2
 
Social Media & Small Business : Taking your first steps in Social Media
Social Media & Small Business : Taking your first steps in Social MediaSocial Media & Small Business : Taking your first steps in Social Media
Social Media & Small Business : Taking your first steps in Social Media
 
IA, UX and SEO
IA, UX and SEOIA, UX and SEO
IA, UX and SEO
 
PolyU BBA Management
PolyU BBA ManagementPolyU BBA Management
PolyU BBA Management
 
Walking Track in Groningen
Walking Track in GroningenWalking Track in Groningen
Walking Track in Groningen
 
Granada 1878-g
Granada  1878-gGranada  1878-g
Granada 1878-g
 
Pod Barcelona Paris
Pod Barcelona ParisPod Barcelona Paris
Pod Barcelona Paris
 
Saved (part4)
Saved (part4)Saved (part4)
Saved (part4)
 
Research 101 - Effective Research with Google
Research 101 - Effective Research with GoogleResearch 101 - Effective Research with Google
Research 101 - Effective Research with Google
 
Paul Fremantle Restful SOA Registry
Paul Fremantle Restful SOA RegistryPaul Fremantle Restful SOA Registry
Paul Fremantle Restful SOA Registry
 
Ubuntu
UbuntuUbuntu
Ubuntu
 
RFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the timeRFC 7435 - Opportunistic security - Some protection most of the time
RFC 7435 - Opportunistic security - Some protection most of the time
 
Using GO's to Improve Student Learning
Using GO's to Improve Student LearningUsing GO's to Improve Student Learning
Using GO's to Improve Student Learning
 

Similar a FOSS Sthlm: Realtime Communication Update

Introduction to Kamailio (TADSummit 2020 Asia)
Introduction to Kamailio (TADSummit 2020 Asia)Introduction to Kamailio (TADSummit 2020 Asia)
Introduction to Kamailio (TADSummit 2020 Asia)Fred Posner
 
Make easier Integration of your services with Fuse Solutions - RedHat 2013
Make easier Integration of your services with Fuse Solutions - RedHat 2013Make easier Integration of your services with Fuse Solutions - RedHat 2013
Make easier Integration of your services with Fuse Solutions - RedHat 2013Charles Moulliard
 
AMF Flash and .NET
AMF Flash and .NETAMF Flash and .NET
AMF Flash and .NETYaniv Uriel
 
Acme Packet Presentation Materials for VUC June 18th 2010
Acme Packet Presentation Materials for VUC June 18th 2010Acme Packet Presentation Materials for VUC June 18th 2010
Acme Packet Presentation Materials for VUC June 18th 2010Michael Graves
 
Silver peak acceleration, agility and velocity
Silver peak   acceleration, agility and velocitySilver peak   acceleration, agility and velocity
Silver peak acceleration, agility and velocityresponsedatacomms
 
Programmability and Automation in Data Center Networks: A talk on Hot Air Bal...
Programmability and Automation in Data Center Networks: A talk on Hot Air Bal...Programmability and Automation in Data Center Networks: A talk on Hot Air Bal...
Programmability and Automation in Data Center Networks: A talk on Hot Air Bal...Joel W. King
 
Mobicents 2.0, The Java Open Source Communications Platform-FOSDEM 2011 Jean ...
Mobicents 2.0, The Java Open Source Communications Platform-FOSDEM 2011 Jean ...Mobicents 2.0, The Java Open Source Communications Platform-FOSDEM 2011 Jean ...
Mobicents 2.0, The Java Open Source Communications Platform-FOSDEM 2011 Jean ...Jean Deruelle
 
BKK16-205 RDK-B IoT
BKK16-205 RDK-B IoTBKK16-205 RDK-B IoT
BKK16-205 RDK-B IoTLinaro
 
Seaside Status Message
Seaside Status MessageSeaside Status Message
Seaside Status MessageLukas Renggli
 
Seaside News
Seaside NewsSeaside News
Seaside NewsESUG
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStackChiradeep Vittal
 
Clavister security for virtualized environment
Clavister security for virtualized environmentClavister security for virtualized environment
Clavister security for virtualized environmentnicolasotira
 
Music city data Hail Hydrate! from stream to lake
Music city data Hail Hydrate! from stream to lakeMusic city data Hail Hydrate! from stream to lake
Music city data Hail Hydrate! from stream to lakeTimothy Spann
 
Intro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networkingIntro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networkingPacket
 
Intel the-latest-on-ofi
Intel the-latest-on-ofiIntel the-latest-on-ofi
Intel the-latest-on-ofiTracy Johnson
 
Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409Abdel-Fattah M. Hmoud
 
Modern VoIP in modern infrastructures
Modern VoIP in modern infrastructuresModern VoIP in modern infrastructures
Modern VoIP in modern infrastructuresGiacomo Vacca
 

Similar a FOSS Sthlm: Realtime Communication Update (20)

Introduction to Kamailio (TADSummit 2020 Asia)
Introduction to Kamailio (TADSummit 2020 Asia)Introduction to Kamailio (TADSummit 2020 Asia)
Introduction to Kamailio (TADSummit 2020 Asia)
 
Make easier Integration of your services with Fuse Solutions - RedHat 2013
Make easier Integration of your services with Fuse Solutions - RedHat 2013Make easier Integration of your services with Fuse Solutions - RedHat 2013
Make easier Integration of your services with Fuse Solutions - RedHat 2013
 
AMF Flash and .NET
AMF Flash and .NETAMF Flash and .NET
AMF Flash and .NET
 
Acme Packet Presentation Materials for VUC June 18th 2010
Acme Packet Presentation Materials for VUC June 18th 2010Acme Packet Presentation Materials for VUC June 18th 2010
Acme Packet Presentation Materials for VUC June 18th 2010
 
ITSPA May 2013 - WebRTC, TURN, and WebSocket
ITSPA May 2013 - WebRTC, TURN, and WebSocketITSPA May 2013 - WebRTC, TURN, and WebSocket
ITSPA May 2013 - WebRTC, TURN, and WebSocket
 
Silver peak acceleration, agility and velocity
Silver peak   acceleration, agility and velocitySilver peak   acceleration, agility and velocity
Silver peak acceleration, agility and velocity
 
Programmability and Automation in Data Center Networks: A talk on Hot Air Bal...
Programmability and Automation in Data Center Networks: A talk on Hot Air Bal...Programmability and Automation in Data Center Networks: A talk on Hot Air Bal...
Programmability and Automation in Data Center Networks: A talk on Hot Air Bal...
 
Sculpturing SIP World
Sculpturing SIP WorldSculpturing SIP World
Sculpturing SIP World
 
Mobicents 2.0, The Java Open Source Communications Platform-FOSDEM 2011 Jean ...
Mobicents 2.0, The Java Open Source Communications Platform-FOSDEM 2011 Jean ...Mobicents 2.0, The Java Open Source Communications Platform-FOSDEM 2011 Jean ...
Mobicents 2.0, The Java Open Source Communications Platform-FOSDEM 2011 Jean ...
 
BKK16-205 RDK-B IoT
BKK16-205 RDK-B IoTBKK16-205 RDK-B IoT
BKK16-205 RDK-B IoT
 
Seaside Status Message
Seaside Status MessageSeaside Status Message
Seaside Status Message
 
Seaside News
Seaside NewsSeaside News
Seaside News
 
Scalable networking in Apache CloudStack
Scalable networking in Apache CloudStackScalable networking in Apache CloudStack
Scalable networking in Apache CloudStack
 
Clavister security for virtualized environment
Clavister security for virtualized environmentClavister security for virtualized environment
Clavister security for virtualized environment
 
Music city data Hail Hydrate! from stream to lake
Music city data Hail Hydrate! from stream to lakeMusic city data Hail Hydrate! from stream to lake
Music city data Hail Hydrate! from stream to lake
 
Intro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networkingIntro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networking
 
Intel the-latest-on-ofi
Intel the-latest-on-ofiIntel the-latest-on-ofi
Intel the-latest-on-ofi
 
Intel the-latest-on-ofi
Intel the-latest-on-ofiIntel the-latest-on-ofi
Intel the-latest-on-ofi
 
Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409Uip Sip Implementation Best Practices060409
Uip Sip Implementation Best Practices060409
 
Modern VoIP in modern infrastructures
Modern VoIP in modern infrastructuresModern VoIP in modern infrastructures
Modern VoIP in modern infrastructures
 

Más de Olle E Johansson

Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)Olle E Johansson
 
CRA - overview of vulnerability handling
CRA - overview of vulnerability handlingCRA - overview of vulnerability handling
CRA - overview of vulnerability handlingOlle E Johansson
 
Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)Olle E Johansson
 
The birth and death of PSTN
The birth and death of PSTNThe birth and death of PSTN
The birth and death of PSTNOlle E Johansson
 
Realtime communication over a dual stack network
Realtime communication over a dual stack networkRealtime communication over a dual stack network
Realtime communication over a dual stack networkOlle E Johansson
 
Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016Olle E Johansson
 
Sips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocolSips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocolOlle E Johansson
 
SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)Olle E Johansson
 
Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!Olle E Johansson
 
SIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer worldSIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer worldOlle E Johansson
 
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)Olle E Johansson
 
2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIPOlle E Johansson
 
TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6Olle E Johansson
 
Why is Kamailio so different? An introduction.
Why is Kamailio so different? An introduction.Why is Kamailio so different? An introduction.
Why is Kamailio so different? An introduction.Olle E Johansson
 
TCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: ManifestoTCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: ManifestoOlle E Johansson
 
#Morecrypto (with tis) - version 2.2
#Morecrypto (with tis) - version 2.2#Morecrypto (with tis) - version 2.2
#Morecrypto (with tis) - version 2.2Olle E Johansson
 
WebRTC - a quick introduction
WebRTC - a quick introductionWebRTC - a quick introduction
WebRTC - a quick introductionOlle E Johansson
 
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)Olle E Johansson
 

Más de Olle E Johansson (20)

Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)Cybernode.se: Securing the software supply chain (CRA)
Cybernode.se: Securing the software supply chain (CRA)
 
CRA - overview of vulnerability handling
CRA - overview of vulnerability handlingCRA - overview of vulnerability handling
CRA - overview of vulnerability handling
 
Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)Introduction to the proposed EU cyber resilience act (CRA)
Introduction to the proposed EU cyber resilience act (CRA)
 
The birth and death of PSTN
The birth and death of PSTNThe birth and death of PSTN
The birth and death of PSTN
 
Kamailio on air
Kamailio on airKamailio on air
Kamailio on air
 
Webrtc overview
Webrtc overviewWebrtc overview
Webrtc overview
 
Realtime communication over a dual stack network
Realtime communication over a dual stack networkRealtime communication over a dual stack network
Realtime communication over a dual stack network
 
Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016Sip2016 - a talk at VOIP2DAY 2016
Sip2016 - a talk at VOIP2DAY 2016
 
Sips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocolSips must die, die, die - about TLS usage in the SIP protocol
Sips must die, die, die - about TLS usage in the SIP protocol
 
SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)SIP :: Half outbound (random notes)
SIP :: Half outbound (random notes)
 
Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!Kamailio World 2016: Update your SIP!
Kamailio World 2016: Update your SIP!
 
SIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer worldSIP & TLS - Security in a peer to peer world
SIP & TLS - Security in a peer to peer world
 
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
Tio tester av TLS - Transport Layer Security (TLS-O-MATIC.COM)
 
2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP2015 update: SIP and IPv6 issues - staying Happy in SIP
2015 update: SIP and IPv6 issues - staying Happy in SIP
 
TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6TCP/IP Geeks Stockholm :: Introduction to IPv6
TCP/IP Geeks Stockholm :: Introduction to IPv6
 
Why is Kamailio so different? An introduction.
Why is Kamailio so different? An introduction.Why is Kamailio so different? An introduction.
Why is Kamailio so different? An introduction.
 
TCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: ManifestoTCP/IP geeks Stockholm :: Manifesto
TCP/IP geeks Stockholm :: Manifesto
 
#Morecrypto (with tis) - version 2.2
#Morecrypto (with tis) - version 2.2#Morecrypto (with tis) - version 2.2
#Morecrypto (with tis) - version 2.2
 
WebRTC - a quick introduction
WebRTC - a quick introductionWebRTC - a quick introduction
WebRTC - a quick introduction
 
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
Reboot the Open Realtime Revolution - #MoreCrypto (Fall 2014)
 

Último

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Último (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

FOSS Sthlm: Realtime Communication Update

  • 1. FOSS STHLM 5 December 2012 REALTIME COMMUNICATION UPDATE Olle E. Johansson * oej@edvina.net * Twitter oej Copyright Edvina AB, Sollentuna, Sweden 2012. All rights reserved.
  • 4. Talk Video Chat Application sharing 3D holographic 7.1 conferences
  • 5. COMMUNICATION BETWEEN TWO OR MORE PEOPLE
  • 6. LET’S LEAVE PSTN TELEPHONY BEHIND • Peer 2 peer telephony with SIP and/or WebRTC!
  • 7. WebRTC THE REALTIME WEB
  • 8. WebRTC THE NEW KID ON THE BLOCK • Cooperation between the W3C and IETF • Bidirectional media between browsers • Audio, video, text • The platform for new services • SIP in the browser
  • 9. WebRTC THE VISION • An open service where we can communicate freely with each other from any device and any network • First wave probably just between users of the same web service • Many of us wants open federation - it requires a shared address space and protocol
  • 10. WebRTC NEW APPLICATIONS • WebRTC is so much more than personal communication • Games, video manipulation, virtual reality... • First wave: • Skype replacements • Video conferences
  • 11. WebRTC DEPENDENCIES • The architecture is still discussed • Depends on ICE for NAT traversal, which means dependencies on TURN/STUN as well • SDP or not SDP, that’s the question? • Opus and G711 for audio • VP8 or H.264 for video *** WARS ***
  • 12. WebRTC WEBRTC • Platform for new cool • We’ll still have NAT applications and firewall issues • Built into the web • Will it be standardized browser enough • Security-enabled from • Will we need SBCs to start handle the connections? + -
  • 13. KAMAILIO Cool stuff
  • 14. A SIP PBX PBX You Me Everyone talks with the PBX!
  • 15. A SIP PROXY We find each other with the proxy. SIP You Me Communication is peer2peer
  • 16. FINDING YOU DNS SIP You Me Communication is peer2peer sip:alice@example.com
  • 17. THE PROXY SIP SIP SIP SIP SIP SIP Proxy Outbound proxy Location server/registrar Presence server Call routing (LCR) Application server
  • 18. KAMAILIO Open Source SIP Proxy SIP Server Application server Presence server A lot of activity!
  • 19. THE KAMAILIO PROJECT • Project leader: Daniel Constatin Mierla (Asipto) • Management board with community members • Many developers, active community • Renamed to Kamailio in 2008 • Merged with the original Sip Express Router for version 3 in 2008
  • 20. KAMAILIO TECHNOLOGY • Written in ANSI C and optimized for speed • Modular design • Flexible configuration and routing language • Supports MySQL, PostgreSQL, LDAP, RADIUS, Sqlite , radius, UnixODBC • Standard (RFC3261) compliant • Web based administration interface: SIREMIS • Management port (TCP, UDP, XML) • Embedded HTTP server for Xcap (Presence) • Python, Perl, LUA development interfaces • NAT traversal capable • Portable, runs on POSIX compliant systems
  • 21. KAMAILIO PHILOSOPHY • Over 100 modules - build anything! • Many modules overlap • Especially in carrier-business-related stuff, like least cost routing • As long as we have maintainers, we’re fine with that.
  • 22. KAMAILIO EVOLUTION From http://sip-router.org/wiki/history/ser-9-years
  • 23. KAMAILIO DEVELOPMENT MODEL • Development base code is named ”SIP-router” • Licensed under GPL. Contributions may be under BSD. • Currently about 20 developers • Anyone can freely contribute extensions and modules • Changes to existing modules are subject to approval Kamailo releases SER releases Tekelec products SIP-router.org
  • 24. OVERVIEW OF KAMAILIO SER and OpenSER and Kamailio and... What’s in a name? KAMAILIO THE OPENSER SIP SERVER & THE SIP ROUTER PROJECT
  • 25. REMEMBER • A SIP proxy is not a PBX • Anything you learned from Asterisk or similar PBXs does not apply • The SIP Proxy does not bother with CALLS, it bothers with SIP requests and replies - transactions • You need to understand SIP to configure Kamailio The PBX is an Old telco architecture
  • 26. KAMAILIO FUNCTIONALITY SIP proxy • It is a SIP server originally designed as a SIP proxy Presence server • Can be configured as an • SIP Outbound Proxy SIP load • Location server/registrar SIP application and Presence server • server • Development API for SIP servlets and UserAgent functionality • LUA interface for advanced functionality SIP Session Border Controller • Runs on many operating systems
  • 27. ADDITIONAL FEATURES • IPv4-IPv6 gateway IPv4/IPv6 • UDP/TCP/SCTP translator UDP/TCP/SCTP • NAT traversal support TLS NAT • anti-DOS functions (pike, blacklists) Languages: • Gateway to SMS, XMPP (Jabber) Java, Python, Lua, Perl Databases: • Accounting Mysql PostgreSQL • Java SIP servlet programming interface UnixODBC • Interface to LUA and Perl (3.1) Berkeley DB Oracle • Database support MySQL, PostgreSQL, UnixODBC, Berkeley DB and Oracle • ...much more
  • 28. A MODULAR ARCHITECTURE Core provides Transport managements Memory management SIP Server core Module interface Shared memory Locking Configuration Modules Modules Modules Modules Modules provide Script functions Module parameters Special variables NAT MySQL Radius TM Management functions Support
  • 29. ADDITIONAL HELPERS Management interface (MI) functions Start/stop KAMCTL Shared variables Statistics Database installation helper KAMDBCTL RPC Interface and MI functions Statistics SERCMD Select/Config variables (Arrived from SER) Web application Statistics SIREMIS Database management Separate project
  • 30. ARCHITECTURE Modules Module interface Proxy Core Transport interface Operating system
  • 31. KAMAILIO IS THE HEART OF YOUR SIP NETWORK Admin PSTN RTP Feature 3rd IM/SMS (WEB) DB gw gw relay server party Internal network Kamailio Public network Users
  • 32. MULTIPROCESS, NOT THREADS Other worker UDP listen processes TCP listen STCP listen TCP/TLS listen
  • 33. MANAGEMENT MI RPC interface (deprecated) XMLrpc Json Pipe SERCMD KAMCTL
  • 34. MEMORY HANDLING Unix memory PKG - Kamailio memory manager manager Allocated at start. Shared memory Per process memory (core) 32 MB per Kamailio 4 MB per process Transactions SIP message Shared variables Script variables
  • 35. ABOUT KEEPING STATE: Stateless forwarding • Kamailio keeps transaction, and responses user and location data in shared memory (RAM) at Transaction states runtime • Some of this can be cached to Dialog - ”call” - states database, but in-memory is the default • This statelessness delivers scalability and resilience in the network
  • 36. GENERAL ADVICE: • Try to keep proxy processing as simple as possible • Be very careful on where you add states • In larger networks, separate • Ingress/Egress proxys (Session Border Controllers) • Registrar/location server • Core proxy Compare with Feature proxy • IP routers!
  • 38. SMALL CARRIER SER Registrar/Location server Asterisk SER SER PSTN Gateway Session Border Asterisk Core proxy controller Voicemail Server Asterisk Feature/IVR Server
  • 39. UNIVERSITY IP TRANSITION Asterisk Asterisk PBX Media gateway ISDN .com SER Old PBX Session Border Core proxy controller
  • 40. FAILOVER Asterisk SER PBX SER Asterisk PBX backup Core proxy
  • 41. MULTI-FEATURE SERVICE Audio Asterisk SER IVR, Queues, prompts Video SER Core proxy Chat Presence Telephony
  • 43. KAMAILIO 3.4 WITH SIP OVER WEBSOCKETS WS Javascript SIP app sip/tcp sip/websockets Media over SRTP Me WWWyou
  • 44. KAMAILIO AND ASTERISK WITH SIP OVER WEBSOCKETS WS Javascript SIP AST SIP app sip/websockets RTP Media over SRTP Me WWWyou
  • 45. JSSIP: OPEN SOURCE SIPSTACK IN JAVASCRIPT • Available for download at jssip.net • Written by the authors of the IETF draft on SIP over websockets • Reference implementation • MIT license
  • 46. COMPONENTS NEEDED • SIP over WS servers: Kamailio, OverSIP, Asterisk • Audio media server RTP gateway: Asterisk • SIP/Javascript: SIPml5, JSSIP
  • 47. THAT’S ALL FOLKS. oej@edvina.net