Internet Telephony based on SIP SMU - Dallas April 28, May 1, 2000 Henry Sinnreich, MCI WorldCom Alan Johnston, MCI WorldCom.

Slides:



Advertisements
Similar presentations
SIP, Presence and Instant Messaging
Advertisements

SIP and Instant Messaging. SIP Summit SIP and Instant Messaging What Does Presence Have to Do With SIP? How to Deliver.
Fall IM 2000 Introduction to SIP Jonathan Rosenberg Chief Scientist.
IM May 24, 2000 Introduction to SIP Jonathan Rosenberg Chief Scientist.
Internet Telecom Expo September 20, 2000 SIP vs. H.323 SIP vs. H.323 Will the Real IP Telephony Please Stand Up? Jonathan Rosenberg.
1 IP Telephony (VoIP) CSI4118 Fall Introduction (1) A recent application of Internet technology – Voice over IP (VoIP): Transmission of voice.
July 20, 2000H.323/SIP1 Interworking Between SIP/SDP and H.323 Agenda Compare SIP/H.323 Problems in interworking Possible solutions Conclusion Q/A Kundan.
Basics of Protocols SIP / H
Voice over IP Fundamentals
IP Communications Services Redefining Communications Teresa Hastings Director WorldCom SIP Services Conference – April 18-20, 2001.
January 23-26, 2007 Ft. Lauderdale, Florida An introduction to SIP Simon Millard Professional Services Manager Aculab.
Signaling: SIP SIP is one of Many ITU H.323 Originally for video conferencing The first standard protocol for VoIP Still in wide usage, but negative.
Session Initiation Protocol Winelfred G. Pasamba.
School of Electronics and Information
Session Initiation Protocol (SIP) By: Zhixin Chen.
VoIP Using SIP/RTP by George Fu, UCCS CS 522 Semester Project Fall 2004.
A Generic Event Notification System Using XML and SIP Knarig Arabshian and Henning Schulzrinne Department of Computer Science Columbia University
12/05/2000CS590F, Purdue University1 Sip Implementation Protocol Presented By: Sanjay Agrawal Sambhrama Mundkur.
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 2. SIP.
SIP, Session Initiation Protocol Internet Draft, IETF, RFC 2543.
An Introduction to SIP Moshe Sambol Services Research Lab November 18, 1998.
Internet Telephony Helen J. Wang Network Reading Group, Jan 27, 99 Acknowledgement: Jimmy, Bhaskar.
SIP 逄愛君 SIP&SDP2 Industrial Technology Research Institute Computer & Communication Research Laboratories Elgin Pang Outline.
From VoIP to IP Communications Henry Sinnreich WCOM * The views expressed in this presentation are my own and may or may not represent the views of my.
Agenda Introduction to 3GPP Introduction to SIP IP Multimedia Subsystem Service Routing in IMS Implementation Conclusions.
Introduction to SIP Speaker: Min-Hua Yang Advisor: Ho-Ting Wu Date:2005/3/29.
Secure Telephony Enabled Middle-box (STEM) Maggie Nguyen Dr. Mark Stamp SJSU - CS 265 Spring 2003 STEM is proposed as a solution to network vulnerabilities,
Session Initialization Protocol (SIP)
Session Initialization Protocol (SIP) Presented by: Aishwarya Gurazada CISC856: TCP/IP and upper layer protocols May 5 th 2011 Some slides borrowed from.
SIP Session Initiation Protocol Short Introduction Artur Hecker, ENST.
Signaling & Network Control 7th Semester
Session Initiation Protocol Tutorial Ronen Ben-Yossef VP of Products - RADCOM
Session Initiation Protocol (SIP)
Telephony Features with SIP
Internet, Part 2 1) Session Initiating Protocol (SIP) 2) Quality of Service (QoS) support 3) Mobility aspects (terminal vs. personal mobility) 4) Mobile.
3. VoIP Concepts.
Session Initiation Protocol Team Members: Manjiri Ayyar Pallavi Murudkar Sriusha Kottalanka Vamsi Ambati Girish Satya LeeAnn Tam.
Fall VON - September 28, 1999 C O N N E C T I N G T H E W O R L D W I T H A P P L I C A T I O N S SIP - Ready to Deploy Jim Nelson,
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 8 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 4 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Application-Layer Mobility Using SIP Henning Schulzrinne, Elin Wedlund Mobile Computing and Communications Review, Volume 4, Number 3 Presenter: 許啟裕 Date:
1 © NOKIA 1999 FILENAMs.PPT/ DATE / NN SIP Service Architecture Markus Isomäki Nokia Research Center.
Call Control with SIP Brian Elliott, Director of Engineering, NMS.
B2BUA – A New Type of SIP Server Name: Stephen Cipolli Title: System Architect Date: Feb. 12, 2004.
Session Initiation Protocol (SIP). What is SIP? An application-layer protocol A control (signaling) protocol.
Presented By Team Netgeeks SIP Session Initiation Protocol.
Team Members Atcharawan Jansprasert Padmoja Roy Rana Almakabi Ehsan Eslamlouevan Manya Tarawalie.
SIP, SDP and VoIP David A. Bryan CSCI 434/534 December 6, 2003.
VoN September ‘98 1 9/17/98 VoN Standards Update Jonathan Rosenberg Bell Laboratories September 17, 1998.
SIP:Session Initiation Protocol Che-Yu Kuo Computer & Information Science Department University of Delaware May 11, 2010 CISC 856: TCP/IP and Upper Layer.
Omar A. Abouabdalla Network Research Group (USM) SIP – Functionality and Structure of the Protocol SIP – Functionality and Structure of the Protocol By.
VoIP Signaling Protocols A signaling protocol is a common language spoken by telephones and call-management servers, the PSTN, and legacy PBX systems as.
RSVP Myungchul Kim From Ch 12 of book “ IPng and the TCP/IP protocols ” by Stephen A. Thomas, 1996, John Wiley & Sons. Resource Reservation.
Toshiba Confidential 1 Presented by: Philipe BC Da’Silva SESSION INITIATION PROTOCOL.
Session Initiation Protocol (SIP) Chapter 5 speaker : Wenping Zhang data :
SIP-H.323 Interworking Group RRR-1 IETF-48 SIP-H.323 Interworking Requirements draft-agrawal-sip-h323-interworking-reqs-00.txt Hemant.
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
The Session Initiation Protocol - SIP
S Postgraduate Course in Radio Communications. Application Layer Mobility in WLAN Antti Keurulainen,
1 Personal Mobility Management for SIP-based VoIP Services 王讚彬 國立台中教育大學資訊工程學系
7: Multimedia Networking7-1 protocols for real-time interactive applications RTP, RTCP, SIP.
Postech DP&NM Lab Session Initiation Protocol (SIP) Date: Seongcheol Hong DP&NM Lab., Dept. of CSE, POSTECH Date: Seongcheol.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 24 – Multimedia Session Protocols Klara Nahrstedt Spring 2014.
IP Telephony (VoIP).
Session Initiation Protocol
Internet, Part 2 1) Session Initiating Protocol (SIP)
Session Initiation Protocol (SIP)
Internet Telephony based on SIP
Internet, Part 2 1) Session Initiating Protocol (SIP)
SIP Basics Workshop Dennis Baron July 20, 2005.
Presentation transcript:

Internet Telephony based on SIP SMU - Dallas April 28, May 1, 2000 Henry Sinnreich, MCI WorldCom Alan Johnston, MCI WorldCom

2 Internet Multimedia Real Time Protocol (RTP) – media packets Real Time Control Protocol (RTCP) – monitor & report Session Announcement Protocol (SAP) Session Description Protocol (SDP) Session Initiation Protocol (SIP) Real Time Stream Protocol (RTSP) – play out control Synchronized Multimedia Integration Language (SMIL) – mixes audio/video with text and graphics References: Search keyword at For SMIL -

3 Telephony on the Internet may not be a stand-alone business, but part of IP services Public IP Backbone Goes everywhere End-to-end control Consistent for all services DNS – mobility Messaging Web Directory Security QoS Media services Sessions Telephony ………… SIP RTP CAS, Q.931, SS7 PCM Telephone Gateway SIP client MG SG MGCP SIP/RTP Media Architecture Any other sessions

4 Commercial Grade IP Telephony New services (new revenue) Scalability (Web-like) Baseline PSTN&PBX features Client & user authentication Accounting assured QoS QoS assured signaling Security assured signaling Hiding of caller ID & location Better than PSTN features New & fast service creation Internet (rapid) scalability Mobility Dynamic user preferences End-to-end control Service selection Feature control Mid-call control features Pre-call Mid-call Assure baseline PSTN features Leverage and Commonality of telephony with the Web/Internet

5 Internet End-to-End Control Central Control USER Central Control Central Control SW UNINNI UNI ITU Intelligent Network Control: POTS, ISDN, BISDN, FR, ATM, H.323, MEGACO/H.248, GSM Services supported by interfaces and central controllers User has little control USER Elective Server Elective Server Internet “Dumb Network” RRR User has control of all applications and choice of servers All services enabled by protocols: From ftp to web No single point of failure R

6 SIP vs. flavors of IPDC, SGSP, MGCP, MEGACO, H.248 (Internet Client-Server vs. Telco Master-Slave Protocols) GC MG PSTN CAS, Q.931, SS7 SIP, H.323 RTP PCM PSTNInternet MCGP GC MG IP Internet 1. IP Telephony Gateway 2. “Softswitch” a la IN 3. Residential GWY ? MCGP RG breaks e-2-e control model no services integration no choice of server and apps “unequal access” is reinvented phone to phone only PSTN services single vendor solution Absorbs PSTN complexity at the edge of IP TR 303… Legend CG: gateway Controller MG: Media Gateway

7 IP Communications PSTN/PBX-like: POTS AIN CS-1, CS-2 PBX & Centrex User has control of: All addressable devices Caller and called party preferences Better quality than 3.1 kHz Web-like: Presence Voice and text chat Messaging Voice, data, video Multiparty  Conferencing  Education  Games Any quality Most yet to be invented Complete integration of all services under full user control Mixt Internet-PSTN: Click’nConnect, ICW, unified messaging

8 Development of SIP IETF - Internet Engineering Task Force – – MMUSIC - Multiparty Multimedia Session Control Working Group – – SIP developed by Handley, Schulzrinne, Schooler, and Rosenberg   Submitted as Internet-Draft 7/97 – – Assigned RFC 2543 in 3/99 – – Internet Multimedia Conferencing Architecture. Alternative to ITU’s H.323 – – H.323 used for IP Telephony since 1994 – – Problems: No new services, addressing, features – – Concerns: scalability, extensibility

9 SIP Philosophy Internet Standard – – IETF - Reuse Internet addressing (URLs, DNS, proxies) – – Utilizes rich Internet feature set Reuse HTTP coding – – Text based Makes no assumptions about underlying protocol: – – TCP, UDP, X.25, frame, ATM, etc. – – Support of multicast

10 SIP Clients and Servers - 1 SIP uses client/server architecture Elements: – – SIP User Agents (SIP Phones) – – SIP Servers (Proxy or Redirect - used to locate SIP users or to forward messages.) Can be stateless or stateful – – SIP Gateways: To PSTN for telephony interworking To H.323 for IP Telephony interworking Client - originates message Server - responds to or forwards message

11 SIP Clients and Servers - 2 Logical SIP entities are: User Agents – – User Agent Client (UAC): Initiates SIP requests – – User Agent Server (UAS): Returns SIP responses Network Servers – – Registrar: Accepts REGISTER requests from clients – – Proxy: Decides next hop and forwards request – – Redirect: Sends address of next hop back to client The different network server types may be collocated

12 SIP Addressing Uses Internet URLs – –Uniform Resource Locators – –Supports both Internet and PSTN addresses – –General form is – –To complete a call, needs to be resolved down to – –Examples: sip:J.T. Kirk

13 SIP Session Setup Example 200 OK ACK INVITE host.wcom.comsip.uunet.com SIP User Agent Client SIP User Agent Server BYE 200 OK Media Stream

14 Proxy Server Example server.wcom.com 200 OK BYE 200 OK INVITE host.wcom.com 200 OK ACK INVITE sip.uunet.com SIP User Agent Client SIP Proxy Server SIP User Agent Server Media Stream

15 Redirect Server Example 302 Moved ACK Media Stream INVITE SIP User Agent Client SIP Redirect Server 180 Ringing ACK INVITE SIP User Agent Server REGISTER host.wcom.com sip.uunet.com 200 OK server.wcom.com 200 OK C RS UAS 1 2 3

16 SIP Requests SIP Requests (Messages) defined as: – –Method SP Request-URI SP SIP-Version CRLF (SP=Space, CRLF=Carriage Return and Line Feed) – –Example: INVITE SIP/2.0

17 SIP Requests Example Required Headers (fields): – – Via : Shows route taken by request. – – Call-ID : unique identifier generated by client. – – CSeq : Command Sequence number generated by client Incremented for each successive request INVITE SIP/2.0 Via: SIP/2.0/UDP host.wcom.com:5060 From: Alan Johnston To: Jean Luc Picard Call-ID: CSeq: 1 INVITE } Uniquely identify this session request

18 SIP Requests Example Typical SIP Request: INVITE SIP/2.0 Via: SIP/2.0/UDP host.wcom.com:5060 From: Alan Johnston To: Jean Luc Picard Call-ID: CSeq: 1 INVITE Contact: Subject: Where are you these days? Content-Type: application/sdp Content-Length: 124 v=0 o=ajohnston IN IP4 host.wcom.com s=Let's Talk t=0 0 c=IN IP m=audio RTP/AVP 0 3

19 SIP Responses SIP Responses defined as (HTTP-style): – –SIP-Version SP Status-Code SP Reason-Phrase CRLF (SP=Space, CRLF=Carriage Return and Line Feed) – –Example: SIP/ Not Found – –First digit gives Class of response:

20 SIP Responses Example Required Headers: – –Via, From, To, Call-ID, and CSeq are copied exactly from Request. – –To and From are NOT swapped! SIP/ OK Via: SIP/2.0/UDP host.wcom.com:5060 From: Alan Johnston To: Jean Luc Picard Call-ID: CSeq: 1 INVITE

21 SIP Responses Example Typical SIP Response (containing SDP) SIP/ OK Via: SIP/2.0/UDP host.wcom.com From: Alan Johnston To: Jean Luc Picard Call-ID: CSeq: 1 INVITE Contact: Subject: Where are you these days? Content-Type: application/sdp Content-Length: 107 v=0 o=picard IN IP4 uunet.com s=Engage! t=0 0 c=IN IP m=audio 3456 RTP/AVP 0

22 C Forking Proxy Example sip.mci.com ACK INVITE 404 Not Found 180 Ringing INVITE host.wcom.com 180 Ringing ACK sip.uunet.com SIP User Agent Client SIP Proxy Server SIP User Agent Server 2 SIP User Agent Server 1 proxy.wcom.com 100 Trying BYE 200 OK Media Stream 200 OK S1 S2Fork

23 SIP Headers - Partial List

24 SIP Headers - Continued

25 SIP Headers - Continued

26 Via Headers and Routing Via headers are used for routing SIP messages Requests – – Request initiator puts address in Via header – – Servers check Via with sender’s address, then add own address, then forward. (if different, add “ received ” parameter) Responses – – Response initiator copies request Via headers. – – Servers check Via with own address, then forward to next Via address

27 SIP Firewall Considerations Firewall Problem – – Can block SIP packets – – Can change IP addresses of packets TCP can be used instead of UDP Record-Route can be used: – – ensures Firewall proxy stays in path A Firewall proxy adds Record-Route header – – Clients and Servers copy Record-Route and put in Route header for all messages

28 SIP Message Body Message body can be any protocol Most implementations: – – SDP - Session Description Protocol – – RFC /98 by Handley and Jacobson – – Used to specify info about a multi-media session. – – SDP fields have a required order – – For RTP - Real Time Protocol Sessions: RTP Audio/Video Profile (RTP/AVP) payload descriptions are often used

29 SDP Examples SDP Example 1 v=0 o=ajohnston IN IP4 host.wcom.com s=Let's Talk t=0 0 c=IN IP m=audio RTP/AVP 0 3 SDP Example 2 v=0 o=picard IN IP4 uunet.com s=Engage! t=0 0 c=IN IP m=audio 3456 RTP/AVP 0

30 Another SDP Example v=0 o=alan IN host.wcom.com s=SSE University Seminar - SIP i=Audio, Listen only u= p= c=IN IP b=CT:128 t= m=audio 3456 RTP/AVP 0 3 a=type:recvonly

31 Authentication & Encryption SIP supports a variety of approaches: – – end to end encryption – – hop by hop encryption Proxies can require authentication: – – Responds to INVITE s with 407 Proxy- Authentication Required – – Client re- INVITE s with Proxy-Authorization header. SIP Users can require authentication: – – Responds to INVITE s with 401 Unathorized – – Client re- INVITE s with Authorization header

32 SIP Encryption Example INVITE SIP/2.0 Via: SIP/2.0/UDP host.wcom.com:5060 From: Alan Johnston To: Jean Luc Picard Call-ID: CSeq: 1 INVITE Content-Length: 224 Encryption: PGP version=2.6.2, encoding=ascii hWjasGdg,ddgg+fdgf_ggEO;ALewAKFeJqAFSeDlkjhasdf kj!aJsdfasdfKlfghgasdfasdfa|Gsdf>a!sdasdf3w2945 1k45mser?we5y;343.4kfj2ui2S8~&djGO4kP%Hk#(Khuje fjnjmbm.sd;da’l;12’;123=]aw;erwAo3529ofgk

33 PSTN Features with SIP Features implemented by SIP Phone – –Call answering: 200 OK sent – –Busy: 483 Busy Here sent – –Call rejection: 603 Declined sent – –Caller-ID: present in From header – –Hold: a re-INVITE is issued with IP Addr = – –Selective Call Acceptance: using From, Priority, and Subject headers – –Camp On: 181 Call Queued responses are monitored until 200 OK is sent by the called party – –Call Waiting: Receiving alerts during a call

34 PSTN Features with SIP Features implemented by SIP Server – –Call Forwarding: server issues 301 Moved Permanently or 302 Moved Temporarily response with Contact info – –Forward Don’t Answer: server issues 408 Request Timeout response – –Voic server 302 Moved Temporarily response with Contact of Voic Server – –Follow Me Service: Use forking proxy to try multiple locations at the same time – –Caller-ID blocking - Privacy: Server encrypts From information

35 SIP User Location Example Q=quality gives preference SIP/ Moved temporarily Contact: ;service=IP,voice mail ;service=IP,voice mail ;media=audio ;duplex=full ;q=0.7 ;media=audio ;duplex=full ;q=0.7 Contact : phone: ; service=ISDN ;mobility=fixed; language=en,es, ;q=0.5 ;mobility=fixed; language=en,es, ;q=0.5 Contact : phone: ; service=pager ;mobility=mobile ;mobility=mobile ;duplex=send-only ;media=text; q=0.1; priority=urgent ;duplex=send-only ;media=text; q=0.1; priority=urgent ;description=“For emergency only” ;description=“For emergency only” Contact : mailto: SIP supports mobility across networks and devices

36 SIP Mobility Support SIP Redirect Server SIP Proxy Server Foreign Network Mobile Host Home Network Corresponding Host INVITE moved temporarily 3, 4 INVITE 5, 6 OK 7 Data Global: Wire and wireless No tunneling required No change to routing For fast hand-offs use: Use Cellular IP or Use DRCP 7

37 SIP Mobility Pre-call mobility MH can find SIP server via multicast REGISTER MH acquires IP address via DHCP MH updates home SIP server Mid-call mobility MH->CH: New INVITE with Contact and updated SDP Re-registers with home registrar Need not bother home registrar: Use multi-stage registration Recovery from disconnects

38 Mobile IP Communications Mobile IP Requirements Transparency above L2: Move but keep IP address and all sessions alive Mobility – Within subnet – Within domain – Global AAA and NAIs Location privacy QoS for r.t. communications Evolution of Wireless Mobility Circuit Switched Mobility based on central INs LAN-MAN: Cellular IP Wide Area: Mobile IP Universal (any net): SIP

39 Presence, Instant Messaging and Voice

40 IP SIP Phones and Adaptors Are Internet hosts Choice of application Choice of server IP appliance Implementations 3Com (2) Cisco Columbia University Mediatrix (1) Nortel (3) Pingtel

41 SIP Summary SIP is: – – Relatively easy to implement – – Gaining vendor and carrier acceptance – – Very flexible in service creation – – Extensible and scaleable – – Appearing in products right now SIP is not: – – Going to make PSTN interworking easy – – Going to solve all IP Telephony issues (QoS)

42 References Book on “Internetworking Multimedia” by Jon Crowcroft, Mark Handley, Ian Wakeman, UCL Press, 1999 by Morgan Kaufman (USA) and Taylor Francis (UK) RFC 2543: “SIP: Session Initiation Protocol” ftp://ftp.isi.edu/in-notes/rfc2543.txt The IETF SIP Working Group home page SIP Home Page Papers on IP Telephony

43 Relevant IETF Working Groups Audio/Video Transport (avt) - RTP Differentiated Services (diffserv) – QoS in backbone IP Telephony (iptel) – CPL, GW location, TRIP Integrated Services (intserv) – end-to-end QoS Media Gateway Control (megaco) – IP telephony gateways Multiparty Multimedia Session Control (mmusic) – SIP, SDP, conferencing PSTN and Internet Internetworking (pint) – mixt services Resource Reservation Setup Protocol (rsvp) Service in the PSTN/IN Requesting InTernet Service (spirits) Session Initiation Protocol (sip) – signaling for call setup Signaling Transport (sigtran) – PSTN signaling over IP Telephone Number Mapping (enum) – surprises ! Instant Messaging and Presence Protocol (impp) This large work effort may cause the complete re-engineering of communication systems and services