SlideShare a Scribd company logo
1 of 2
Download to read offline
SIP Marcelo Zanata
Components
UA (User Agent) – any endpoint.
UAC (User Agent Client) – UA that initialize the call
UAS (User Agent Server) – UA that receive the call
Proxy Server – Do call routing, authentication, authorization, address resolution, loop detection. This can
stay int he signaling path or not.
Redirect Server – UA and Proxy can contact it and get the response with one or more address for the user.
Cisco Router can act as it.
Registrar Server – Keeps track of current location of UA. IOS and CCM can do it.
Location Server – maintains the location database of UA
B2BUA (Back-to-back User Agent) – a server acting as UAS and UAC at the same-time, re-initializing the
call. CCM can be SIP B2BUA.
Presence Server – gather presence form Presentities and subscribe information from Watchers
Methods
Cisco gateways can send and receive:
REGISTER: A UA client sends this message to inform a SIP server of its location.
INVITE: A caller sends this message to request that another endpoint join a SIP session, such as a
conference or a call. This message can also be sent during a call to change session parameters.
ACK: A SIP UA can receive several responses to an INVITE. This method acknowledges the final response to
the INVITE.
CANCEL: This message ends a call that has not yet been fully established.
OPTIONS: This message queries the capabilities of a server. Cisco gateways receive these methods only.
BYE: This message ends a session or declines to take a call.
Cisco gateway do not generate:
INFO: This message is used when data is carried within the message body.
PRACK: This message acknowledges receipt of a provisional, or informational, response to a request.
REFER This message points to another address to initiate a transfer.
SUBSCRIBE This message lets the server know that you want to be notified if a specific event happens.
NOTIFY This message lets the subscriber know that a specified event has occurred. It can also transmit dual
tone multifrequency (DTMF) tones.
UPDATE A UAC uses this to change the session parameters, such as codec used or quality of service (QoS)
settings, before answering the initial INVITE.
SDP fields
v: Tells the SDP version
o: Lists the organization of the calling party
s: Describes the SDP message
c: Lists the IP address of the originator
t: Tells the timer value
m: Describes the media that the originator expects
a: Gives the media attributes
DTMF Relay
Named Telephony Events (RFC2833) – RTP Packets with a different type field (In-band)
Key Press Markup Language (KPML) – SIP Subscriber messages with DTMF in XML like format (OOB)
Unsolicited Notify (UN) – SIP Notify messages and without SIP Subscribe (OOB)
Cisco RTP – RTP Packets with a different type field.
Call flow with multiple servers
Other details
Default Ports: 5060 TCP/UDP / TLS: 5061
Plain-Text messages
Sip address is called URI = uniform resource identifier
SIP Dialplan considerations
The default behavior of SIP Phone is compare digits to the internal dial plan. When have a match, its sends
an INVITE.
When you use KPML (Key Press Markup Language), the SIP phone sends each digit to CCM that can instruct
the phone what do or route the call.
Error Codes
Class of Response Code Explanation
Informational/
provisional
100 Trying
180 Ringing
181 Call is being forwarded
182 Queued
183 Session Progress
Success 200 OK
Redirection 300 Multiple Choices
301 Moved Permanently
302 Moved Temporarily
305 Use Proxy
380 Alternative Service
Client-Error 400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Auth Required
408 Request Timeout
410 Gone
413 Request Entity Too Large
414 Requested URL Too Large
415 Unsupported Media Type
416 Unsupported URI Scheme
420 Bad Extension
421 Extension Required
423 Interval Too Brief
480 Temporarily Not Available
481 Transaction Does Not Exist
482 Loop Detected
483 Too Many Hops
484 Address Incomplete
485 Ambiguous
486 Busy Here
487 Request Terminated
488 Not Acceptable Here
491 Request Pending
493 Undecipherable
Server-error 500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Server Timeout
505 SIP Version Not Supported
513 Message Too Large
Global failure 600 Busy Everywhere
603 Decline
604 Does Not Exist Anywhere
606 Not Acceptable
Dialpeer configuration
dial-peer voice 3401 voip
session target ipv4:10.6.2.1
session protocol sipv2
session transport tcp
!
dial-peer voice 4404 voip
session target sip-server
session protocol sipv2
voice-class sip transpor switch udp tcp
destination-pattern 4404...
“voice-class sip transport switch udp tcp” switch from
UDP to TCP when a packet gets within 200 bytes of
the MTU to avoid UDP fragmentation.
SIP UA commands
sip-ua
registrar ipv4:10.30.25.250 tcp
registrar ipv4:10.30.25.251 tcp secon
sip-server ipv4:10.30.25.252
max-forwards 10
no transport udp
SIP Voice Service commands
voice service voip
redirect ip2ip
sip
bind control source-interface lo0
registrar server exp max 1500 min 500
SIP Marcelo Zanata
Early Offer Delayed Offer Early Media
Call flow between two gateways
PBX GWA GWB PBX
Setup 
INVITE 
Setup 
 Call Proceeding
 100 Trying
 Call Proceeding
 Alerting
 180 Ringing
 Alerting
 Connect
 200 OK
 Connect
Connect Ack 
ACK 
Connect Ack 
 Voice   RTP   Voice 
Disconnect 
BYE 
 Release Disconnect 
 Release
 200 OK
Release Complete  Release Complete 
Call Flow using a Proxy Server
Endpoint SIP Proxy GW-B PBX
Setup 
INVITE 
Setup 
 100 Trying
 100 Trying
 Call Proceeding
 Alerting
 180 Ringing
 180 Ringing
 Connect
 200 OK
 200 OK
ACK 
Connect Ack 
 RTP   Voice 
BYE 
Disconnect 
 Release
 200 OK
Release Complete 
Callmanager acting as B2BUA
SIP Phone CCM GW-B
INVITE, with SDP 
 100 Trying
INVITE 
 183 Session Progress, with SDP
 Session Progress, with SDP
 200 OK, with SDP
ACK, with SDP 
 200 OK, with SDP
ACK 
 RTP 
 BYE
200 OK 
 BYE
200 OK 

More Related Content

What's hot

Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.abhishek bhandare
 
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntpCCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntpFaisal Khan
 
Logger Forwarding Connector for HPE OM Configuration Guide 7.1.7.7611.0
Logger Forwarding Connector for HPE OM Configuration Guide 7.1.7.7611.0	Logger Forwarding Connector for HPE OM Configuration Guide 7.1.7.7611.0
Logger Forwarding Connector for HPE OM Configuration Guide 7.1.7.7611.0 Protect724manoj
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocolgueste98b36
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol AMahmmoud Mahdi
 
Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP ThousandEyes
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configurationUttamAgarwal9
 

What's hot (20)

Cisco IP Phones
Cisco IP PhonesCisco IP Phones
Cisco IP Phones
 
Introduction to SIP
Introduction to SIP  Introduction to SIP
Introduction to SIP
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
Dhcp
DhcpDhcp
Dhcp
 
IP and VoIP Fundamentals
IP and VoIP FundamentalsIP and VoIP Fundamentals
IP and VoIP Fundamentals
 
Linux05 DHCP Server
Linux05 DHCP ServerLinux05 DHCP Server
Linux05 DHCP Server
 
Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.Basics about IP address, DNS and DHCP.
Basics about IP address, DNS and DHCP.
 
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntpCCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
 
Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
Sip
SipSip
Sip
 
Dhcp
DhcpDhcp
Dhcp
 
Wintel ppt for dhcp
Wintel ppt for dhcpWintel ppt for dhcp
Wintel ppt for dhcp
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
Dhcp
DhcpDhcp
Dhcp
 
Logger Forwarding Connector for HPE OM Configuration Guide 7.1.7.7611.0
Logger Forwarding Connector for HPE OM Configuration Guide 7.1.7.7611.0	Logger Forwarding Connector for HPE OM Configuration Guide 7.1.7.7611.0
Logger Forwarding Connector for HPE OM Configuration Guide 7.1.7.7611.0
 
Dynamic Host Configuration Protocol
Dynamic Host Configuration ProtocolDynamic Host Configuration Protocol
Dynamic Host Configuration Protocol
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP Introduction to VoIP, RTP and SIP
Introduction to VoIP, RTP and SIP
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
 
DHCP Protocol
DHCP ProtocolDHCP Protocol
DHCP Protocol
 

Similar to SIP Components, Methods, and Call Flows

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 workshopPositive Hack Days
 
VoIP on LTE -packet Filter
VoIP on LTE -packet FilterVoIP on LTE -packet Filter
VoIP on LTE -packet Filterraj_naveen
 
Session initiation protocol SIP
Session initiation protocol SIPSession initiation protocol SIP
Session initiation protocol SIPLaraib Khan
 
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...Vikas Shokeen
 
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdfD04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdfElyDaliman
 
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overviewCCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overviewFaisal Khan
 
Introduction to VoIP using SIP
Introduction to VoIP using SIPIntroduction to VoIP using SIP
Introduction to VoIP using SIPKundan Singh
 
Apple Facetime Protocol
Apple Facetime ProtocolApple Facetime Protocol
Apple Facetime Protocolkshitijmehta23
 
3CX Basic Notes
3CX Basic Notes3CX Basic Notes
3CX Basic Noteskriz5
 
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP PhonesMatrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP PhonesMatrix Comsec
 
Sinnreich Henry Johnston Alan Pt 3
Sinnreich Henry Johnston Alan   Pt 3Sinnreich Henry Johnston Alan   Pt 3
Sinnreich Henry Johnston Alan Pt 3Carl Ford
 
1 VoIP Overview[1]
1 VoIP Overview[1]1 VoIP Overview[1]
1 VoIP Overview[1]William Giba
 
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
 
VoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP CommunicatorVoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP Communicatorchinmaypadhye1985
 
Matrix sapex ip pbx-presentation
Matrix sapex ip pbx-presentationMatrix sapex ip pbx-presentation
Matrix sapex ip pbx-presentationmatrixtelesol
 

Similar to SIP Components, Methods, and Call Flows (20)

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
 
VoIP on LTE -packet Filter
VoIP on LTE -packet FilterVoIP on LTE -packet Filter
VoIP on LTE -packet Filter
 
Indroduction to SIP
Indroduction to SIPIndroduction to SIP
Indroduction to SIP
 
Session initiation protocol SIP
Session initiation protocol SIPSession initiation protocol SIP
Session initiation protocol SIP
 
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
End to End volte ims sip call flow Guide - Mobile originating and Mobile term...
 
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdfD04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
D04.VoLTE SIP Call Flow – Mobile Originating (MO) & Terminating (MT).pdf
 
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overviewCCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
 
Sip crash course
Sip crash courseSip crash course
Sip crash course
 
lect21-Layer5.ppt
lect21-Layer5.pptlect21-Layer5.ppt
lect21-Layer5.ppt
 
Introduction to VoIP using SIP
Introduction to VoIP using SIPIntroduction to VoIP using SIP
Introduction to VoIP using SIP
 
Apple Facetime Protocol
Apple Facetime ProtocolApple Facetime Protocol
Apple Facetime Protocol
 
3CX Basic Notes
3CX Basic Notes3CX Basic Notes
3CX Basic Notes
 
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP PhonesMatrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
Matrix Telecom Solutions: SPARSH VP248 - Feature-rich SIP Phones
 
Sinnreich Henry Johnston Alan Pt 3
Sinnreich Henry Johnston Alan   Pt 3Sinnreich Henry Johnston Alan   Pt 3
Sinnreich Henry Johnston Alan Pt 3
 
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
 
Matrix sapex ip pbx-presentation
Matrix sapex ip pbx-presentationMatrix sapex ip pbx-presentation
Matrix sapex ip pbx-presentation
 
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...
 
VoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP CommunicatorVoIP - Cisco CME & IP Communicator
VoIP - Cisco CME & IP Communicator
 
Matrix sapex ip pbx-presentation
Matrix sapex ip pbx-presentationMatrix sapex ip pbx-presentation
Matrix sapex ip pbx-presentation
 

Recently uploaded

VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationBoston Institute of Analytics
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknowmakika9823
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxTanveerAhmed817946
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 

Recently uploaded (20)

VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Predicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project PresentationPredicting Employee Churn: A Data-Driven Approach Project Presentation
Predicting Employee Churn: A Data-Driven Approach Project Presentation
 
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service LucknowAminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
Aminabad Call Girl Agent 9548273370 , Call Girls Service Lucknow
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
Digi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptxDigi Khata Problem along complete plan.pptx
Digi Khata Problem along complete plan.pptx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 

SIP Components, Methods, and Call Flows

  • 1. SIP Marcelo Zanata Components UA (User Agent) – any endpoint. UAC (User Agent Client) – UA that initialize the call UAS (User Agent Server) – UA that receive the call Proxy Server – Do call routing, authentication, authorization, address resolution, loop detection. This can stay int he signaling path or not. Redirect Server – UA and Proxy can contact it and get the response with one or more address for the user. Cisco Router can act as it. Registrar Server – Keeps track of current location of UA. IOS and CCM can do it. Location Server – maintains the location database of UA B2BUA (Back-to-back User Agent) – a server acting as UAS and UAC at the same-time, re-initializing the call. CCM can be SIP B2BUA. Presence Server – gather presence form Presentities and subscribe information from Watchers Methods Cisco gateways can send and receive: REGISTER: A UA client sends this message to inform a SIP server of its location. INVITE: A caller sends this message to request that another endpoint join a SIP session, such as a conference or a call. This message can also be sent during a call to change session parameters. ACK: A SIP UA can receive several responses to an INVITE. This method acknowledges the final response to the INVITE. CANCEL: This message ends a call that has not yet been fully established. OPTIONS: This message queries the capabilities of a server. Cisco gateways receive these methods only. BYE: This message ends a session or declines to take a call. Cisco gateway do not generate: INFO: This message is used when data is carried within the message body. PRACK: This message acknowledges receipt of a provisional, or informational, response to a request. REFER This message points to another address to initiate a transfer. SUBSCRIBE This message lets the server know that you want to be notified if a specific event happens. NOTIFY This message lets the subscriber know that a specified event has occurred. It can also transmit dual tone multifrequency (DTMF) tones. UPDATE A UAC uses this to change the session parameters, such as codec used or quality of service (QoS) settings, before answering the initial INVITE. SDP fields v: Tells the SDP version o: Lists the organization of the calling party s: Describes the SDP message c: Lists the IP address of the originator t: Tells the timer value m: Describes the media that the originator expects a: Gives the media attributes DTMF Relay Named Telephony Events (RFC2833) – RTP Packets with a different type field (In-band) Key Press Markup Language (KPML) – SIP Subscriber messages with DTMF in XML like format (OOB) Unsolicited Notify (UN) – SIP Notify messages and without SIP Subscribe (OOB) Cisco RTP – RTP Packets with a different type field. Call flow with multiple servers Other details Default Ports: 5060 TCP/UDP / TLS: 5061 Plain-Text messages Sip address is called URI = uniform resource identifier SIP Dialplan considerations The default behavior of SIP Phone is compare digits to the internal dial plan. When have a match, its sends an INVITE. When you use KPML (Key Press Markup Language), the SIP phone sends each digit to CCM that can instruct the phone what do or route the call. Error Codes Class of Response Code Explanation Informational/ provisional 100 Trying 180 Ringing 181 Call is being forwarded 182 Queued 183 Session Progress Success 200 OK Redirection 300 Multiple Choices 301 Moved Permanently 302 Moved Temporarily 305 Use Proxy 380 Alternative Service Client-Error 400 Bad Request 401 Unauthorized 402 Payment Required 403 Forbidden 404 Not Found 405 Method Not Allowed 406 Not Acceptable 407 Proxy Auth Required 408 Request Timeout 410 Gone 413 Request Entity Too Large 414 Requested URL Too Large 415 Unsupported Media Type 416 Unsupported URI Scheme 420 Bad Extension 421 Extension Required 423 Interval Too Brief 480 Temporarily Not Available 481 Transaction Does Not Exist 482 Loop Detected 483 Too Many Hops 484 Address Incomplete 485 Ambiguous 486 Busy Here 487 Request Terminated 488 Not Acceptable Here 491 Request Pending 493 Undecipherable Server-error 500 Internal Server Error 501 Not Implemented 502 Bad Gateway 503 Service Unavailable 504 Server Timeout 505 SIP Version Not Supported 513 Message Too Large Global failure 600 Busy Everywhere 603 Decline 604 Does Not Exist Anywhere 606 Not Acceptable Dialpeer configuration dial-peer voice 3401 voip session target ipv4:10.6.2.1 session protocol sipv2 session transport tcp ! dial-peer voice 4404 voip session target sip-server session protocol sipv2 voice-class sip transpor switch udp tcp destination-pattern 4404... “voice-class sip transport switch udp tcp” switch from UDP to TCP when a packet gets within 200 bytes of the MTU to avoid UDP fragmentation. SIP UA commands sip-ua registrar ipv4:10.30.25.250 tcp registrar ipv4:10.30.25.251 tcp secon sip-server ipv4:10.30.25.252 max-forwards 10 no transport udp SIP Voice Service commands voice service voip redirect ip2ip sip bind control source-interface lo0 registrar server exp max 1500 min 500
  • 2. SIP Marcelo Zanata Early Offer Delayed Offer Early Media Call flow between two gateways PBX GWA GWB PBX Setup  INVITE  Setup   Call Proceeding  100 Trying  Call Proceeding  Alerting  180 Ringing  Alerting  Connect  200 OK  Connect Connect Ack  ACK  Connect Ack   Voice   RTP   Voice  Disconnect  BYE   Release Disconnect   Release  200 OK Release Complete  Release Complete  Call Flow using a Proxy Server Endpoint SIP Proxy GW-B PBX Setup  INVITE  Setup   100 Trying  100 Trying  Call Proceeding  Alerting  180 Ringing  180 Ringing  Connect  200 OK  200 OK ACK  Connect Ack   RTP   Voice  BYE  Disconnect   Release  200 OK Release Complete  Callmanager acting as B2BUA SIP Phone CCM GW-B INVITE, with SDP   100 Trying INVITE   183 Session Progress, with SDP  Session Progress, with SDP  200 OK, with SDP ACK, with SDP   200 OK, with SDP ACK   RTP   BYE 200 OK   BYE 200 OK 