Kamailio - The Story for Asterisk

Post on 25-May-2015

779 views 4 download

Tags:

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

Transcript of Kamailio - The Story for Asterisk

KamailioThe Open Source SIP Server

The Story For Asterisk

Daniel-Constantin MierlaCo-Founder Kamailio

www.kamailio.orgwww.asipto.com

Who Is That Guy?

World of Telephony

?

Telephony Engine

Central Element?

?

The Call

?

SIP Signaling Routing Engine

SIP Signaling Routing Engine

Central Element?

?

YOU

Implicitly

Kamailio Does Only One Thing

And It Does Very Well

It Does Nothing

OK, Joking!

Now Seriously

ImplicitlyKamailio

Really Does

Nothing

Now Imagine

If Telephony Was Transportation

What Would You Like To Have?

Any Of Them Can Be Yours

But Is Not About Riding

It Is About Engineering Them

So Now, Everyone,Please Meet Our Special Guest!

Kamailio

Stone It In Your Head

You Are Not The Driver

You Are The Engineer

Without Proper Knowledge

Your Baby Can Be

On The Other Hand

The Limit Is Your Imagination

It’s All About You!

What IsNeeded

To Start Becoming A GoodEngineer?

Three Things

1. Excellent Knowledge Of SIP

2. Excellent Knowledge Of SIP

3. Excellent Knowledge Of SIP

good knowledge of sip

kamailio learning curve

it helps quite a bit:- imperative programming- practicing

Back To Our Business

Real Time Communications

Kamailio Is Not About Calls

Its About Connecting Things

voicevideo

instant messagingpresence

desktop sharingfile transfer

contacts list managementmonitoring systems

...

Typical Use Cases With Asterisk

load balancerleast cost routerlocation registrar

signaling encryption gatewaysecurity guardianscalability systemsre-routing engine

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

Over 180 Modules

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

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

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

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

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

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

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

WebRTC To

Classic SIP/VoIPGateway

(both signaling and media)

Demo At Booth #19

What Actually Values A Lot

very large development teamsharp developers

friendly communitydistributed management

open environmentsustained innovation

quality driven collaborationcontinuos evolution

http://conference.kamailio.com

Kamailio + Asterisk

common developers

OlleKlausTorrey

Kamailio + Asterisk

products and services

sipwise.comthirdlane.com

edvina.netpalner.comasipto.comipcom.atentswitch

Portugal Educational UC Infrastructure(500 pairs K+A)

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/