SlideShare a Scribd company logo
Session Initiation ProtocolMatt Bynum, CCIE (Voice) #21753
SIP is a protocol for establishing sessions in an IP network.
AgendaProtocol HistorySIP 101Cisco and SIP(Ssshhh!) Other vendors and SIPFuture of SIP
Protocol HistoryTo know where you’re going, you have to know where you’ve been.- who knows? Not Google.
Setting the StageThe Internet Engineering Task Force first met in 1986.“The mission of the IETF is to make the Internet work better by producing high quality, relevant technical documents that influence the way people design, use, and manage the Internet. “					- http://www.ietf.org/about/mission.htmlDNS dhcpIPv4 IPv6 TCP UDP RTP SMTP TELNET IGMP ICMPFTP ECHO ARP POP3 OSPF SNMP RIP http://tools.ietf.org/html/rfc5000
IETF MeetingsThe First IETF Audiocast occurred in 1992.  Since then, IETF sessions were conducted on the Mbone.  Create						1Descr.: DNS Discussion San FranOrig.: John Doe j.doe@com.comInfo: http://www.com.comStart: 04.04.2001 / 09.30End: 04.20.2001 / 16:30Media: Audio GSM 224.1.6.7/49000Media: Video H.263 224.1.6.8/49100Disseminate				2SAP/NNTP/HTTPInviteSMTP/SIPJoin						3PC/TelephoneMedia						4PC/Telephone
Simple Conference Invitation Protocolby Henning SchulzrinneCALLCHANGECLOSETCP/SCIP1xx2xx3xx4xx5xxSession Invitation Protocolby Mark Handley and Eve SchoolerSUCCESSUNSUCCESSFULBUSYDECLINEUNKNOWNFAILEDFORBIDDENRINGINGRINGINGTRYINGREDIRECTALTERNATIVEUDP/SDPNEGOTIATE
Simple Conference Invitation ProtocolSCIP/1.0 302 Callee has moved temporarilyLocation: jones@salt.lab3.company.comLocation: jones@pepper.lab3.company.comCALL hgs@lupus.fokus.gmd.de 1.0User-Agent: coco/1.3From: Christian Zahl <cz@cs.tu-berlin.de>To: Henning Schulzrinne <schulzrinne@fokus.gmd.de>Call-Id: 9510021900.AA07734@lion.cs.tu-berlin.deReferer: ceres.fokus.gmd.deExpires: Mon, 02 Oct 1995 18:44:11 GMTRequired: fc99cb08 audio/pcmu; port=3456; transport=RTP;rate=16000; channels=1; pt=97; net=224.2.0.1; ttl=128,audio/gsm; port=3456; transport=RTP; rate=8000; channels=1,audio/lpc; port=3456; transport=RTP; rate=8000; channels=1SIP/1.0 REQPA=128.16.65.19 16AU=noneID=128.16.65.19/32492374FR=M.Handley@cs.ucl.ac.ukTO=J.Crowcroft@cs.ucl.ac.ukv=0o=van 2353644765 2353687637 IN IP4 128.3.4.5s=Mbone Audioi=Discussion of Mbone Engineering Issuese=van@ee.lbl.gov (Van Jacobsenc=IN IP4 224.2.0.1/127t=0 0m=audio 3456 RTP PCMUSession Invitation Protocol
Papa SIP“Personal Mobility for Multimedia Services in the Internet”				by Henning Schulzrinne*, March 1996http://www.cs.columbia.edu/~hgs/papers/Schu9603_Personal.pdfhttp://www.cs.columbia.edu/~hgs/* Developed RTP
The Internet ArchitectSIP (RFC 2543, RFC 3261); SDP (RFC 2327; SAP, RFC 2974);  Protocol Independent Multicast-Sparse Mode (PIM-SM, RFC 2362), TCP-Friendly Rate Control (TFRC, RFC 3448), Multicast-Scope Zone Announcement Protocol (MZAP, RFC 2776), Multicast Address Allocation (RFC 2908, RFC 2909), TCP Congestion Window Validation ( RFC 2861), Reliable Multicast ( RFC 3451, RFC 3452, RFC 3453, RFC 3048), Datagram Congestion Control Protocol ( RFC 4340, RFC 4336). Mark HandleyFounder of XORP (www.xorp.org)http://www.cs.ucl.ac.uk/staff/M.Handley/
SIP Draftshttp://www.cs.columbia.edu/sip/history.htmlDec. 2, 1996 		draft-ietf-mmusic-sip-01March 27, 1997 	draft-ietf-mmusic-sip-02July 31, 1997 		draft-ietf-mmusic-sip-03November 11, 1997 	draft-ietf-mmusic-sip-04May 14, 1998 		draft-ietf-mmusic-sip-05June 17, 1998 		draft-ietf-mmusic-sip-06July 16, 1998 		draft-ietf-mmusic-sip-07August 7, 1998 	draft-ietf-mmusic-sip-08September 18, 1998 	draft-ietf-mmusic-sip-09September 28, 1998 	Last callNovember 12, 1998 	draft-ietf-mmusic-sip-10December 15, 1998 	draft-ietf-mmusic-sip-11January 15, 1999 	draft-ietf-mmusic-sip-12February 2, 1999 	ApprovedMarch 17, 1999 	RFC 2543
SIP TodayThe Hitchhiker’s Guide to SIPhttp://tools.ietf.org/html/rfc5411RFC 3261 (SIP: Session Initiation Protocol)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 3325 (Private Extensions to SIP for Asserted Identity within Trusted Networks)RFC 3327 (SIP Extension Header Field for Registering Non-Adjacent Contacts)RFC 3581 (An Extension to SIP for Symmetric Response Routing)RFC 3840 (Indicating User Agent Capabilities in SIP)RFC 4320 (Actions Addressing Issues Identified with the Non-INVITE Transaction in SIP)RFC 4474 (Enhancements for Authenticated Identity Management in SIP)GRUU	(Obtaining and Using Globally Routable User Agent Identifiers (GRUU) in SIP)OUTBOUND (Managing Client Initiated Connections through SIP)RFC 4566 (Session Description Protocol)SDP-CAP (SDP Capability Negotiation)ICE		(Interactive Connectivity Establishment)RFC 3605	(Real Time Control Protocol (RTCP) Attribute in the Session Description Protocol)RFC 4916 (Connected Identity in the Session Initiation Protocol (SIP))RFC 3311 (The SIP UPDATE Method)SIPS-URI (The Use of the SIPS URI Scheme in the Session Initiation Protocol (SIP))RFC 3665 (Session Initiation Protocol (SIP) Basic Call Flow Examples)Don’t Panic!
SIP 101Any sufficiently advanced technology is indistinguishable from magic.- Arthur C. Clarke
User AgentsClient 		  ServerProxyRegistrarRedirect
SIP Methods
SIP Responses
Basic Call FlowUser AgentProxy ServerUser AgentINVITEINVITE100 Trying180 Ringing180 Ringing200 OK200 OKACKACKMedia SessionBYEBYE200 OK200 OK
Example SIP RequestINVITE sip:matt@ncug.org SIP/2.0Via: SIP/2.0/UDP 216.81.194.139:5060;branch=j3mF42aV349From: TN Lottery<sip:youwon@tnlottery.com>;tag=27fn23askTo: Matt <sip:matt@ncug.org>Call-ID: 393j23m9df3adv3211Max-Forwards: 70Cseq: 1 INVITEContact: sip:youwon@216.81.194.139Content-Type: application/sdpContact-Length: 126v=0o=youwon 2890844526 2890844526 IN IP4 youwon.tnlottery.coms=SIP Callc=IN IP4 216.81.194.139t=0 0m=audio 32894 RTP/AVP 0 101a=rtpmap: 0 PCMU/8000a=rtpmap: 101 iLBC/8000
Example SIP ResponseSIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.1:5060;branch=j3mF42aV349From: Matt <sip:matt@ncug.org>;tag=32fd45d36-d4adTo: TN Lottery<sip:youwon@tnlottery.com> ;tag=27fn23askCall-ID: 393j23m9df3adv3211Max-Forwards: 70Cseq: 1 INVITEContact: <sip:matt@10.0.0.1:5060>Content-Type: application/sdpContact-Length: 126v=0o=matt 7844 125 IN IP4 10.0.0.1s=SIP Callc=IN IP4 10.0.0.1t=0 0m=audio 43589 RTP/AVP 0a=sendrecva=rtpmap: 0 PCMU/8000
Uniform Resource Identifierhttp://tools.ietf.org/html/rfc2396sip:user@domain.com
Cisco and SIP"Cisco's multi-protocol packet voice strategy includes support for SIP, and we believe the promise of SIP has become a reality.”			- Lou Santora, former VP of Cisco’s voice technology group in 2002
Cisco FellowActive in IETF
Co-author of the Session Initiation Protocol (SIP), RFC 3261,
SIMPLE - SIP for presence and IM.
STUN (Simple Traversal of UDP through NAT)
TURN (Traversal Using Relay NAT)
XCAP (XML Configuration Access Protocol)
Author of 30 patents and publications, 45 Internet RFCs, and numerous Internet Drafts in the area of multimedia communications over packet networksJonathan Rosenberghttp://www.jdrosen.net/
SIP Enabled Cisco Products
Cisco Unified SIP ProxyNM for the 3800 series ISRNME-CUSP-522-K92 GB of RAM160 GB hard diskGigabit Ethernet to the router backplaneSupported on 12.4.22TSimplifies management of large SIP networksCUSP uses a counted license (10, 30, and 100 calls per second)
Cisco UC ManagerFunctions as a B2BUAowns each leg of call as a separate dialogmore stateful than proxy serversinter-work SIP with other protocolsB2BUA for all types of SIP calls (trunk and line)Cisco’s implementation is 100% standards compatible SIP
But…There are “extensions” to SIP implemented in CUCM for SCCP feature parity.Leads to two modes of SIP support for phones.AdvancedBasic
Third-Party SIP Phone Categories
Cisco Unified Border ElementFeature in IOS, since 12.3.11T (version 1.0)was IPIPGWup to version 1.3 as of 12.4.22YBAllows for demarcation point in SP scenariosProvides H.323<->SIP interoperabilityTwo licensing models, CUBE session licenses, or flat INTVVSRV licenseAt a minimum, requires the IP Voice feature set
Same ol’ Dial-peers	SIP-VG(config)# voice service voipSIP-VG(config-voi-serv)# allow-connections sip to sipSIP-VG(config-voi-serv)# allow-connections sip to h323SIP-VG(config)# dial-peer voice 2111 voipSIP-VG(config-dial-peer)# session target ipv4:10.0.0.1SIP-VG(config-dial-peer)# session protocol sipv2SIP-VG(config-dial-peer)# session transport tcpSIP-VG(config-dial-peer)# destination-pattern 615[2-9]……SIP-VG(config-dial-peer)# dtmf-relay sip-notify rtp-nte
Troubleshooting CUBESIP-VG# debug ccsip ?allcallserroreventsinfomediamessagespreauthstatestransportSIP-VG# debug voip dial-peerSIP-VG# show sip-ua service
Cisco Unified PresencePresence server provides SIP SUBSCRIBE/NOTIFY functionality to the Cisco Unified Personal CommunicatorIntegrates with  CUCM via SIP TrunkSUBSCRIBE ext 1111NOTIFY ext 1111

More Related Content

What's hot (20)

PPTX
Session initiation-protocol
Santhosh Somu
 
PDF
Indroduction to SIP
Chien Cheng Wu
 
PPT
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
ALTANAI BISHT
 
PPT
Introduction to SIP
neerav_adhikari
 
PDF
SDP (Session Description Protocol)
Buşra Deniz, CSM
 
PPT
Multicasting and multicast routing protocols
Abhishek Kesharwani
 
PDF
WebRTC on Mobile
Buşra Deniz, CSM
 
PPTX
IMS + VoLTE Overview
Hamidreza Bolhasani
 
PDF
SIP (Session Initiation Protocol) - Study Notes
Marius FAILLOT DEVARRE
 
PDF
volte ims network architecture
Vikas Shokeen
 
PPTX
IMS Core Elements
Kent Loh
 
PDF
IMS ENUM & DNS Mechanism
Houman Sadeghi Kaji
 
PPTX
IMS ENUM and DNS Mechanism
Kent Loh
 
PPT
Real-Time Streaming Protocol
Jayaprakash Nagaruru
 
PDF
MPLS - Multiprotocol Label Switching
Peter R. Egli
 
PDF
SIP and DNS - federation, failover, load balancing and more
Olle E Johansson
 
PPT
Bgp
Febrian ‎
 
PPT
SCTP Tutorial
Alok Kumar Singh ITIL®
 
PDF
Cisco CCNA Data Center Networking Fundamentals
E.S.G. JR. Consulting, Inc.
 
Session initiation-protocol
Santhosh Somu
 
Indroduction to SIP
Chien Cheng Wu
 
Sip Detailed , Call flows , Architecture descriptions , SIP services , sip se...
ALTANAI BISHT
 
Introduction to SIP
neerav_adhikari
 
SDP (Session Description Protocol)
Buşra Deniz, CSM
 
Multicasting and multicast routing protocols
Abhishek Kesharwani
 
WebRTC on Mobile
Buşra Deniz, CSM
 
IMS + VoLTE Overview
Hamidreza Bolhasani
 
SIP (Session Initiation Protocol) - Study Notes
Marius FAILLOT DEVARRE
 
volte ims network architecture
Vikas Shokeen
 
IMS Core Elements
Kent Loh
 
IMS ENUM & DNS Mechanism
Houman Sadeghi Kaji
 
IMS ENUM and DNS Mechanism
Kent Loh
 
Real-Time Streaming Protocol
Jayaprakash Nagaruru
 
MPLS - Multiprotocol Label Switching
Peter R. Egli
 
SIP and DNS - federation, failover, load balancing and more
Olle E Johansson
 
Cisco CCNA Data Center Networking Fundamentals
E.S.G. JR. Consulting, Inc.
 

Similar to Session Initiation Protocol (20)

PDF
LinuxCon North America: SIPPing from the Open Source Well
Matt Bynum
 
PPTX
Sip summary
Ahmed Noaman
 
PPT
SIP for geeks
Kundan Singh
 
PDF
Voip internet
Sally Sendiry
 
PDF
PLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
PROIDEA
 
PPT
Vo ip sip
Iazon Danelia
 
PPTX
Tlc 004 - take a sip of sip
Anna Volynkina
 
PPTX
Take a sip of sip
LuxoftTraining
 
PDF
BlackHat Hacking - Hacking VoIP.
Sumutiu Marius
 
PPT
Sinnreich Henry Johnston Alan Pt 1
Carl Ford
 
PDF
NetFlow Monitoring for Cyber Threat Defense
Cisco Canada
 
PPT
TCP/IP Basics
SMC Networks Europe
 
PPT
Sinnreich Henry Johnston Alan Pt 2
Carl Ford
 
PPT
Voice over IP: Issues and Protocols
Videoguy
 
PDF
WebRTC meetup barcelona 2017
Juan De Bravo
 
PDF
Krzysztof Mazepa - Netflow/cflow - ulubionym narzędziem operatorów SP
PROIDEA
 
PDF
Advanced Topics in IP Multicast Deployment
Arrive Technologies, Inc.
 
PDF
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
Sean Flores
 
PDF
TekTape - Audio Recorder for SIP Calls
Yasin KAPLAN
 
LinuxCon North America: SIPPing from the Open Source Well
Matt Bynum
 
Sip summary
Ahmed Noaman
 
SIP for geeks
Kundan Singh
 
Voip internet
Sally Sendiry
 
PLNOG16: Usługi w sieciach operatorskich, Marcin Aronowski
PROIDEA
 
Vo ip sip
Iazon Danelia
 
Tlc 004 - take a sip of sip
Anna Volynkina
 
Take a sip of sip
LuxoftTraining
 
BlackHat Hacking - Hacking VoIP.
Sumutiu Marius
 
Sinnreich Henry Johnston Alan Pt 1
Carl Ford
 
NetFlow Monitoring for Cyber Threat Defense
Cisco Canada
 
TCP/IP Basics
SMC Networks Europe
 
Sinnreich Henry Johnston Alan Pt 2
Carl Ford
 
Voice over IP: Issues and Protocols
Videoguy
 
WebRTC meetup barcelona 2017
Juan De Bravo
 
Krzysztof Mazepa - Netflow/cflow - ulubionym narzędziem operatorów SP
PROIDEA
 
Advanced Topics in IP Multicast Deployment
Arrive Technologies, Inc.
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
Sean Flores
 
TekTape - Audio Recorder for SIP Calls
Yasin KAPLAN
 
Ad

More from Matt Bynum (9)

PDF
Python for the Network Nerd
Matt Bynum
 
PPTX
Demystifying Software Defined Networking (SDN)
Matt Bynum
 
PPTX
Demystifying Software Defined Networking (SDN)
Matt Bynum
 
PPTX
NCUG - Current State Of Cisco UC
Matt Bynum
 
PPT
BGP Overview
Matt Bynum
 
PPT
healthcamp:nash - Unified Communications in Healthcare
Matt Bynum
 
PPT
Feb 2009 Certification
Matt Bynum
 
PPT
Social Networking 101
Matt Bynum
 
PDF
IPv6 Fundamentals
Matt Bynum
 
Python for the Network Nerd
Matt Bynum
 
Demystifying Software Defined Networking (SDN)
Matt Bynum
 
Demystifying Software Defined Networking (SDN)
Matt Bynum
 
NCUG - Current State Of Cisco UC
Matt Bynum
 
BGP Overview
Matt Bynum
 
healthcamp:nash - Unified Communications in Healthcare
Matt Bynum
 
Feb 2009 Certification
Matt Bynum
 
Social Networking 101
Matt Bynum
 
IPv6 Fundamentals
Matt Bynum
 
Ad

Recently uploaded (20)

PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
Why aren't you using FME Flow's CPU Time?
Safe Software
 
PDF
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PPTX
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PPSX
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
PDF
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
PDF
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PDF
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
PDF
Next level data operations using Power Automate magic
Andries den Haan
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
Why aren't you using FME Flow's CPU Time?
Safe Software
 
How to Visualize the ​Spatio-Temporal Data Using CesiumJS​
SANGHEE SHIN
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Usergroup - OutSystems Architecture.ppsx
Kurt Vandevelde
 
Understanding The True Cost of DynamoDB Webinar
ScyllaDB
 
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
DoS Attack vs DDoS Attack_ The Silent Wars of the Internet.pdf
CyberPro Magazine
 
Next level data operations using Power Automate magic
Andries den Haan
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Poster...
Michele Kryston
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
Pipeline Industry IoT - Real Time Data Monitoring
Safe Software
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 

Session Initiation Protocol

  • 1. Session Initiation ProtocolMatt Bynum, CCIE (Voice) #21753
  • 2. SIP is a protocol for establishing sessions in an IP network.
  • 3. AgendaProtocol HistorySIP 101Cisco and SIP(Ssshhh!) Other vendors and SIPFuture of SIP
  • 4. Protocol HistoryTo know where you’re going, you have to know where you’ve been.- who knows? Not Google.
  • 5. Setting the StageThe Internet Engineering Task Force first met in 1986.“The mission of the IETF is to make the Internet work better by producing high quality, relevant technical documents that influence the way people design, use, and manage the Internet. “ - http://www.ietf.org/about/mission.htmlDNS dhcpIPv4 IPv6 TCP UDP RTP SMTP TELNET IGMP ICMPFTP ECHO ARP POP3 OSPF SNMP RIP http://tools.ietf.org/html/rfc5000
  • 6. IETF MeetingsThe First IETF Audiocast occurred in 1992. Since then, IETF sessions were conducted on the Mbone. Create 1Descr.: DNS Discussion San FranOrig.: John Doe [email protected]: http://www.com.comStart: 04.04.2001 / 09.30End: 04.20.2001 / 16:30Media: Audio GSM 224.1.6.7/49000Media: Video H.263 224.1.6.8/49100Disseminate 2SAP/NNTP/HTTPInviteSMTP/SIPJoin 3PC/TelephoneMedia 4PC/Telephone
  • 7. Simple Conference Invitation Protocolby Henning SchulzrinneCALLCHANGECLOSETCP/SCIP1xx2xx3xx4xx5xxSession Invitation Protocolby Mark Handley and Eve SchoolerSUCCESSUNSUCCESSFULBUSYDECLINEUNKNOWNFAILEDFORBIDDENRINGINGRINGINGTRYINGREDIRECTALTERNATIVEUDP/SDPNEGOTIATE
  • 8. Simple Conference Invitation ProtocolSCIP/1.0 302 Callee has moved temporarilyLocation: [email protected]: [email protected] [email protected] 1.0User-Agent: coco/1.3From: Christian Zahl <[email protected]>To: Henning Schulzrinne <[email protected]>Call-Id: [email protected]: ceres.fokus.gmd.deExpires: Mon, 02 Oct 1995 18:44:11 GMTRequired: fc99cb08 audio/pcmu; port=3456; transport=RTP;rate=16000; channels=1; pt=97; net=224.2.0.1; ttl=128,audio/gsm; port=3456; transport=RTP; rate=8000; channels=1,audio/lpc; port=3456; transport=RTP; rate=8000; channels=1SIP/1.0 REQPA=128.16.65.19 16AU=noneID=128.16.65.19/[email protected][email protected]=0o=van 2353644765 2353687637 IN IP4 128.3.4.5s=Mbone Audioi=Discussion of Mbone Engineering [email protected] (Van Jacobsenc=IN IP4 224.2.0.1/127t=0 0m=audio 3456 RTP PCMUSession Invitation Protocol
  • 9. Papa SIP“Personal Mobility for Multimedia Services in the Internet” by Henning Schulzrinne*, March 1996http://www.cs.columbia.edu/~hgs/papers/Schu9603_Personal.pdfhttp://www.cs.columbia.edu/~hgs/* Developed RTP
  • 10. The Internet ArchitectSIP (RFC 2543, RFC 3261); SDP (RFC 2327; SAP, RFC 2974); Protocol Independent Multicast-Sparse Mode (PIM-SM, RFC 2362), TCP-Friendly Rate Control (TFRC, RFC 3448), Multicast-Scope Zone Announcement Protocol (MZAP, RFC 2776), Multicast Address Allocation (RFC 2908, RFC 2909), TCP Congestion Window Validation ( RFC 2861), Reliable Multicast ( RFC 3451, RFC 3452, RFC 3453, RFC 3048), Datagram Congestion Control Protocol ( RFC 4340, RFC 4336). Mark HandleyFounder of XORP (www.xorp.org)http://www.cs.ucl.ac.uk/staff/M.Handley/
  • 11. SIP Draftshttp://www.cs.columbia.edu/sip/history.htmlDec. 2, 1996 draft-ietf-mmusic-sip-01March 27, 1997 draft-ietf-mmusic-sip-02July 31, 1997 draft-ietf-mmusic-sip-03November 11, 1997 draft-ietf-mmusic-sip-04May 14, 1998 draft-ietf-mmusic-sip-05June 17, 1998 draft-ietf-mmusic-sip-06July 16, 1998 draft-ietf-mmusic-sip-07August 7, 1998 draft-ietf-mmusic-sip-08September 18, 1998 draft-ietf-mmusic-sip-09September 28, 1998 Last callNovember 12, 1998 draft-ietf-mmusic-sip-10December 15, 1998 draft-ietf-mmusic-sip-11January 15, 1999 draft-ietf-mmusic-sip-12February 2, 1999 ApprovedMarch 17, 1999 RFC 2543
  • 12. SIP TodayThe Hitchhiker’s Guide to SIPhttp://tools.ietf.org/html/rfc5411RFC 3261 (SIP: Session Initiation Protocol)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 3325 (Private Extensions to SIP for Asserted Identity within Trusted Networks)RFC 3327 (SIP Extension Header Field for Registering Non-Adjacent Contacts)RFC 3581 (An Extension to SIP for Symmetric Response Routing)RFC 3840 (Indicating User Agent Capabilities in SIP)RFC 4320 (Actions Addressing Issues Identified with the Non-INVITE Transaction in SIP)RFC 4474 (Enhancements for Authenticated Identity Management in SIP)GRUU (Obtaining and Using Globally Routable User Agent Identifiers (GRUU) in SIP)OUTBOUND (Managing Client Initiated Connections through SIP)RFC 4566 (Session Description Protocol)SDP-CAP (SDP Capability Negotiation)ICE (Interactive Connectivity Establishment)RFC 3605 (Real Time Control Protocol (RTCP) Attribute in the Session Description Protocol)RFC 4916 (Connected Identity in the Session Initiation Protocol (SIP))RFC 3311 (The SIP UPDATE Method)SIPS-URI (The Use of the SIPS URI Scheme in the Session Initiation Protocol (SIP))RFC 3665 (Session Initiation Protocol (SIP) Basic Call Flow Examples)Don’t Panic!
  • 13. SIP 101Any sufficiently advanced technology is indistinguishable from magic.- Arthur C. Clarke
  • 14. User AgentsClient ServerProxyRegistrarRedirect
  • 17. Basic Call FlowUser AgentProxy ServerUser AgentINVITEINVITE100 Trying180 Ringing180 Ringing200 OK200 OKACKACKMedia SessionBYEBYE200 OK200 OK
  • 18. Example SIP RequestINVITE sip:[email protected] SIP/2.0Via: SIP/2.0/UDP 216.81.194.139:5060;branch=j3mF42aV349From: TN Lottery<sip:[email protected]>;tag=27fn23askTo: Matt <sip:[email protected]>Call-ID: 393j23m9df3adv3211Max-Forwards: 70Cseq: 1 INVITEContact: sip:[email protected]: application/sdpContact-Length: 126v=0o=youwon 2890844526 2890844526 IN IP4 youwon.tnlottery.coms=SIP Callc=IN IP4 216.81.194.139t=0 0m=audio 32894 RTP/AVP 0 101a=rtpmap: 0 PCMU/8000a=rtpmap: 101 iLBC/8000
  • 19. Example SIP ResponseSIP/2.0 200 OK Via: SIP/2.0/UDP 10.0.0.1:5060;branch=j3mF42aV349From: Matt <sip:[email protected]>;tag=32fd45d36-d4adTo: TN Lottery<sip:[email protected]> ;tag=27fn23askCall-ID: 393j23m9df3adv3211Max-Forwards: 70Cseq: 1 INVITEContact: <sip:[email protected]:5060>Content-Type: application/sdpContact-Length: 126v=0o=matt 7844 125 IN IP4 10.0.0.1s=SIP Callc=IN IP4 10.0.0.1t=0 0m=audio 43589 RTP/AVP 0a=sendrecva=rtpmap: 0 PCMU/8000
  • 21. Cisco and SIP"Cisco's multi-protocol packet voice strategy includes support for SIP, and we believe the promise of SIP has become a reality.” - Lou Santora, former VP of Cisco’s voice technology group in 2002
  • 23. Co-author of the Session Initiation Protocol (SIP), RFC 3261,
  • 24. SIMPLE - SIP for presence and IM.
  • 25. STUN (Simple Traversal of UDP through NAT)
  • 27. XCAP (XML Configuration Access Protocol)
  • 28. Author of 30 patents and publications, 45 Internet RFCs, and numerous Internet Drafts in the area of multimedia communications over packet networksJonathan Rosenberghttp://www.jdrosen.net/
  • 29. SIP Enabled Cisco Products
  • 30. Cisco Unified SIP ProxyNM for the 3800 series ISRNME-CUSP-522-K92 GB of RAM160 GB hard diskGigabit Ethernet to the router backplaneSupported on 12.4.22TSimplifies management of large SIP networksCUSP uses a counted license (10, 30, and 100 calls per second)
  • 31. Cisco UC ManagerFunctions as a B2BUAowns each leg of call as a separate dialogmore stateful than proxy serversinter-work SIP with other protocolsB2BUA for all types of SIP calls (trunk and line)Cisco’s implementation is 100% standards compatible SIP
  • 32. But…There are “extensions” to SIP implemented in CUCM for SCCP feature parity.Leads to two modes of SIP support for phones.AdvancedBasic
  • 34. Cisco Unified Border ElementFeature in IOS, since 12.3.11T (version 1.0)was IPIPGWup to version 1.3 as of 12.4.22YBAllows for demarcation point in SP scenariosProvides H.323<->SIP interoperabilityTwo licensing models, CUBE session licenses, or flat INTVVSRV licenseAt a minimum, requires the IP Voice feature set
  • 35. Same ol’ Dial-peers SIP-VG(config)# voice service voipSIP-VG(config-voi-serv)# allow-connections sip to sipSIP-VG(config-voi-serv)# allow-connections sip to h323SIP-VG(config)# dial-peer voice 2111 voipSIP-VG(config-dial-peer)# session target ipv4:10.0.0.1SIP-VG(config-dial-peer)# session protocol sipv2SIP-VG(config-dial-peer)# session transport tcpSIP-VG(config-dial-peer)# destination-pattern 615[2-9]……SIP-VG(config-dial-peer)# dtmf-relay sip-notify rtp-nte
  • 36. Troubleshooting CUBESIP-VG# debug ccsip ?allcallserroreventsinfomediamessagespreauthstatestransportSIP-VG# debug voip dial-peerSIP-VG# show sip-ua service
  • 37. Cisco Unified PresencePresence server provides SIP SUBSCRIBE/NOTIFY functionality to the Cisco Unified Personal CommunicatorIntegrates with CUCM via SIP TrunkSUBSCRIBE ext 1111NOTIFY ext 1111
  • 38. Other Vendors and SIP“Competition is not only the basis of protection to the consumer, but is the incentive to progress”- Herbert Hoover
  • 40. Future of SIPAs far as I'm concerned, progress peaked with frozen pizza.- John McClain, Die Hard 2
  • 41. What’s next?P2P SIP (DNS SRV, end-point resolution)Universal Personal TelecommunicationsPresence as the dial-tone of the 21st centuryENUM (E.164 to SIP URI discovery)Extensions Galore

Editor's Notes

  • #3: What are sessions? Phone calls, multi-party conference calls, instant messaging, etc.