SlideShare a Scribd company logo
1 of 24
What Michal knows about SIP?
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Brief introduction
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP from 10 KM
» What is SIP and how it works?
» SIP troubleshooting
» SIP Trunking
2
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
What is SIP?
» In the world of VoIP, SIP is a call setup protocol that operates at the
application layer.
» Designed to set up real-time multimedia sessions between groups
of participants. Can also be used to set up video and audio
multicast meetings, or instant messaging conferences.
» Calls (voice or video) between SIP users are free, worldwide. There
are no boundaries and no restrictive laws or charges.
» Contrasted with H.323, SIP is an exceedingly simple protocol.
» SIP Applications and SIP addresses are for FREE.
3
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
How SIP Works?
» You have to have SIP Address and Account (more details later)
» You have to have SIP Client (computer, mobile app, phone)
» You have to configure your SIP Client (via easy config wizard)
» You need a solid bandwidth – at least DSL connection
» You need to tell somebody else your SIP address 
4
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Credentials
» Set during SIP provider registration. Must contain “@”.
» User name has to be unique (ideally email).
» Example how SIP credentials may look like:
SIP address, e.g. Michal.Hrncirik@solarwinds.com
Password : e.g. NASYPMI
Username: e.g. Michal.Hrncirik@solarwinds.com
Domain/Realm: e.g. thatsipservice.info
Outbound proxy: e.g. proxy.proksi.com
XCAP root: https://xcap.proksi.com/xcap-root
5
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Structure of SIP Address
» SIP:user@domain:port
» “user” – letters or a number
» “@” is mandatory! Splits user and domain.
» “domain” – service you are registering with. Could be name or
IP Address
» “port” – is optional. Defines access on a proxy server.
6
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Let’s make a call!
» We are set now, we have SIP Address and configured client!
7
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Functions of SIP
User location and registration End points (telephones) notify SIP proxies of their
location; SIP determines which end points will
participate in a call.
User availability SIP is used by end points to determine whether they
will “answer” a call.
User capabilities SIP is used by end points to negotiate media
capabilities, such as agreeing on a mutually supported
voice codec.
Session setup SIP tells the end point that its phone should be
“ringing;” SIP is used to agree on session attributes
used by the calling and called party.
Session management SIP is used to transfer calls, terminate calls, and change
call parameters in mid-session (such as adding a 3-way
conference).
8
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Protocol Methods
» REGISTER – registration of caller on a SIP Proxy server
» INVITE – starts communication about scheduled relation
» ACK – start of new relation
» CANCEL – interrupt of initialization before its actual start
» BYE – ends relation
» OPTIONS – ask for attributes of call participants
9
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP connection flow
10
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP error codes
» 1xx – initiating, step continuing OK but it hasn’t finished yet
» 2xx – success, step has been finished without issues
» 3xx – redirect, step is in progress but it’s awaiting some data
» 4xx – client error, request failed, server can’t process it
» 5xx – server error, client request OK, server problem
» 6xx – fatal error, completely fatal error can’t be processed.
11
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Good to know about SIP
» Purely text based (easy to debug and get error codes!)
» Can run over IPv4 and IPv6
» Can use both TCP or UDP (very likely IPv4 over UDP)
» SIP devices can talk to each other directly (but proxy is 99%)
» SIP proxy deals only with “messaging”. Doesn’t transfer call.
» SIP proxy makes client implementation easier (translation of
extension into SIP address – IP + location and type of device).
» Proxy CAN provide mid-call features: conferencing, accounting
» SIP dos NOT do call control features – voice mail, auto-
attendant. This is feature of end-points.
12
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
After SIP deployment
Woaa! I made a SIP call and before an hour I didn’t even know I
can do it from my network!
13
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Typical SIP problems after deployment
Poor audio quality or user cant’ connect
1) Interoperability – various vendors problem. Basic connection
2) Codec Negotiation – codec support by end-points
3) Slow Error Recovery – UDP effect
4) No Conference control – has to have SIP server/PBX
5) Others:
» Echo on call, Registration is dropping, Timeouts
» Incoming call doesn’t hear you
» Incorrect server settings, Wrong username/password
» DNS and network issues – check your routers accessibility
» Firewall – SIP ALG rules, ISP issues
14
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Troubleshooting - connection
» SIP connection and RTP – use Wireshark (use VoIP Calls view)
» Various reasons – format of options, codec issue. But it’s easy
to read.
15
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Troubleshooting - quality
» Focus on RTP data (example with wireshark)
» Get the codec used
» Select “RTP-Stream analysis” from Wireshark menu. Check
Jitter, packet loss. Eliminate network issue vs. hardware.
16
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Call reconstruction – Wireskark in action
17
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Trunking is what companies care about
18
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Trunking – what it is?
» Using SIP for delivery Unified Communication services to the
customer (voice, video, desktop sharing, etc.)
» VoIP over “shared” wire
» Save $$$ comparing to PSTN telephony.
» Easy switch – keep your PBX
19
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
3 Typical problems
» Trunks dropping intermittently is a provider problem. If it happens consistently, check
with the provider first before approaching the IP PBX or SBC vendors.
» One-way audio is most likely a configuration issue, poor data entry, or just plain
negligence. It could be a misconfiguration in the IP PBX, SBC, or at the trunk provider.
» Poor voice quality created by latency, jitter or packet loss may be the result of not
enough trunk bandwidth being allocated.
» These are three less likely issues:
 Codec mismatch is a configuration problem that can occur in the IP PBX, SBC or at the provider’s site.
 Trunk registration failures are a provider support issue.
 No audio is probably another configuration issue. It can be in the IP PBX, SBC or at the provider site.
» The least common issues are:
 ITSP SIP server failures are the provider’s responsibility to prevent.
 Incoming call transfer failure is another provider responsibility to ensure works properly.
 Call conferencing with an external caller failing is another provider responsibility to resolve.
20
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Trunking problems (survey 850 WW resp.)
21
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
Example of failures
» Use 'debug ccsip messages'. (leverage CUBE to do it)
» Session protocol UDP. INVITE from CUCM, No Offer SDP in
INVITE. It means Delayed Offer, in case of Early Offer SDP is
included in INVITE.
» Delayed Offer. Offer SDP in 200 from remote site. Answer SDP
in the following ACK from CUCM
22
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP Trunk Monitoring
» Identify top failures mentioned above.
» Volume of calls per SIP trunk in a time (spikes).
» Pair the call with the SIP trunk ID – for provider reference.
23
# of Phones
SIP Trunks
Needed
2 4
5 6
10 6
25 12
50 23
100 30
© 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED.
SIP & how to do it?
» Q & A
24

More Related Content

What's hot

SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolLivePerson
 
Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)William Lee
 
Session Initiation Protocol - In depth analysis
Session Initiation Protocol - In depth analysisSession Initiation Protocol - In depth analysis
Session Initiation Protocol - In depth analysischinmaypadhye1985
 
VoLTE Interfaces , Protocols & IMS Stack Explained
VoLTE Interfaces , Protocols & IMS Stack ExplainedVoLTE Interfaces , Protocols & IMS Stack Explained
VoLTE Interfaces , Protocols & IMS Stack ExplainedVikas Shokeen
 
IMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentationIMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentationWaldir R. Pires Jr
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)habib_786
 
Philippe Langlois - Hacking HLR HSS and MME core network elements
Philippe Langlois - Hacking HLR HSS and MME core network elementsPhilippe Langlois - Hacking HLR HSS and MME core network elements
Philippe Langlois - Hacking HLR HSS and MME core network elementsP1Security
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation ProtocolMatt Bynum
 
IMS Registration Flow
IMS Registration FlowIMS Registration Flow
IMS Registration FlowKent Loh
 
VoLTE Interfaces , Protocols & IMS Stack
VoLTE Interfaces , Protocols & IMS StackVoLTE Interfaces , Protocols & IMS Stack
VoLTE Interfaces , Protocols & IMS StackVikas Shokeen
 
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...Vikas Shokeen
 
Ims, Ip Multimedia System
Ims, Ip Multimedia SystemIms, Ip Multimedia System
Ims, Ip Multimedia Systemmanymbaboy
 
Voip powerpoint
Voip powerpointVoip powerpoint
Voip powerpointGW1992
 
ims registration call flow procedure volte sip
ims registration call flow procedure volte sipims registration call flow procedure volte sip
ims registration call flow procedure volte sipVikas Shokeen
 

What's hot (20)

SIP - Introduction to SIP Protocol
SIP - Introduction to SIP ProtocolSIP - Introduction to SIP Protocol
SIP - Introduction to SIP Protocol
 
Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)Introduction to SIP(Session Initiation Protocol)
Introduction to SIP(Session Initiation Protocol)
 
Sip architecture
Sip architectureSip architecture
Sip architecture
 
Session Initiation Protocol - In depth analysis
Session Initiation Protocol - In depth analysisSession Initiation Protocol - In depth analysis
Session Initiation Protocol - In depth analysis
 
VoLTE Interfaces , Protocols & IMS Stack Explained
VoLTE Interfaces , Protocols & IMS Stack ExplainedVoLTE Interfaces , Protocols & IMS Stack Explained
VoLTE Interfaces , Protocols & IMS Stack Explained
 
IMS + VoLTE Overview
IMS + VoLTE OverviewIMS + VoLTE Overview
IMS + VoLTE Overview
 
IMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentationIMS IP multimedia subsystem presentation
IMS IP multimedia subsystem presentation
 
Voice Over IP (VoIP)
Voice Over IP (VoIP)Voice Over IP (VoIP)
Voice Over IP (VoIP)
 
Philippe Langlois - Hacking HLR HSS and MME core network elements
Philippe Langlois - Hacking HLR HSS and MME core network elementsPhilippe Langlois - Hacking HLR HSS and MME core network elements
Philippe Langlois - Hacking HLR HSS and MME core network elements
 
Session Initiation Protocol
Session Initiation ProtocolSession Initiation Protocol
Session Initiation Protocol
 
IMS Registration Flow
IMS Registration FlowIMS Registration Flow
IMS Registration Flow
 
IMS Standards
IMS  StandardsIMS  Standards
IMS Standards
 
VoLTE Interfaces , Protocols & IMS Stack
VoLTE Interfaces , Protocols & IMS StackVoLTE Interfaces , Protocols & IMS Stack
VoLTE Interfaces , Protocols & IMS Stack
 
VOIP
VOIPVOIP
VOIP
 
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
volte call flow - SIP IMS Call Flow - MO and MT Call - Volte Mobile originati...
 
Ims, Ip Multimedia System
Ims, Ip Multimedia SystemIms, Ip Multimedia System
Ims, Ip Multimedia System
 
Voip
VoipVoip
Voip
 
3GPP IMS
3GPP IMS3GPP IMS
3GPP IMS
 
Voip powerpoint
Voip powerpointVoip powerpoint
Voip powerpoint
 
ims registration call flow procedure volte sip
ims registration call flow procedure volte sipims registration call flow procedure volte sip
ims registration call flow procedure volte sip
 

Similar to Introduction into SIP protocol

1 Vo Ip Overview
1 Vo Ip Overview1 Vo Ip Overview
1 Vo Ip OverviewMayank Vora
 
1 Vo I P Overview
1  Vo I P  Overview1  Vo I P  Overview
1 Vo I P OverviewMayank Vora
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionOlle E Johansson
 
VoIP Monitoring and Troubleshooting
VoIP Monitoring and TroubleshootingVoIP Monitoring and Troubleshooting
VoIP Monitoring and TroubleshootingThousandEyes
 
1 VoIP Overview[1]
1 VoIP Overview[1]1 VoIP Overview[1]
1 VoIP Overview[1]William Giba
 
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 (VOIPSean Flores
 
Understanding VoIP - 1
Understanding VoIP - 1Understanding VoIP - 1
Understanding VoIP - 1Adebayo Ojo
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsOlle E Johansson
 
Workshop web rtc customers and use cases
Workshop web rtc customers and use casesWorkshop web rtc customers and use cases
Workshop web rtc customers and use casesDouglas Tait
 
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...SolarWinds
 
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...SolarWinds
 
PLNOG 4: Ido Miran - Service Provider Class 5 VoIP - An Integrated Approach
PLNOG 4: Ido Miran - Service Provider Class 5 VoIP - An Integrated ApproachPLNOG 4: Ido Miran - Service Provider Class 5 VoIP - An Integrated Approach
PLNOG 4: Ido Miran - Service Provider Class 5 VoIP - An Integrated ApproachPROIDEA
 
8 the path to voice over lte - vo lte
8 the path to voice over lte - vo lte8 the path to voice over lte - vo lte
8 the path to voice over lte - vo lteCPqD
 
Open mic mediaarchitecture_121113
Open mic mediaarchitecture_121113Open mic mediaarchitecture_121113
Open mic mediaarchitecture_121113a8us
 

Similar to Introduction into SIP protocol (20)

1 Vo Ip Overview
1 Vo Ip Overview1 Vo Ip Overview
1 Vo Ip Overview
 
1 Vo I P Overview
1  Vo I P  Overview1  Vo I P  Overview
1 Vo I P Overview
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick Introduction
 
VoIP Monitoring and Troubleshooting
VoIP Monitoring and TroubleshootingVoIP Monitoring and Troubleshooting
VoIP Monitoring and Troubleshooting
 
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
 
Vo ip sip
Vo ip sipVo ip sip
Vo ip sip
 
Sip
SipSip
Sip
 
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
 
Understanding VoIP - 1
Understanding VoIP - 1Understanding VoIP - 1
Understanding VoIP - 1
 
Sangoma SBC Training Presentation
Sangoma SBC Training PresentationSangoma SBC Training Presentation
Sangoma SBC Training Presentation
 
2012 ah vegas wlan security fundamentals
2012 ah vegas   wlan security fundamentals2012 ah vegas   wlan security fundamentals
2012 ah vegas wlan security fundamentals
 
Astricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installationsAstricon 2010: Scaling Asterisk installations
Astricon 2010: Scaling Asterisk installations
 
Workshop web rtc customers and use cases
Workshop web rtc customers and use casesWorkshop web rtc customers and use cases
Workshop web rtc customers and use cases
 
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
 
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
NetFlow Best Practices - Tips and Tricks to Get the Most Out of Your Network ...
 
Introduction To SIP
Introduction  To  SIPIntroduction  To  SIP
Introduction To SIP
 
PLNOG 4: Ido Miran - Service Provider Class 5 VoIP - An Integrated Approach
PLNOG 4: Ido Miran - Service Provider Class 5 VoIP - An Integrated ApproachPLNOG 4: Ido Miran - Service Provider Class 5 VoIP - An Integrated Approach
PLNOG 4: Ido Miran - Service Provider Class 5 VoIP - An Integrated Approach
 
8 the path to voice over lte - vo lte
8 the path to voice over lte - vo lte8 the path to voice over lte - vo lte
8 the path to voice over lte - vo lte
 
Open mic mediaarchitecture_121113
Open mic mediaarchitecture_121113Open mic mediaarchitecture_121113
Open mic mediaarchitecture_121113
 

More from Michal Hrncirik

SolarWinds NPM at Cisco Live! 2013
SolarWinds NPM at Cisco Live! 2013SolarWinds NPM at Cisco Live! 2013
SolarWinds NPM at Cisco Live! 2013Michal Hrncirik
 
How to choose the right IPAM for your organization final
How to choose the right IPAM for your organization finalHow to choose the right IPAM for your organization final
How to choose the right IPAM for your organization finalMichal Hrncirik
 
Network complexity with SolarWinds NPM and IPAM
Network complexity with SolarWinds NPM and IPAMNetwork complexity with SolarWinds NPM and IPAM
Network complexity with SolarWinds NPM and IPAMMichal Hrncirik
 
Solarwinds NPM 10.5 webcast
Solarwinds NPM 10.5 webcastSolarwinds NPM 10.5 webcast
Solarwinds NPM 10.5 webcastMichal Hrncirik
 
Thwack camp 2013 news from npm nta vnqm toolset ntm latest
Thwack camp 2013 news from npm nta vnqm toolset ntm latestThwack camp 2013 news from npm nta vnqm toolset ntm latest
Thwack camp 2013 news from npm nta vnqm toolset ntm latestMichal Hrncirik
 
Agilia product management at SW
Agilia product management at SWAgilia product management at SW
Agilia product management at SWMichal Hrncirik
 

More from Michal Hrncirik (7)

SolarWinds NPM at Cisco Live! 2013
SolarWinds NPM at Cisco Live! 2013SolarWinds NPM at Cisco Live! 2013
SolarWinds NPM at Cisco Live! 2013
 
IP Address Conflict
IP Address ConflictIP Address Conflict
IP Address Conflict
 
How to choose the right IPAM for your organization final
How to choose the right IPAM for your organization finalHow to choose the right IPAM for your organization final
How to choose the right IPAM for your organization final
 
Network complexity with SolarWinds NPM and IPAM
Network complexity with SolarWinds NPM and IPAMNetwork complexity with SolarWinds NPM and IPAM
Network complexity with SolarWinds NPM and IPAM
 
Solarwinds NPM 10.5 webcast
Solarwinds NPM 10.5 webcastSolarwinds NPM 10.5 webcast
Solarwinds NPM 10.5 webcast
 
Thwack camp 2013 news from npm nta vnqm toolset ntm latest
Thwack camp 2013 news from npm nta vnqm toolset ntm latestThwack camp 2013 news from npm nta vnqm toolset ntm latest
Thwack camp 2013 news from npm nta vnqm toolset ntm latest
 
Agilia product management at SW
Agilia product management at SWAgilia product management at SW
Agilia product management at SW
 

Recently uploaded

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...Nitya salvi
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is insideshinachiaurasa2
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 

Recently uploaded (20)

Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

Introduction into SIP protocol

  • 1. What Michal knows about SIP? © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Brief introduction
  • 2. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP from 10 KM » What is SIP and how it works? » SIP troubleshooting » SIP Trunking 2
  • 3. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. What is SIP? » In the world of VoIP, SIP is a call setup protocol that operates at the application layer. » Designed to set up real-time multimedia sessions between groups of participants. Can also be used to set up video and audio multicast meetings, or instant messaging conferences. » Calls (voice or video) between SIP users are free, worldwide. There are no boundaries and no restrictive laws or charges. » Contrasted with H.323, SIP is an exceedingly simple protocol. » SIP Applications and SIP addresses are for FREE. 3
  • 4. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. How SIP Works? » You have to have SIP Address and Account (more details later) » You have to have SIP Client (computer, mobile app, phone) » You have to configure your SIP Client (via easy config wizard) » You need a solid bandwidth – at least DSL connection » You need to tell somebody else your SIP address  4
  • 5. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Credentials » Set during SIP provider registration. Must contain “@”. » User name has to be unique (ideally email). » Example how SIP credentials may look like: SIP address, e.g. Michal.Hrncirik@solarwinds.com Password : e.g. NASYPMI Username: e.g. Michal.Hrncirik@solarwinds.com Domain/Realm: e.g. thatsipservice.info Outbound proxy: e.g. proxy.proksi.com XCAP root: https://xcap.proksi.com/xcap-root 5
  • 6. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Structure of SIP Address » SIP:user@domain:port » “user” – letters or a number » “@” is mandatory! Splits user and domain. » “domain” – service you are registering with. Could be name or IP Address » “port” – is optional. Defines access on a proxy server. 6
  • 7. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Let’s make a call! » We are set now, we have SIP Address and configured client! 7
  • 8. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Functions of SIP User location and registration End points (telephones) notify SIP proxies of their location; SIP determines which end points will participate in a call. User availability SIP is used by end points to determine whether they will “answer” a call. User capabilities SIP is used by end points to negotiate media capabilities, such as agreeing on a mutually supported voice codec. Session setup SIP tells the end point that its phone should be “ringing;” SIP is used to agree on session attributes used by the calling and called party. Session management SIP is used to transfer calls, terminate calls, and change call parameters in mid-session (such as adding a 3-way conference). 8
  • 9. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Protocol Methods » REGISTER – registration of caller on a SIP Proxy server » INVITE – starts communication about scheduled relation » ACK – start of new relation » CANCEL – interrupt of initialization before its actual start » BYE – ends relation » OPTIONS – ask for attributes of call participants 9
  • 10. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP connection flow 10
  • 11. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP error codes » 1xx – initiating, step continuing OK but it hasn’t finished yet » 2xx – success, step has been finished without issues » 3xx – redirect, step is in progress but it’s awaiting some data » 4xx – client error, request failed, server can’t process it » 5xx – server error, client request OK, server problem » 6xx – fatal error, completely fatal error can’t be processed. 11
  • 12. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Good to know about SIP » Purely text based (easy to debug and get error codes!) » Can run over IPv4 and IPv6 » Can use both TCP or UDP (very likely IPv4 over UDP) » SIP devices can talk to each other directly (but proxy is 99%) » SIP proxy deals only with “messaging”. Doesn’t transfer call. » SIP proxy makes client implementation easier (translation of extension into SIP address – IP + location and type of device). » Proxy CAN provide mid-call features: conferencing, accounting » SIP dos NOT do call control features – voice mail, auto- attendant. This is feature of end-points. 12
  • 13. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. After SIP deployment Woaa! I made a SIP call and before an hour I didn’t even know I can do it from my network! 13
  • 14. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Typical SIP problems after deployment Poor audio quality or user cant’ connect 1) Interoperability – various vendors problem. Basic connection 2) Codec Negotiation – codec support by end-points 3) Slow Error Recovery – UDP effect 4) No Conference control – has to have SIP server/PBX 5) Others: » Echo on call, Registration is dropping, Timeouts » Incoming call doesn’t hear you » Incorrect server settings, Wrong username/password » DNS and network issues – check your routers accessibility » Firewall – SIP ALG rules, ISP issues 14
  • 15. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Troubleshooting - connection » SIP connection and RTP – use Wireshark (use VoIP Calls view) » Various reasons – format of options, codec issue. But it’s easy to read. 15
  • 16. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Troubleshooting - quality » Focus on RTP data (example with wireshark) » Get the codec used » Select “RTP-Stream analysis” from Wireshark menu. Check Jitter, packet loss. Eliminate network issue vs. hardware. 16
  • 17. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Call reconstruction – Wireskark in action 17
  • 18. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Trunking is what companies care about 18
  • 19. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Trunking – what it is? » Using SIP for delivery Unified Communication services to the customer (voice, video, desktop sharing, etc.) » VoIP over “shared” wire » Save $$$ comparing to PSTN telephony. » Easy switch – keep your PBX 19
  • 20. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. 3 Typical problems » Trunks dropping intermittently is a provider problem. If it happens consistently, check with the provider first before approaching the IP PBX or SBC vendors. » One-way audio is most likely a configuration issue, poor data entry, or just plain negligence. It could be a misconfiguration in the IP PBX, SBC, or at the trunk provider. » Poor voice quality created by latency, jitter or packet loss may be the result of not enough trunk bandwidth being allocated. » These are three less likely issues:  Codec mismatch is a configuration problem that can occur in the IP PBX, SBC or at the provider’s site.  Trunk registration failures are a provider support issue.  No audio is probably another configuration issue. It can be in the IP PBX, SBC or at the provider site. » The least common issues are:  ITSP SIP server failures are the provider’s responsibility to prevent.  Incoming call transfer failure is another provider responsibility to ensure works properly.  Call conferencing with an external caller failing is another provider responsibility to resolve. 20
  • 21. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Trunking problems (survey 850 WW resp.) 21
  • 22. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. Example of failures » Use 'debug ccsip messages'. (leverage CUBE to do it) » Session protocol UDP. INVITE from CUCM, No Offer SDP in INVITE. It means Delayed Offer, in case of Early Offer SDP is included in INVITE. » Delayed Offer. Offer SDP in 200 from remote site. Answer SDP in the following ACK from CUCM 22
  • 23. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP Trunk Monitoring » Identify top failures mentioned above. » Volume of calls per SIP trunk in a time (spikes). » Pair the call with the SIP trunk ID – for provider reference. 23 # of Phones SIP Trunks Needed 2 4 5 6 10 6 25 12 50 23 100 30
  • 24. © 2012 SOLARWINDS WORLDWIDE, LLC. ALL RIGHTS RESERVED. SIP & how to do it? » Q & A 24