session initiation protocol
DESCRIPTION
Session Initiation Protocol. Team Members: Manjiri Ayyar Pallavi Murudkar Sriusha Kottalanka Vamsi Ambati Girish Satya LeeAnn Tam. Agenda. Introduction to SIP Overview of functionality SIP components SIP protocol layers SIP call flows SIP concerns Demo Conclusion. Introduction. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/1.jpg)
Session Initiation Protocol
Team Members:
Manjiri AyyarPallavi Murudkar
Sriusha KottalankaVamsi AmbatiGirish SatyaLeeAnn Tam
![Page 2: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/2.jpg)
Agenda Introduction to SIP Overview of functionality SIP components SIP protocol layers SIP call flows SIP concerns Demo Conclusion
![Page 3: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/3.jpg)
Introduction
Session Initiation Protocol (SIP) application layer signaling protocol used to create, manage and terminate
sessions in an IP based network. RFC : 3261
![Page 4: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/4.jpg)
Circuit switched Network
• Circuit is fully established between the two devices before data is sent.
• Less efficient since much of the bandwidth is wasted.
![Page 5: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/5.jpg)
Packet switched network
• No fixed path is established between devices• Data broken into packets.• Packets may take multiple paths to reach the destination device.• More efficient.
![Page 6: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/6.jpg)
SIP applications
• VoIP
• Video Conferencing
• Instant Messaging
![Page 7: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/7.jpg)
Multimedia session in a packet switched networkA typical real-time multimedia session requires
Session management : Users may move from terminal to terminal with different capabilities. To set up communication session between two or more users, a signaling protocol is needed.
Media transport : RTP is used for transmitting real-time data like audio and video.
End-to-End delivery : Underlying IP layer which connects the whole world.
![Page 8: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/8.jpg)
SIP functionalitySIP is limited to only the setup, modification and termination of sessions.
Establishment of user location Feature negotiation
Call management
Changing features while a session is in progress
All of the other key functions are done with other protocols
![Page 9: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/9.jpg)
SIP components
The key components in a SIP network are
SIP Clients : SIP Phones (User-Agents) SIP servers SIP PSTN gateways Application servers (such as media
servers)
![Page 10: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/10.jpg)
SIP Network
![Page 11: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/11.jpg)
Application
Transport
Network
Physical/Data Link
Ethernet
IP
TCP UDP
RTSP SIP
SDP codecs
RTP DNS(SRV)
![Page 12: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/12.jpg)
Transport
Transaction
Transaction User
Syntax and Encoding
![Page 13: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/13.jpg)
start-line*message-headerCRLF[ message-body ]start-line = Request-Line / Status-Line
![Page 14: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/14.jpg)
INVITE Requests a session ACK Final response to the INVITE OPTIONS Ask for server capabilities CANCEL Cancels a pending request BYE Terminates a session REGISTER Sends user’s address to server
![Page 15: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/15.jpg)
1XX Provisional 100 Trying
2XX Successful 200 OK
3XX Redirection 302 Moved Temporarily
4XX Client Error 404 Not Found
5XX Server Error 504 Server Time-out
6XX Global Failure 603 Decline
![Page 16: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/16.jpg)
Session Registration Establishment , TerminationRFC 3665
![Page 17: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/17.jpg)
User A Registrar Server Location Server
Register sip:[email protected]
[email protected] 10.18.2.4
200 - OK Registration binds a particular device Contact URI with a SIP user Address of Record.
![Page 18: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/18.jpg)
Alice Host1.com proxy
Host2.com proxy Bob
Invite F1Invite F1
Invite F2Invite F2Invite F4Invite F4
100 Trying F5100 Trying F5100 Trying F3100 Trying F3
180 Ringing F6180 Ringing F6
180 Trying F8180 Trying F8
180 Trying F7180 Trying F7
ACK F12ACK F12
200 OK F9200 OK F9
200 OK F11200 OK F11200 OK F10200 OK F10
Media Session
Bye F13Bye F13
200 OK F14200 OK F14
![Page 19: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/19.jpg)
INVITE sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP
pc33.atlanta.com;branch=z9hG4bK776asdhds Max-Forwards: 70 To: Bob <sip:[email protected]> From: Alice <sip:[email protected]>;tag=1928301774 Call-ID: [email protected] CSeq: 314159 INVITE Contact: sip:[email protected]: application/sdp Content-Length: 142
![Page 20: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/20.jpg)
SIP/2.0 200 OK Via: SIP/2.0/UDP
server10.biloxi.com ;branch=z9hG4bKnashds8;received=192.0.2.3 Via: SIP/2.0/UDP
bigbox3.site3.atlanta.com ;branch=z9hG4bK77ef4c2312983.1;received=192.0.2.2
Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bK776asdhds ;received=192.0.2.1
To: Bob <sip:[email protected]>;tag=a6c85cf From: Alice <sip:[email protected]>;tag=1928301774 Call-ID: [email protected] CSeq: 314159 INVITE Contact: <sip:[email protected]> Content-Type: application/sdp Content-Length: 131
![Page 21: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/21.jpg)
SIP Concerns Security
◦ 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
![Page 22: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/22.jpg)
SIP Concerns…contd Quality of Service
◦ Latency, network delays (upper bound is 150ms)
◦ Jitter ( refers to non-uniform delays )
◦ Packet Loss
◦ Power Failure and Backup Systems
◦ Interoperability
![Page 23: Session Initiation Protocol](https://reader035.vdocuments.site/reader035/viewer/2022062217/56813553550346895d9cb483/html5/thumbnails/23.jpg)
Demo
User Agents used : Yahoo Messenger
Call Scenarios Covered:
◦Register
◦Call Establishment
◦Call Termination