session intiation protocol tk
DESCRIPTION
A newbie view point of SIP way back in 2009.TRANSCRIPT
![Page 1: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/1.jpg)
Session Initiation Protocol: An Overview
Chaitanya T K,DataCom
![Page 2: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/2.jpg)
Only those who dare to fall greatly can achieve
greatly
Robert Kennedy
![Page 3: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/3.jpg)
Agenda: Telephony and VOIP basics Need for SIP? Welcome to SIP World Basic Operation and message formats Layering in SIP Types of proxies Detailed Handshakes Dialogs and routing Handling QOS Issues with SIP
![Page 4: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/4.jpg)
Telephony and VOIP basics
![Page 5: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/5.jpg)
Intro to VOIP:
![Page 6: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/6.jpg)
Circuit Vs. Packet Switching:
Advantages of circuit switching: ---Fixed delays, because of the dedicated circuit-- Guaranteed continuous service, also because of the dedicated circuit
Disadvantages of circuit switching -- idle circuits are not used-- Difficult to support variable data rates and is not efficient for burst traffic
![Page 7: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/7.jpg)
Advantages of Packet Switching
-- can provide variable data rates-- better for "bursty" traffic
Disadvantages of Packet Switching
-- Packets arriving in wrong order-- Variable delays
![Page 8: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/8.jpg)
![Page 9: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/9.jpg)
![Page 10: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/10.jpg)
Welcome to the SIP world
![Page 11: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/11.jpg)
Need for SIP?: What is a session? - Data Exchange between an association of participants
These data exchange is complicated since:
• Users can move• User can use Multiple names• Users can change the media A protocol that monitors and controls all these actions need to developed.
![Page 12: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/12.jpg)
![Page 13: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/13.jpg)
![Page 14: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/14.jpg)
![Page 15: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/15.jpg)
Functionalities provided by SIP:
User location: determination of the end system to be used for communication;
User availability: determination of the willingness of the called party to engage in communications;
User capabilities: determination of the media and media parameters to be used;
Session setup: "ringing", establishment of session parameters at both called and calling party;
Session management: including transfer and termination of sessions, modifying session parameters, and invoking services.
![Page 16: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/16.jpg)
![Page 17: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/17.jpg)
![Page 18: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/18.jpg)
![Page 19: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/19.jpg)
Key SIP Proxy Roles: Security: With admission control policy,SIP proxy enforces who may call whom,and eventually reports usage
Services: proxy servers can implement a variety of services: missed calls,forwarding, screening, etc.
Routing: Finding the right recipient of a call (gateway, voicemail, SIP-phone, foreign domain, etc.)
![Page 20: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/20.jpg)
![Page 21: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/21.jpg)
Transaction:
![Page 22: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/22.jpg)
Dialogs:
![Page 23: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/23.jpg)
Session:
![Page 24: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/24.jpg)
Basic Steps in Operation of SIP:
![Page 25: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/25.jpg)
Registration:
![Page 26: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/26.jpg)
Registration request format:
![Page 27: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/27.jpg)
![Page 28: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/28.jpg)
![Page 29: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/29.jpg)
![Page 30: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/30.jpg)
INVITE Message Format:
![Page 31: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/31.jpg)
![Page 32: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/32.jpg)
![Page 33: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/33.jpg)
![Page 34: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/34.jpg)
![Page 35: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/35.jpg)
![Page 36: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/36.jpg)
Stateful versus Stateless Proxy Stateless mode:
– Usage: good for heavy-load scenarios -- works well for example if they act as application-layer load distributors.
– Behavior: proxies just receive messages, perform routing logic, send messages out and forget anything they knew
- Memory consumption is constant (which is key for some scenarios – transaction context takes up to 7k of memory!)
![Page 37: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/37.jpg)
Stateful mode: Usage: good for implementing some services (e.g.,“forward on no reply”)
Behavior: proxies maintain state during entire transaction; they remember outgoing requests as well as incoming requests that generated them until transaction is over; they do not keep state during the whole call
Used for services such as accounting (for aggregating requests with responses and filtering retransmissions out), forking (for picking the ‘best’ answer), forwarding on some event (state helps to postpone decision making till an event such as ‘line busy’ occurs), etc.
![Page 38: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/38.jpg)
![Page 39: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/39.jpg)
![Page 40: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/40.jpg)
Methods and Responses:
![Page 41: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/41.jpg)
SIP Methods:
![Page 42: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/42.jpg)
![Page 43: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/43.jpg)
![Page 44: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/44.jpg)
![Page 45: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/45.jpg)
Dialogs and Routing-INVITE:
![Page 46: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/46.jpg)
Dialogs and Routing-180:
![Page 47: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/47.jpg)
Dialogs and Routing-200:
![Page 48: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/48.jpg)
Dialogs and Routing-ACK:
![Page 49: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/49.jpg)
Dialogs and Routing-BYE:
![Page 50: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/50.jpg)
Dialogs and Routing-200:
![Page 51: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/51.jpg)
Layers in SIP:
![Page 52: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/52.jpg)
Layers in SIP: The structure of the SIP protocol, as outlined
in chapter 5 of RFC 3261: "The lowest layer is the transport layer. It defines how a client sends requests and receives responses and how a server receives requests and sends responses over the network. All SIP elements contain a transport layer.
The second layer is the transaction layer. A transaction is a request sent by a client transaction (using the transport layer) to a server transaction, along with all responses to that request sent from the server transaction back to the client. Any task that a user agent client (UAC) accomplishes takes place using a series of transactions. Stateless proxies do not contain a transaction layer.
The layer above the transaction layer is called the transaction user (TU). Each of the SIP entities, except the stateless proxy, is a transaction user."
![Page 53: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/53.jpg)
Summary of Call setup Flow
![Page 54: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/54.jpg)
![Page 55: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/55.jpg)
![Page 56: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/56.jpg)
![Page 57: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/57.jpg)
![Page 58: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/58.jpg)
![Page 59: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/59.jpg)
Issues with SIP
![Page 60: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/60.jpg)
Authentication of signaling data using
HTTP digest authentication
TLS usage (over TCP)
Usage of IPSec (SIP VPN Scenario)
Use SecureRTP for Media
Use S/MIME to enable mechanisms like
public key distribution,
authentication, integrity and
confidentiality of SIP signaling data
Security:
![Page 61: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/61.jpg)
![Page 62: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/62.jpg)
NAT with SIP:
![Page 63: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/63.jpg)
![Page 64: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/64.jpg)
SIP Vs. H.323
![Page 65: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/65.jpg)
Judge a man by his questions rather than
his answers
Voltaire
![Page 66: Session intiation protocol tk](https://reader035.vdocuments.mx/reader035/viewer/2022062708/5588fc40d8b42a2c1a8b4653/html5/thumbnails/66.jpg)
Thank You -