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

Kamailio - The Story for Asterisk

Embed Size (px)

DESCRIPTION

Presentation done at Astricon 2013, Atlanta, USA - a look at Kamailio and SIP proxy server concept from the perspective of a media server and PBX such as Asterisk

Citation preview

Page 1: Kamailio - The Story for Asterisk

KamailioThe Open Source SIP Server

The Story For Asterisk

Daniel-Constantin MierlaCo-Founder Kamailio

www.kamailio.orgwww.asipto.com

Page 2: Kamailio - The Story for Asterisk

Who Is That Guy?

Page 3: Kamailio - The Story for Asterisk

World of Telephony

Page 4: Kamailio - The Story for Asterisk
Page 5: Kamailio - The Story for Asterisk

?

Page 6: Kamailio - The Story for Asterisk

Telephony Engine

Page 7: Kamailio - The Story for Asterisk

Central Element?

Page 8: Kamailio - The Story for Asterisk

?

Page 9: Kamailio - The Story for Asterisk

The Call

Page 10: Kamailio - The Story for Asterisk
Page 11: Kamailio - The Story for Asterisk

?

Page 12: Kamailio - The Story for Asterisk

SIP Signaling Routing Engine

Page 13: Kamailio - The Story for Asterisk

SIP Signaling Routing Engine

Page 14: Kamailio - The Story for Asterisk

Central Element?

Page 15: Kamailio - The Story for Asterisk

?

Page 16: Kamailio - The Story for Asterisk

YOU

Page 17: Kamailio - The Story for Asterisk

Implicitly

Kamailio Does Only One Thing

Page 18: Kamailio - The Story for Asterisk

And It Does Very Well

Page 19: Kamailio - The Story for Asterisk

It Does Nothing

Page 20: Kamailio - The Story for Asterisk

OK, Joking!

Now Seriously

Page 21: Kamailio - The Story for Asterisk

ImplicitlyKamailio

Really Does

Nothing

Page 22: Kamailio - The Story for Asterisk

Now Imagine

If Telephony Was Transportation

Page 23: Kamailio - The Story for Asterisk

What Would You Like To Have?

Page 24: Kamailio - The Story for Asterisk
Page 25: Kamailio - The Story for Asterisk
Page 26: Kamailio - The Story for Asterisk
Page 27: Kamailio - The Story for Asterisk
Page 28: Kamailio - The Story for Asterisk
Page 29: Kamailio - The Story for Asterisk

Any Of Them Can Be Yours

Page 30: Kamailio - The Story for Asterisk

But Is Not About Riding

Page 31: Kamailio - The Story for Asterisk

It Is About Engineering Them

Page 32: Kamailio - The Story for Asterisk

So Now, Everyone,Please Meet Our Special Guest!

Kamailio

Page 33: Kamailio - The Story for Asterisk

Stone It In Your Head

You Are Not The Driver

You Are The Engineer

Page 34: Kamailio - The Story for Asterisk

Without Proper Knowledge

Your Baby Can Be

Page 35: Kamailio - The Story for Asterisk
Page 36: Kamailio - The Story for Asterisk

On The Other Hand

Page 37: Kamailio - The Story for Asterisk

The Limit Is Your Imagination

Page 38: Kamailio - The Story for Asterisk

It’s All About You!

Page 39: Kamailio - The Story for Asterisk

What IsNeeded

To Start Becoming A GoodEngineer?

Page 40: Kamailio - The Story for Asterisk

Three Things

Page 41: Kamailio - The Story for Asterisk

1. Excellent Knowledge Of SIP

Page 42: Kamailio - The Story for Asterisk

2. Excellent Knowledge Of SIP

3. Excellent Knowledge Of SIP

Page 43: Kamailio - The Story for Asterisk

good knowledge of sip

kamailio learning curve

it helps quite a bit:- imperative programming- practicing

Page 44: Kamailio - The Story for Asterisk

Back To Our Business

Real Time Communications

Page 45: Kamailio - The Story for Asterisk

Kamailio Is Not About Calls

Page 46: Kamailio - The Story for Asterisk

Its About Connecting Things

Page 47: Kamailio - The Story for Asterisk

voicevideo

instant messagingpresence

desktop sharingfile transfer

contacts list managementmonitoring systems

...

Page 48: Kamailio - The Story for Asterisk

Typical Use Cases With Asterisk

load balancerleast cost routerlocation registrar

signaling encryption gatewaysecurity guardianscalability systemsre-routing engine

Page 49: Kamailio - The Story for Asterisk

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: Kamailio - The Story for Asterisk

Over 180 Modules

Page 51: Kamailio - The Story for Asterisk

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: Kamailio - The Story for Asterisk

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: Kamailio - The Story for Asterisk

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: Kamailio - The Story for Asterisk

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: Kamailio - The Story for Asterisk

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: Kamailio - The Story for Asterisk

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: Kamailio - The Story for Asterisk

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

WebRTC To

Classic SIP/VoIPGateway

(both signaling and media)

Demo At Booth #19

Page 58: Kamailio - The Story for Asterisk

What Actually Values A Lot

very large development teamsharp developers

friendly communitydistributed management

open environmentsustained innovation

quality driven collaborationcontinuos evolution

Page 60: Kamailio - The Story for Asterisk

http://conference.kamailio.com

Page 61: Kamailio - The Story for Asterisk
Page 62: Kamailio - The Story for Asterisk

Kamailio + Asterisk

common developers

OlleKlausTorrey

Page 63: Kamailio - The Story for Asterisk

Kamailio + Asterisk

products and services

sipwise.comthirdlane.com

edvina.netpalner.comasipto.comipcom.atentswitch

Portugal Educational UC Infrastructure(500 pairs K+A)

Page 64: Kamailio - The Story for Asterisk

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/