MSRP (The Message Session Relay Protocol) 姓名:張文萍 日期: 2007/04/02.

Slides:



Advertisements
Similar presentations
Re-INVITE Handling draft-camarillo-sipping-reinvite-00.txt
Advertisements

Message Sessions Draft-campbell-simple-im-sessions-01 Ben Campbell
NETW-250 Troubleshooting Last Update Copyright Kenneth M. Chipps Ph.D. 1.
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.
CCNA – Network Fundamentals
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.
Real-time Transport Protocol (RTP) Recommendations for SIPREC (draft-eckel-siprec-rtp-rec-01) Charles Eckel IETF-81, Quebec City, July.
Session Initiation Protocol (SIP) By: Zhixin Chen.
Chapter 6: Distributed Applications Business Data Communications, 5e.
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.
SIP 逄愛君 SIP&SDP2 Industrial Technology Research Institute Computer & Communication Research Laboratories Elgin Pang Outline.
1 The HyperText Transfer Protocol: HTTP Nick Smith Stuart Alley Tara Tjaden.
1 Extending SIP Speaker: Hsuan-Ming Chen Adviser: Ho-Ting Wu Date: 2005/04/26.
Introduction to SIP Speaker: Min-Hua Yang Advisor: Ho-Ting Wu Date:2005/3/29.
AARNet Copyright 2011 Network Operations SDP Deep Dive Bill Efthimiou APAN33 SIP workshop February 2012.
Via contains the address at which the originator is expecting to receive responses to this request. Mandatory To contains a display name and a SIP URI.
July 30, 2010SIPREC WG1 SIP Call Control - Recording Extensions draft-johnston-siprec-cc-rec-00 Alan Johnston Andrew Hutton.
4 August 2005draft-burger-simple-imdn-011 Instant Message Delivery Notification (IMDN) for Presence and Instant Messaging (CPIM) Messages draft-burger-simple-imdn-01.
Presented by Zhi-Hong Guo Instructed by Assistant Professor Quincy Wu
Session-ID Requirements for IETF84 draft-ietf-insipid-session-id-reqts-00 1 August 2012 Paul Jones, Gonzalo Salgueiro, James Polk, Laura Liess, Hadriel.
Session Initiation Protocol Tutorial Ronen Ben-Yossef VP of Products - RADCOM
SIP Action Referral Rifaat Shekh-Yusef Cullen Jennings Alan Johnston Francois Audet 1 IETF 80, SPLICES WG, Prague March 29, 2011.
Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh.
Session Initiation Protocol Team Members: Manjiri Ayyar Pallavi Murudkar Sriusha Kottalanka Vamsi Ambati Girish Satya LeeAnn Tam.
NAT Traversal Speaker: Chin-Chang Chang Date:
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 4 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
All rights reserved © 1999, Alcatel, Paris. page n° 1 SIP for Xcast SIP for the establishment of xcast-based multiparty.
Presence and IM using sip
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.
Session Initiation Protocol (SIP). What is SIP? An application-layer protocol A control (signaling) protocol.
Improving the Routing Efficiency of SIP Instant Message SIP 即時傳訊之繞送效能研究 adviser : Quincy Wu speaker : Wenping Zhang date :
IP Multicast A convention to identify a multicast address Each node must translate between an IP multicast address and a list of networks that contain.
University of the Western Cape Chapter 12: The Transport Layer.
Presented By Team Netgeeks SIP Session Initiation Protocol.
Team Members Atcharawan Jansprasert Padmoja Roy Rana Almakabi Ehsan Eslamlouevan Manya Tarawalie.
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.
Real-time Transport Protocol (RTP) Recommendations for SIPREC (draft-eckel-siprec-rtp-rec-02) Charles Eckel SIPREC Virtual Interim.
Toshiba Confidential 1 Presented by: Philipe BC Da’Silva SESSION INITIATION PROTOCOL.
Session Initiation Protocol (SIP) Chapter 5 speaker : Wenping Zhang data :
SIP working group IETF#70 Essential corrections Keith Drage.
SIP and SIPPING WGsMay, IETF Interim Meeting Orit levin Conferencing Requirements for SIP Based Applications.
IETF-81, Quebec City, July 25-29, 2011
Interactive Connectivity Establishment : ICE
SAML for SIP Hannes Tschofenig, Jon Peterson, James Polk, Douglas Sicker, Marcus Tegnander.
MSRP & Relays Ben Campbell Cullen Jennings Rohan Mahy.
File Transfer Services in the Context of SIP Based Communication Markus Isomäki draft-isomaki-sipping-file-transfer-00.
Teacher:Quincy Wu Presented by: Ying-Neng Hseih
1 RFC4028 Session Timer in the Session Initiation Protocol Speaker : Ying Shun Lin Adviser : Quincy Wu.
SIP file directory draft-garcia-sipping-file-sharing-framework-00.txt draft-garcia-sipping-file-event-package-00.txt draft-garcia-sipping-file-desc-pidf-00.txt.
MSRP Again! draft-ietf-simple-message- session-09.
IEEE MEDIA INDEPENDENT HANDOVER DCN: Title: ID Definition Date Submitted: July 14, 2006 Presented at IEEE session in San.
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
The Session Initiation Protocol - SIP
1 SIPREC Protocol draft-portman-siprec-protocol Virtual interim meeting Dec 16, 2010 Authors: L. Portman, H. Lum.
S Postgraduate Course in Radio Communications. Application Layer Mobility in WLAN Antti Keurulainen,
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.
Speaker:Wenping Zhang Date:2008/01/23
draft-ietf-simple-message-sessions-00 Ben Campbell
Session Initiation Protocol
draft-ietf-simple-message-session-09
Session Initiation Protocol (SIP)
Chapter 6: Distributed Applications
Presentation transcript:

MSRP (The Message Session Relay Protocol) 姓名:張文萍 日期: 2007/04/02

2 outline Introduction Applicability Protocol Overview MSRP Framing and Message Chunking MSRP Transaction and Report Model Response Code Descriptions References

3 Introduction (1/5) This document came from “draft-ietf-simple- message-sessions-16”. A series of related instant messages between two or more parties can be viewed as part of a "message session".

4 Introduction (2/5) Messaging schemes that track only individual messages can be described as "page-mode" messaging, whereas messaging that is part of a "session" with a definite start and end is called "session-mode" messaging. UA! Proxy UA2UA! Proxy UA2 SIP MSRP Page-mode Session-mode

5 Introduction (3/5) Session-mode messaging has a number of benefits over page-mode messaging, such as  explicit rendezvous  tighter integration with other media-types  direct client-to-client operation  security

6 Introduction (4/5) This document defines a session-oriented instant message transport protocol called the Message Session Relay Protocol (MSRP). The exchange is carried by some signaling protocol, such as the Session Initiation Protocol (SIP). This allows a communication user agent to offer a messaging session as one of the possible media-types in a session.

7 Introduction (5/5) SIP can use an offer/answer model to transport the MSRP URIs for the media in SDP. This document defines how the offer/answer exchange works to establish MSRP connections and how messages are sent across the MSRP protocol.

8 Applicability (1/2) MSRP is not designed for use as a standalone protocol. MSRP must be used only in the context of a rendezvous mechanism meeting the following requirements:  The rendezvous mechanism MUST provide both MSRP URIs associated with an MSRP session to each of the participating endpoints.  The rendezvous mechanism MUST provide mechanisms for the negotiation of any supported MSRP extensions.  The rendezvous mechanism MUST be able to natively transport im: URIs or automatically translate im: URIs into the addressing identifiers of the rendezvous protocol.

9 Applicability (2/2) To use a rendezvous mechanism with MSRP, an RFC MUST be prepared describing how it exchanges MSRP URIs and meets these requirements listed here. This document provides such a description for the use of MSRP in the context of SIP and SDP.

10 Protocol Overview (1/2) MSRP is a text-based, connection-oriented protocol for exchanging arbitrary (binary) MIME content, especially instant messages. MSRP sessions are typically arranged using SIP the same way a session of audio or video media is set up.

11 AliceBob INVITE INVITE SIP/2.0 To: From: ;tag=786 Call-ID: 3413an89KU Content-Type: application/sdp c=IN IP4 atlanta.example.com m=message 7654 TCP/MSRP * a=accept-types:text/plain a=path:msrp://atlanta.example.com:7654/jshA7weztas;tcp 200 OK SIP/ OK To: ;tag=087js From: ;tag=786 Call-ID: 3413an89KU Content-Type: application/sdp c=IN IP4 biloxi.example.com m=message TCP/MSRP * a=accept-types:text/plain a=path:msrp://biloxi.example.com:12763/kjhd37s2s20w2a;tcp ACK ACK SIP/2.0 To: ;tag=087js From: ;tag=786 Call-ID: 3413an89KU

12 Protocol Overview (2/2) MSRP defines two request types, or methods.  SEND requests are used to deliver a complete message or a chunk (a portion of a complete message), while REPORT requests report on the status of a previously sent message, or a range of bytes inside a message.

13 MSRP a786hjs2 SEND To-Path: msrp://biloxi.example.com:12763/kjhd37s2s20w2a;tcp From-Path: msrp://atlanta.example.com:7654/jshA7weztas;tcp Message-ID: Byte-Range: 1-25/25 Success-Report: yes Failure-Report: no Content-Type: text/plain Hey Bob, are you there? a786hjs2$ MSRP dkei38sd REPORT To-Path: msrp://atlanta.example.com:7654/jshA7weztas;tcp From-Path: msrp://biloxi.example.com:12763/kjhd37s2s20w2a;tcp Message-ID: Byte-Range: 1-25/25 Status: OK a786hjs2$ the path of URIs to the destination in the To-Path header field own URI in the From-Path header field the request with an end-line of seven hyphens, the transaction identifier and a "$" to indicate this request contains the end of a complete message the Byte-Range header field identifies the portion of the message carried in this chunk and the total size of the message

14 MSRP Framing and Message Chunking (1/2) Messages sent using MSRP can be very large and can be delivered in several SEND requests, where each SEND request contains one chunk of the overall message. There is a Byte-Range header field in the request that indicates that the overall position of this chunk inside the complete message. The Byte-Range header field value contains a starting value (range-start) followed by a "-", an ending value (range-end) followed by a "/", and finally the total length.  The first octet in the message has a position of one, rather than a zero.

15 MSRP Framing and Message Chunking (2/2) For example, the following snippet of two SEND requests demonstrates a message that contains the text "abcdEFGH" being sent as two chunks. MSRP dkei38sd SEND Message-ID: 4564dpWd Byte-Range: 1-*/8 Content-Type: text/plain abcd dkei38sd+ MSRP dkei38ia SEND Message-ID: 4564dpWd Byte-Range: 5-8/8 Content-Type: text/plain EFGH dkei38ia$

16 MSRP Transaction and Report Model A sender sends MSRP requests to a receiver. The receiver MUST quickly accept or reject the request. There are two important concepts here:  first, the hop-by-hop delivery of the request may succeed or fail The first type of status is referred to as "transaction status" and may be returned in response to a request.  second, the end result of the request may be successfully processed or not The second type of status is referred to as "delivery status" and may be returned in a REPORT transaction.

17 Response Code Descriptions This summarizes the semantics of various response codes that may be used in the Status header field in REPORT requests.  indicates a successful transaction  indicates a request was unintelligible  indicates that the receiver wishes the sender to stop sending the message

18 References The Message Session Relay Protocol (draft-ietf-simple-message-sessions-16)draft-ietf-simple-message-sessions-16 draft-ietf-simple-message-sessions

19 END