SlideShare a Scribd company logo
Take a sip of SIP
Paul Sarstiuc, Romeo Vidrascu, Marius Trestioreanu
Bucharest
18 April 2016
2
SIP – Session Initiation Protocol
 Content
– VoIP
– SIP History
– SIP Architecture
– Addressing SIP
– SIP Messages
– SIP Flow
– WireShark and SIP Filters
– SIP Flow – WireShark
– Supplementary Services
– SDP - WireShark
3
VoIP stereotypes
 VoIP means free calls
 SIP is a collection of protocols
 SIP is better than H323
 SIP is a voice signaling protocol
4
VoIP
 VoIP
– VoIP: Voice over Internet Protocol
 IP Telephony
 Internet Telephony
 Voice over Broadband (VoBB)
 Broadband Telephony
 Broadband Phone
– Alternative to PSTN
– Single infrastructure for Data, Voice and Video
– More demand for video conferences is easily satisfied with VoIP
– Cost savings on long distance calls
– Easier connectivity: customers are to be reached at multiple points
under the same “telephone number”
– Communication Services
 Voice/Video
 Fax
 Voice/Messaging Application
5
VoIP
 VoIP Protocols
– SIP – Session Initiation Protocol
– H.323
– IMS – IP Multimedia Subsystem
– MGCP – Media Gateway Control Protocol
– RTP – Real-time Transport Protocol
– RTCP – Real-time Transport Control Protocol
– SDP – Session Description Protocol
– Skype Protocol (proprietary)
– TCP – Transmission Control Protocol
– UDP – User Datagram Protocol
– TLS – Transport Layer Security
6
SIP OSI
 SIP vs. OSI
7
History
 SIP History
– Feb. 22, 1996 draft-ietf-mmusic-scip-00; IDMS paper
– Feb. 22, 1996 draft-ietf-mmusic-sip-00
– Dec. 2, 1996 draft-ietf-mmusic-sip-01
– March 27, 1997 draft-ietf-mmusic-sip-02
– July 31, 1997 draft-ietf-mmusic-sip-03
– November 11, 1997 draft-ietf-mmusic-sip-04
– May 14, 1998 draft-ietf-mmusic-sip-05
– June 17, 1998 draft-ietf-mmusic-sip-06
– July 16, 1998 draft-ietf-mmusic-sip-07
– August 7, 1998 draft-ietf-mmusic-sip-08
– September 18, 1998 draft-ietf-mmusic-sip-09
– September 28, 1998 Last call
– November 12, 1998 draft-ietf-mmusic-sip-10
– December 15, 1998 draft-ietf-mmusic-sip-11
– January 15, 1999 draft-ietf-mmusic-sip-12
– February 2, 1999 Approved
– March 17, 1999 RFC 2543
– July 3, 2002 RFC 3261 (SIP: Session Initiation Protocol), RFC 3262 (Reliability of Provisional Responses
in Session Initiation Protocol (SIP)), RFC 3263 (Session Initiation Protocol (SIP): Locating SIP Servers), RFC
3264 (An Offer/Answer Model with Session Description Protocol (SDP)), RFC 3265 (Session Initiation Protocol
(SIP)-Specific Event Notification), RFC 3266 (Support for IPv6 in Session Description Protocol (SDP))
published
8
SIP Architecture
 Network Elements:
– UA – User Agent
 UAC – User Agent Client [request]
 UAS – User Agent Server [response]
– Server Elements [RFC 3261]
 Proxy Server [phone – proxy – proxy – phone]
 Registrar [REGISTER]
 Redirect Server [3XX]
– Other Network Elements
 SBC – Session Border Controller
 Gateway
9
SIP Architecture
 Network Elements
10
SIP addressing
 URI – Uniform Resource Identifier
 sip:username:password@host:port
 E.g.: sip:John@sipgatedomain.org
 Secure transmission
– sips:… instead of sip:…
– TLS – Transport Layer Security
11
SIP Messages
 SIP Requests:
– REGISTER
– INVITE
– ACK
– CANCEL
– BYE
– OPTIONS
– SUBSCRIBE
– REFER
– NOTIFY
 SIP Responses:
– Provisional (1xx)
– Success (2xx)
– Redirection (3xx)
– Client Error (4xx)
– Server Error (5xx)
– Global Failure (6xx)
12
SIP Messages - REGISTER
13
SIP Messages - INVITE
14
SIP Messages - ACK
15
SIP Messages - CANCEL
16
SIP Messages - BYE
17
SIP Messages - OPTIONS
18
SIP Messages – 100 Trying
19
SIP Messages – 200 Ok
20
SIP Messages – 401 Unauthorized
21
SIP Flow
 Direct SIP Call Between 2 UAs
22
SIP Flow
 Call via Proxy
23
SIP Flow
 Call via Proxy with No Answer
24
SIP Flow
 Registration
25
WireShark and SIP Filters
 Wireshark
– Free, open-source packet analyzer
– Network Troubleshooting and Analysis
– Software and communications protocol development
– Education.
 Popular Filters:
– sip
– sdp
– udp
– tcp
– rtp
– sip.To
– sip.to.addr
26
SIP Flow - WireShark
 WireShark Capture
27
SIP Flow - WireShark
 WireShark: Telephony – VoIP Calls – Flow
28
Supplementary Services
– Call Hold
– Call Transfer
– Call Conference
– Call Forwarding
 on busy
 no answer
 unconditional
29
Supplementary Services
 HOLD
30
Supplementary Services
 HOLD
31
Supplementary Services
 Transfer
32
SDP - WireShark
33
SDP - WireShark
 Session Description Protocol Version - 0
 Owner / Creator of the session or Owner / Creator. Identification is made by:
– Owner username. User.
– Session ID. ID of the session. Random number as a unique identifier of the session.
– Session Version. Version.
– Network Type. Tipe network. Always IN.
– Address Type. It can be IP4 (IPv4) or IP 6 (IPv6).
– Address (IP). IP Address. (200.57.7.197)
– Session Name. Name of the session.
 Connection Information:
– C = Connection Type Network (IN)
– Connection Address Type: (IP4 or IPv6)
– Connection Address: (200.57.7.197)
 Time Description, active time. (t): 0 0, start stop time = 0. [unrestricted and permanent session].
 Media Description, name and address (m): audio 40376 RTP / AVP 4 0 8 18. Type of data being transported (audio or telephone session in this
case), UDP port used (40 376), protocol used (Real Time Transport Protocol RTP / AVP Audio Video Profiles). Codecs formats:
– 8 G.711 PCMA
– 18 G.729
– 4 G.723
– 0 G.711 PCMU
 Media Attribute (a). This is a list of format codes outlined above with data from Sample rate or sampling frequency, fieldname, etc.
 Media Attribute (a). SendRecv. So send / receive.
34
Q & A
Thank You !

More Related Content

What's hot

Session initiation protocol SIP
Session initiation protocol SIPSession initiation protocol SIP
Session initiation protocol SIP
Laraib Khan
 
Sip crash course
Sip crash courseSip crash course
Sip crash course
Jonas Borjesson
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
ALTANAI BISHT
 
Sip
SipSip
SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP Protocol
LivePerson
 
FreePBX Application Introduce
FreePBX Application IntroduceFreePBX Application Introduce
FreePBX Application Introduce
Zack Chou
 
session initiation protocol - SIP
session initiation protocol - SIPsession initiation protocol - SIP
session initiation protocol - SIPMahmoud Abudaqa
 
Sinnreich Henry Johnston Alan Pt 2
Sinnreich Henry Johnston Alan   Pt 2Sinnreich Henry Johnston Alan   Pt 2
Sinnreich Henry Johnston Alan Pt 2Carl Ford
 
SIP (Session Initiation Protocol) - Study Notes
SIP (Session Initiation Protocol) - Study NotesSIP (Session Initiation Protocol) - Study Notes
SIP (Session Initiation Protocol) - Study Notes
OxfordCambridge
 
LinuxCon North America: SIPPing from the Open Source Well
LinuxCon North America: SIPPing from the Open Source WellLinuxCon North America: SIPPing from the Open Source Well
LinuxCon North America: SIPPing from the Open Source Well
Matt Bynum
 
6293213 sip-presentation
6293213 sip-presentation6293213 sip-presentation
6293213 sip-presentationJoe Trial
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocol
Michal Hrncirik
 
Presentation of H323 protocol
Presentation of H323 protocolPresentation of H323 protocol
Presentation of H323 protocol
Md. Taiseen Azam
 
Sangoma SS7 Gateway Training
Sangoma SS7 Gateway TrainingSangoma SS7 Gateway Training
Sangoma SS7 Gateway Training
Empatiq İletişim Teknolojileri AŞ.
 
IMS + VoLTE Overview
IMS + VoLTE OverviewIMS + VoLTE Overview
IMS + VoLTE Overview
Hamidreza Bolhasani
 
MGCP Overview
MGCP OverviewMGCP Overview
MGCP Overview
William Lee
 

What's hot (20)

Session initiation protocol SIP
Session initiation protocol SIPSession initiation protocol SIP
Session initiation protocol SIP
 
Sip crash course
Sip crash courseSip crash course
Sip crash course
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
 
Sip
SipSip
Sip
 
H.323
H.323H.323
H.323
 
Vo ip sip
Vo ip sipVo ip sip
Vo ip sip
 
SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP Protocol
 
FreePBX Application Introduce
FreePBX Application IntroduceFreePBX Application Introduce
FreePBX Application Introduce
 
session initiation protocol - SIP
session initiation protocol - SIPsession initiation protocol - SIP
session initiation protocol - SIP
 
Sinnreich Henry Johnston Alan Pt 2
Sinnreich Henry Johnston Alan   Pt 2Sinnreich Henry Johnston Alan   Pt 2
Sinnreich Henry Johnston Alan Pt 2
 
SIP (Session Initiation Protocol) - Study Notes
SIP (Session Initiation Protocol) - Study NotesSIP (Session Initiation Protocol) - Study Notes
SIP (Session Initiation Protocol) - Study Notes
 
LinuxCon North America: SIPPing from the Open Source Well
LinuxCon North America: SIPPing from the Open Source WellLinuxCon North America: SIPPing from the Open Source Well
LinuxCon North America: SIPPing from the Open Source Well
 
H.323
H.323H.323
H.323
 
6293213 sip-presentation
6293213 sip-presentation6293213 sip-presentation
6293213 sip-presentation
 
Introduction into SIP protocol
Introduction into SIP protocolIntroduction into SIP protocol
Introduction into SIP protocol
 
Presentation of H323 protocol
Presentation of H323 protocolPresentation of H323 protocol
Presentation of H323 protocol
 
Sangoma SS7 Gateway Training
Sangoma SS7 Gateway TrainingSangoma SS7 Gateway Training
Sangoma SS7 Gateway Training
 
Ims in ngn
Ims in ngnIms in ngn
Ims in ngn
 
IMS + VoLTE Overview
IMS + VoLTE OverviewIMS + VoLTE Overview
IMS + VoLTE Overview
 
MGCP Overview
MGCP OverviewMGCP Overview
MGCP Overview
 

Similar to Tlc 004 - take a sip of sip

Sip summary
Sip summarySip summary
Sip summary
Ahmed Noaman
 
The ssca® sip training program course outline
The ssca® sip training program   course outlineThe ssca® sip training program   course outline
The ssca® sip training program course outline
swap3731
 
Sinnreich Henry Johnston Alan Pt 1
Sinnreich Henry Johnston Alan   Pt 1Sinnreich Henry Johnston Alan   Pt 1
Sinnreich Henry Johnston Alan Pt 1Carl Ford
 
Apple Facetime Protocol
Apple Facetime ProtocolApple Facetime Protocol
Apple Facetime Protocol
kshitijmehta23
 
Squire Technologies: Media Gateway
Squire Technologies: Media GatewaySquire Technologies: Media Gateway
Squire Technologies: Media Gateway
Squire Technologies
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPAN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
Sean Flores
 
VOIP
VOIPVOIP
Indigo Product And Technology Overivew 2005
Indigo Product And Technology Overivew 2005 Indigo Product And Technology Overivew 2005
Indigo Product And Technology Overivew 2005
ir. Carmelo Zaccone
 
1 VoIP Overview[1]
1 VoIP Overview[1]1 VoIP Overview[1]
1 VoIP Overview[1]William Giba
 
lect21-Layer5.ppt
lect21-Layer5.pptlect21-Layer5.ppt
lect21-Layer5.ppt
ClarityteamUtngn
 
Uptodate IP PBX System
Uptodate IP PBX System Uptodate IP PBX System
Uptodate IP PBX System
Guisun Han
 
A glance-at-voip
A glance-at-voipA glance-at-voip
A glance-at-voip
Nicola Marinelli
 
Sangoma SBC Training Presentation
Sangoma SBC Training PresentationSangoma SBC Training Presentation
Sangoma SBC Training Presentation
Empatiq İletişim Teknolojileri AŞ.
 
Positive Hack Days. Gritsai. VOIP insecurities workshop
Positive Hack Days. Gritsai. VOIP insecurities workshopPositive Hack Days. Gritsai. VOIP insecurities workshop
Positive Hack Days. Gritsai. VOIP insecurities workshop
Positive Hack Days
 
Application Visibility and Experience through Flexible Netflow
Application Visibility and Experience through Flexible NetflowApplication Visibility and Experience through Flexible Netflow
Application Visibility and Experience through Flexible Netflow
Cisco DevNet
 
SBC: Do I really need it?
SBC: Do I really need it?SBC: Do I really need it?
SBC: Do I really need it?
Bangladesh Network Operators Group
 
177732477-Voice-101.pdf
177732477-Voice-101.pdf177732477-Voice-101.pdf
177732477-Voice-101.pdf
MohamedShabana37
 
VoIP
VoIPVoIP

Similar to Tlc 004 - take a sip of sip (20)

Sip summary
Sip summarySip summary
Sip summary
 
The ssca® sip training program course outline
The ssca® sip training program   course outlineThe ssca® sip training program   course outline
The ssca® sip training program course outline
 
Sinnreich Henry Johnston Alan Pt 1
Sinnreich Henry Johnston Alan   Pt 1Sinnreich Henry Johnston Alan   Pt 1
Sinnreich Henry Johnston Alan Pt 1
 
Apple Facetime Protocol
Apple Facetime ProtocolApple Facetime Protocol
Apple Facetime Protocol
 
Squire Technologies: Media Gateway
Squire Technologies: Media GatewaySquire Technologies: Media Gateway
Squire Technologies: Media Gateway
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPAN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
 
VOIP
VOIPVOIP
VOIP
 
Indigo Product And Technology Overivew 2005
Indigo Product And Technology Overivew 2005 Indigo Product And Technology Overivew 2005
Indigo Product And Technology Overivew 2005
 
1 VoIP Overview[1]
1 VoIP Overview[1]1 VoIP Overview[1]
1 VoIP Overview[1]
 
1 Vo Ip Overview
1 Vo Ip Overview1 Vo Ip Overview
1 Vo Ip Overview
 
lect21-Layer5.ppt
lect21-Layer5.pptlect21-Layer5.ppt
lect21-Layer5.ppt
 
Uptodate IP PBX System
Uptodate IP PBX System Uptodate IP PBX System
Uptodate IP PBX System
 
Internet multimedia
Internet multimediaInternet multimedia
Internet multimedia
 
A glance-at-voip
A glance-at-voipA glance-at-voip
A glance-at-voip
 
Sangoma SBC Training Presentation
Sangoma SBC Training PresentationSangoma SBC Training Presentation
Sangoma SBC Training Presentation
 
Positive Hack Days. Gritsai. VOIP insecurities workshop
Positive Hack Days. Gritsai. VOIP insecurities workshopPositive Hack Days. Gritsai. VOIP insecurities workshop
Positive Hack Days. Gritsai. VOIP insecurities workshop
 
Application Visibility and Experience through Flexible Netflow
Application Visibility and Experience through Flexible NetflowApplication Visibility and Experience through Flexible Netflow
Application Visibility and Experience through Flexible Netflow
 
SBC: Do I really need it?
SBC: Do I really need it?SBC: Do I really need it?
SBC: Do I really need it?
 
177732477-Voice-101.pdf
177732477-Voice-101.pdf177732477-Voice-101.pdf
177732477-Voice-101.pdf
 
VoIP
VoIPVoIP
VoIP
 

Recently uploaded

Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Anthony Dahanne
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
IES VE
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 

Recently uploaded (20)

Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 

Tlc 004 - take a sip of sip

  • 1. Take a sip of SIP Paul Sarstiuc, Romeo Vidrascu, Marius Trestioreanu Bucharest 18 April 2016
  • 2. 2 SIP – Session Initiation Protocol  Content – VoIP – SIP History – SIP Architecture – Addressing SIP – SIP Messages – SIP Flow – WireShark and SIP Filters – SIP Flow – WireShark – Supplementary Services – SDP - WireShark
  • 3. 3 VoIP stereotypes  VoIP means free calls  SIP is a collection of protocols  SIP is better than H323  SIP is a voice signaling protocol
  • 4. 4 VoIP  VoIP – VoIP: Voice over Internet Protocol  IP Telephony  Internet Telephony  Voice over Broadband (VoBB)  Broadband Telephony  Broadband Phone – Alternative to PSTN – Single infrastructure for Data, Voice and Video – More demand for video conferences is easily satisfied with VoIP – Cost savings on long distance calls – Easier connectivity: customers are to be reached at multiple points under the same “telephone number” – Communication Services  Voice/Video  Fax  Voice/Messaging Application
  • 5. 5 VoIP  VoIP Protocols – SIP – Session Initiation Protocol – H.323 – IMS – IP Multimedia Subsystem – MGCP – Media Gateway Control Protocol – RTP – Real-time Transport Protocol – RTCP – Real-time Transport Control Protocol – SDP – Session Description Protocol – Skype Protocol (proprietary) – TCP – Transmission Control Protocol – UDP – User Datagram Protocol – TLS – Transport Layer Security
  • 7. 7 History  SIP History – Feb. 22, 1996 draft-ietf-mmusic-scip-00; IDMS paper – Feb. 22, 1996 draft-ietf-mmusic-sip-00 – Dec. 2, 1996 draft-ietf-mmusic-sip-01 – March 27, 1997 draft-ietf-mmusic-sip-02 – July 31, 1997 draft-ietf-mmusic-sip-03 – November 11, 1997 draft-ietf-mmusic-sip-04 – May 14, 1998 draft-ietf-mmusic-sip-05 – June 17, 1998 draft-ietf-mmusic-sip-06 – July 16, 1998 draft-ietf-mmusic-sip-07 – August 7, 1998 draft-ietf-mmusic-sip-08 – September 18, 1998 draft-ietf-mmusic-sip-09 – September 28, 1998 Last call – November 12, 1998 draft-ietf-mmusic-sip-10 – December 15, 1998 draft-ietf-mmusic-sip-11 – January 15, 1999 draft-ietf-mmusic-sip-12 – February 2, 1999 Approved – March 17, 1999 RFC 2543 – July 3, 2002 RFC 3261 (SIP: Session Initiation Protocol), RFC 3262 (Reliability of Provisional Responses in Session Initiation Protocol (SIP)), RFC 3263 (Session Initiation Protocol (SIP): Locating SIP Servers), RFC 3264 (An Offer/Answer Model with Session Description Protocol (SDP)), RFC 3265 (Session Initiation Protocol (SIP)-Specific Event Notification), RFC 3266 (Support for IPv6 in Session Description Protocol (SDP)) published
  • 8. 8 SIP Architecture  Network Elements: – UA – User Agent  UAC – User Agent Client [request]  UAS – User Agent Server [response] – Server Elements [RFC 3261]  Proxy Server [phone – proxy – proxy – phone]  Registrar [REGISTER]  Redirect Server [3XX] – Other Network Elements  SBC – Session Border Controller  Gateway
  • 10. 10 SIP addressing  URI – Uniform Resource Identifier  sip:username:password@host:port  E.g.: sip:John@sipgatedomain.org  Secure transmission – sips:… instead of sip:… – TLS – Transport Layer Security
  • 11. 11 SIP Messages  SIP Requests: – REGISTER – INVITE – ACK – CANCEL – BYE – OPTIONS – SUBSCRIBE – REFER – NOTIFY  SIP Responses: – Provisional (1xx) – Success (2xx) – Redirection (3xx) – Client Error (4xx) – Server Error (5xx) – Global Failure (6xx)
  • 12. 12 SIP Messages - REGISTER
  • 17. 17 SIP Messages - OPTIONS
  • 18. 18 SIP Messages – 100 Trying
  • 20. 20 SIP Messages – 401 Unauthorized
  • 21. 21 SIP Flow  Direct SIP Call Between 2 UAs
  • 22. 22 SIP Flow  Call via Proxy
  • 23. 23 SIP Flow  Call via Proxy with No Answer
  • 25. 25 WireShark and SIP Filters  Wireshark – Free, open-source packet analyzer – Network Troubleshooting and Analysis – Software and communications protocol development – Education.  Popular Filters: – sip – sdp – udp – tcp – rtp – sip.To – sip.to.addr
  • 26. 26 SIP Flow - WireShark  WireShark Capture
  • 27. 27 SIP Flow - WireShark  WireShark: Telephony – VoIP Calls – Flow
  • 28. 28 Supplementary Services – Call Hold – Call Transfer – Call Conference – Call Forwarding  on busy  no answer  unconditional
  • 33. 33 SDP - WireShark  Session Description Protocol Version - 0  Owner / Creator of the session or Owner / Creator. Identification is made by: – Owner username. User. – Session ID. ID of the session. Random number as a unique identifier of the session. – Session Version. Version. – Network Type. Tipe network. Always IN. – Address Type. It can be IP4 (IPv4) or IP 6 (IPv6). – Address (IP). IP Address. (200.57.7.197) – Session Name. Name of the session.  Connection Information: – C = Connection Type Network (IN) – Connection Address Type: (IP4 or IPv6) – Connection Address: (200.57.7.197)  Time Description, active time. (t): 0 0, start stop time = 0. [unrestricted and permanent session].  Media Description, name and address (m): audio 40376 RTP / AVP 4 0 8 18. Type of data being transported (audio or telephone session in this case), UDP port used (40 376), protocol used (Real Time Transport Protocol RTP / AVP Audio Video Profiles). Codecs formats: – 8 G.711 PCMA – 18 G.729 – 4 G.723 – 0 G.711 PCMU  Media Attribute (a). This is a list of format codes outlined above with data from Sample rate or sampling frequency, fieldname, etc.  Media Attribute (a). SendRecv. So send / receive.
  • 34. 34 Q & A Thank You !