Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 41

SIP Traffic Controller

Framework

By Thorben Neumann
Motivation

› People are connected

› Communication

› Stable, fast & reliable connection

›  system load tests

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 2 (41)
Agenda
Client-Server Model

SIP

SIPp

IMS

SIP Network Setup

The Framework

Summary & Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 3 (41)
Agenda
Client-Server Model

SIP

SIPp

IMS

SIP Network Setup

The Framework

Summary & Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 4 (41)
Client-Server Model

› Request – response

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 5 (41)
Agenda
Client-Server Model

SIP

SIPp

IMS

SIP Network Setup

The Framework

Summary & Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 6 (41)
SIP in general

› Developed by the IETF

› Released 1999 (RFC 2543)

› 2002 released RFC 3261 (improvement based on RFC


2543)

› Establish/Handles connections/sessions between users

› Uses the IP Network

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 7 (41)
Functionality

› Five main functions

1. User location
2. User availability
3. User capabilities
4. Session setup
5. Session management

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 8 (41)
Network

› User agents

› Proxy server

› Redirect server

› Registrar server

› URI

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 9 (41)
User agents

› Endpoints of SIP network

› User products or gateways (between IP and Core network)

› UA consists of UAC (UA client) and UAS (UA server)

› Client sends messages

› Server receives messages and handles them

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 10 (41)
Proxy servers

› Forwards incoming requests

› Forwards request to the receiver or to another proxy server

› Proxy server cannot modify the main(important) part of the


message

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 11 (41)
Proxy Server

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 12 (41)
Redirect server

› Counterpart of proxy server

› Also handles incoming request

› But redirect server cannot forward, it can answer!

› Sends an answer to the UA with the requested contact


information

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 13 (41)
Redirect Server

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 14 (41)
Registrar server

› Redirect and proxy server need to know the location of any


UA

› Registrar server handles incoming request


1. Add/Delete an user on the location service (database)
2. Send contact information

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 15 (41)
URI

› Uniform Resource Indicator

› SIP addresses are URI’s

› Example:
1. sip:heinz@random.com
2. sips:00148492395@random.com

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 16 (41)
SIP – Request Messages

› INVITE – starts SIP session; establishes connection


› REGISTER – register on location server; get registrations
› BYE – cancels current session; (hang up)
› ACK – Acknowledge response message after INVITE
› CANCEL – cancels INVITE until response message arrived
› OPTIONS – checks availability and ability

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 17 (41)
SIP – Response Messages

› 50 types in 6 classes

› 1xx – provisional response; less important


› 2xx – successful message
› 3xx – redirection message; call not successful; alternative
› 4xx – request failure; error in SIP message
› 5xx – server error; service not available; version not
supported; message too long for server
› 6xx – global error; communication partner is busy

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 18 (41)
Agenda
Client-Server Model

SIP

SIPp

IMS

SIP Network Setup

The Framework

Summary & Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 19 (41)
SIPp

› Performance testing tool for SIP protocol

› Based on xml scenarios

› Adjustable call rates

› shows statistics and errors

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 20 (41)
Agenda
Client-Server Model

SIP

SIPp

IMS

SIP Network Setup

The Framework

Summary & Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 21 (41)
IMS

› Connects “next generation” with “last generation”

› Host applications

› Application server can act as:


– Proxy server
– UA (mailbox, …)

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 22 (41)
IMS

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 23 (41)
Agenda
Client-Server Model

SIP

SIPp

IMS

SIP Network Setup

The Framework

Summary & Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 24 (41)
SIP Network setup

› Need at least 2 UA’s

› SIPp client and SIPp server

› Later SIP Server/IMS

› Standard XML file configuration

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 25 (41)
SIP Network setup

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 26 (41)
Agenda
Client-Server Model

SIP

SIPp

IMS

SIP Network Setup

The Framework

Summary & Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 27 (41)
The Framework

› Generate traffic

› STCF can act as one or more clients

› Easy

› Stable

› Robust

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 28 (41)
STCF Class diagram

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 29 (41)
Order of Events

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 30 (41)
Example –
set up a controller

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 31 (41)
Example –
handle a controller

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 32 (41)
Example – set up second
controller

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 33 (41)
Example –
Terminate Program

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 34 (41)
Agenda
Client-Server Model

SIP

SIPp

IMS

SIP Network Setup

The Framework

Summary & Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 35 (41)
Summary

› STCF can act as SIP client

› Generates traffic

› Stable & strict order of events (CLI)

› Logging for retrace issues

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 36 (41)
Outlook

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 37 (41)
Bibliography

› E. L. Morgan, "infomotions," [Online]. Available:


http://infomotions.com/musings/waves/clientservercomputin
g.html. [Accessed 11 11 2013].
› "Elektronik Kompendium," [Online]. Available:
http://www.elektronik-kompendium.de/sites/net/0905111.ht
m. [Accessed 16 10 2013].
› K. Apostolidis, "IP Multimedia using SIP in UMTS,"
Futurenetz Technology Education & Consulting, Aachen.
› J. Rosenberg, "IETF RFC3261," [Online]. Available:
http://www.ietf.org/rfc/rfc3261.txt. [Accessed 17 10 2013].

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 38 (41)
Bibliography

› A. B. Johnston, "SIP Understanding the Session Initiation


Protocol," in Third edition, Norwood, Artech House, p. 395
› R. GAYRAUD, "sipp," [Online]. Available:
http://sipp.sourceforge.net/doc/reference.pdf. [Accessed 14
11 2013].
› "Wikipedia," [Online]. Available:
http://de.wikipedia.org/wiki/IP_Multimedia_Subsystem.
[Accessed 2013 12 12].
› "freecode," [Online]. Available:
http://freecode.com/projects/pureload. [Accessed 10 12
2013].

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 39 (41)
Questions

SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 40 (41)
SIP Traffic Controller Framework | Commercial in confidence | © Ericsson AB 2013 | 2013-12-16 | Page 41 (41)

You might also like