65
Kamailio The Open Source SIP Server The Story For Asterisk Daniel-Constantin Mierla Co-Founder Kamailio www.kamailio.org www.asipto.com

The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

  • Upload
    others

  • View
    3

  • Download
    1

Embed Size (px)

Citation preview

Page 1: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

KamailioThe Open Source SIP Server

The Story For Asterisk

Daniel-Constantin MierlaCo-Founder Kamailio

www.kamailio.orgwww.asipto.com

Page 2: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Who Is That Guy?

Page 3: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

World of Telephony

Page 4: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 5: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

?

Page 6: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Telephony Engine

Page 7: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Central Element?

Page 8: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

?

Page 9: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

The Call

Page 10: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 11: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

?

Page 12: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

SIP Signaling Routing Engine

Page 13: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

SIP Signaling Routing Engine

Page 14: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Central Element?

Page 15: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

?

Page 16: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

YOU

Page 17: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Implicitly

Kamailio Does Only One Thing

Page 18: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

And It Does Very Well

Page 19: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

It Does Nothing

Page 20: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

OK, Joking!

Now Seriously

Page 21: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

ImplicitlyKamailio

Really Does

Nothing

Page 22: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Now Imagine

If Telephony Was Transportation

Page 23: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

What Would You Like To Have?

Page 24: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 25: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 26: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 27: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 28: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 29: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Any Of Them Can Be Yours

Page 30: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

But Is Not About Riding

Page 31: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

It Is About Engineering Them

Page 32: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

So Now, Everyone,Please Meet Our Special Guest!

Kamailio

Page 33: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Stone It In Your Head

You Are Not The Driver

You Are The Engineer

Page 34: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Without Proper Knowledge

Your Baby Can Be

Page 35: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 36: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

On The Other Hand

Page 37: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

The Limit Is Your Imagination

Page 38: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

It’s All About You!

Page 39: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

What IsNeeded

To Start Becoming A GoodEngineer?

Page 40: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Three Things

Page 41: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

1. Excellent Knowledge Of SIP

Page 42: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

2. Excellent Knowledge Of SIP

3. Excellent Knowledge Of SIP

Page 43: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

good knowledge of sip

kamailio learning curve

it helps quite a bit:- imperative programming- practicing

Page 44: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Back To Our Business

Real Time Communications

Page 45: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Kamailio Is Not About Calls

Page 46: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Its About Connecting Things

Page 47: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

voicevideo

instant messagingpresence

desktop sharingfile transfer

contacts list managementmonitoring systems

...

Page 48: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Typical Use Cases With Asterisk

load balancerleast cost routerlocation registrar

signaling encryption gatewaysecurity guardianscalability systemsre-routing engine

Page 49: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

2002 Jun 2005 Jul 2008 Aug 2008 Nov 2008

SIP Express Router (SER)

OpenSER Kamailio

Other Forks...

Same application: Kamailio - SER

Oct 2009 Jan 2010

v3.0.0

IntegrationCompleted

v1.5.0

Oct 2011

v3.1.0

Sep 2001

FirstLineOf

Code

OpenSource

GPL

FhGFokus

Institute

Berlin

rename

v3.2.0

Oct 2010

AwardedBest Open

SourceNetworking

Software2009

By InfoWorld

10Years

Jun 2012

v3.3.0

ITSPAUK

Award

Mar 2013

v4.0.0

Kamailio

Nov 2013

v4.1.0

Page 50: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Over 180 Modules

Page 51: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

SIP proxy, redirect and registrar server

user registration with

digest authorization

IPv4-IPv6UDP/TCP/TLS/SCTP

SCTPmulti-homing

multi-streaming, statisticsUDP Raw Sockets

DNS NAPTR & SRV

Presence Services

End-to-End PresenceSIMPLE Presence ServerEmbedded XCAP Server

Dialog Info (blinking lamps)Resource Lists Service (RLS)Profile and Conference Events

Presence User Agents

Multi-domain supportCustomizable routing policy

User location service

Plug-in module interface

Embeddedinterpreters for

Lua, Perl,Mono (C#), Python

Load BalancingLeast Cost Routing

DID - Prefix RoutingAliases

Ring GroupsSpeed Dial

ENUM Routing

Page 52: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

NAT traversalSecurity

permissionsanti-DOS attacks

User call preferences

Call ProcessingLanguage

DatabaseConnectors

MySQLPostgreSQL

SQLiteUNIXODBC

BERKELEYDBORACLEText files

Accounting log file, database,Radius, Diameter

EmbeddedHTTPclientserver

Link any application to or control Kamailio using FIFO/UNIXSOCK/DATAGRAM/TCP/XMLRPC/HTTP interfaces

OSP support for peeringConnector for Java SIP Servlet

LDAP - H350

Instant MessagingEnd-to-End

Offline StorageEmbedded MSRP Relay

IM Conferencing

Gateway

SMSXMPP

Page 53: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Number PortabilityTopology Hiding

GeoIP APIInternal Message Queues

Registration to Remote ServersGeneric Database Cluster

Asynchronous TCP - TLS

SIP Request ProcessingCfg Route Block Execution

Active calls

trackingmax duration

counting per userclick-to-dial

Traffic Shaping

limit inbound traffic ratestrack DoS - DDoS

Web & CLI Tools

SIREMISSERCMDKAMCTL

IMSExtensions

Page 54: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Config FileParameter Reload Framework

Cfg SQL Query APIPreprocessor Directives

(define, include)Interactive Debugger

DNS Caching System

srv load balancingfast failoverblacklisting

avoid long blocking

Security

encryptionblock addressesIP authorization

user authenticationcertificate validation

NoSQLMemcached

RedisCassandra

time recurrence matchingSDP operations

Page 55: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Over 10 IMS ExtensionsWebsockets

genericdatabaseclusteringembedded mono interpreter

C#, Python, Java, ....

cassandra connector

http://www.kamailio.org/wiki/features/new-in-3.3.xhttp://www.kamailio.org/wiki/features/new-in-4.0.x

IPv6review

embeddedMSRP Relay

time recurrencematching

embedded HTTPRPC/Provisioning

APIs

presence/rls/xcapOMA/RCS

enhancements

GRUUSIP Outbound

SCA

Page 56: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

app_javasipt

tmhtablecfgutilssiputilssnmpstats - usrloc - debugger - dmq

mohqueue

http://www.kamailio.org/wiki/features/new-in-devel

dnssec

cnxcc(prepaid)

stun

sctp

auth_ephemeral(webrtc)

debugger(log pv assignment)

gzcompress

Page 57: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

http://www.kamailio.org/wiki/features/new-in-devel

WebRTC To

Classic SIP/VoIPGateway

(both signaling and media)

Demo At Booth #19

Page 58: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

What Actually Values A Lot

very large development teamsharp developers

friendly communitydistributed management

open environmentsustained innovation

quality driven collaborationcontinuos evolution

Page 60: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

http://conference.kamailio.com

Page 61: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin
Page 62: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Kamailio + Asterisk

common developers

OlleKlausTorrey

Page 63: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

Kamailio + Asterisk

products and services

sipwise.comthirdlane.com

edvina.netpalner.comasipto.comipcom.atentswitch

Portugal Educational UC Infrastructure(500 pairs K+A)

Page 64: The Open Source SIP Server - Kamailio...Oct 2009 Jan 2010 v3.0.0 Integration Completed v1.5.0 Oct 2011 v3.1.0 Sep 2001 First Line Of Code Open Source GPL FhG Fokus Institute Berlin

instead of conclusions

You Like Just Being The Pilot(care only of commanding your business)

Plenty Of OptionsStart By Visiting:

http://www.kamailio.org/w/business-directory/