DCM Sip Routing Async Sip PDF
DCM Sip Routing Async Sip PDF
SIP-Router.org
Daniel-Constantin Mierla
Co-Founder Kamailio
asipto.com
www.kamailio.org
2
History
2002 Jun 2005 Jul 2008 Aug 2008 Nov 2008 Oct 2009 Jan 2010
SIP Express Router (SER)
Integration
Completed
v3.0.0
v1.5.0
OpenSER Kamailio
Other Forks...
3
Development Portals
4
Awarded
By InfoWorld
5
Usage in Germany
http://www.kamailio.org/w/references/
6
Features
Plug in module
interface
Perl programming
interface Customizable routing
policy
SIP proxy, redirect User location service
and registrar server IPv4-IPv6
user registration UDP/TCP/TLS/SCTP
with SIP translator
digest authorization
Instant Messaging
Offline message
service
Presence server
7
Features
OSP support for peering
Java SIP Servlet
programming interface
NAT traversal
Security
Link any application to Kamailio using permissions
FIFO/UNIXSOCK/DATAGRAM/XMLRPC interfaces anti-DOS attacks
User call preferences
Call Processing
Language
Gateway
Database API
MySQL
SMS
PostgreSQL
XMPP
UNIXODBC
BERKELEYDB
ORACLE Accounting through log file,
Text files database or Radius/DIAMETER
RADIUS servers
8
New in 3.0.0
10
Improving architecture
SCTP
multi-homing
multi-streaming
statistics
12
New in 3.0.0
XMLRPC
scalable control
interface
secure
13
New in 3.0.0
Auth
Identity
RFC4474
14
SIREMIS
15
SIREMIS
16
SIREMIS
17
SERCMD
18
SERCMD
19
New in 3.0.0
http://www.kamailio.org/dokuwiki/doku.php/features:new-in-3.0.x
http://www.kamailio.org/w/kamailio-openser-v3.0.0-release-notes/
http://by-miconda.blogspot.com/2010/01/best-of-new-in-kamailio-300-toc.html
20
New in Development
3.1.0
Autumn 2010
New in devel (upcoming 3.1.0)
Embedded
Lua
Config Tree
Preprocessor Caching
Directive System
SIP
Registration
to
New Remote
Embedded
Traffic Servers
Python
Shaping
Module GeoIP
Config API
Message
Queuing
System
22
New in devel (upcoming 3.1.0)
Load
Balancing
weight
call load
Reason
Header Interactive
for Config
CANCEL Debugger
Config
Parameters
Reload
Embedded
Framework
HTTP XLOG
& Enhancements
XCAP
Server line, file
Asynchronous
TLS
23
New in devel (upcoming 3.1.0)
http://sip-router.org/wiki/features/new-in-devel
24
Asynchronous SIP Routing
Asynchronous TCP
opening a connection
sending data
Benefits
increased processing capacity over TCP
26
Asynchronous TLS
Extra
increased capacity of handling secure communication
27
Asynchronous SIP Message Processing
present in 3.0.x (latest stable)
default message processing
receive - process - forward/reply
example
call comes in, authenticate user, then send a request to
billing engine to authorize the call
suspend handling the invite (park it), process other SIP
requests
when billing engine replies, resume INVITE processing
and allow or deny the call
28
Asynchronous SIP Message Processing
T1
READ SIP
MESSAGE
KAMAIALIO PROCESS A
INVITE X IN READ SIP
MESSAGE
T3 = T2 + N2
KAMAIALIO PROCESS B
INVITE X INITIAL
PROCESSING OPTIONS Y REPLY IN
SUSPEND RESUME
INVITE X INVITE X
T2 = T1 + N1
OPTIONS Y OUT INVITE X COMPLETING
PROCESSING
READ SIP
MESSAGE READ SIP
MESSAGE
29
Config Message Queuing System
Features
inter-process communication
30
Questions?
Contact:
daniel@asipto.com
http://www.asipto.com
http://www.kamailio.org
http://sip-router.org
31