R93922010 Sheng-kai Lin R93922025 Jun-Cheng Chen R93922044 …acpang/course/voip_2005/... · 2005....

45
Lin, Chen, and Xie@NTUCSIE 2005 1 Mobile SIP Introduction R93922010 Sheng-kai Lin R93922025 Jun-Cheng Chen R93922044 Jun-Wei Xie

Transcript of R93922010 Sheng-kai Lin R93922025 Jun-Cheng Chen R93922044 …acpang/course/voip_2005/... · 2005....

  • Lin, Chen, and Xie@NTUCSIE 2005 1

    Mobile SIP IntroductionR93922010 Sheng-kai LinR93922025 Jun-Cheng ChenR93922044 Jun-Wei Xie

  • Lin, Chen, and Xie@NTUCSIE 2005 2

    References (I)

    • E. Wedlund, H. Schulzrinne, “Mobility support using SIP”, 2nd ACM/IEEE International Conference on Wireless and Mobile Multimedia, Seattle, Washington, Aug. 1999– http://www.argreenhouse.com/sip-mobile/

    • H. Schulzrinne, E. Wedlund, “Application layer mobility using SIP”,Mobile Computing and Communications Review, Volume 4, Number 3

  • Lin, Chen, and Xie@NTUCSIE 2005 3

    References (II)

    • Dimitra Vali, Sarantis Paskalis, AlexandrosKaloxylos, Lazaros Merakos, An Efficient Micro-Mobility Solution for SIP Networks, GLOBECOM 2003

    • Dimitra Vali, Sarantis Paskalis, AlexandrosKaloxylos, Lazaros Merakos, A SIP-based Method for Intra-Domain Handoffs, Vehicular Technology Conference, 2003. VTC 2003-Fall

  • Lin, Chen, and Xie@NTUCSIE 2005 4

    Outline

    • Introduction• Mobile SIP• Micro-mobility Scheme for Mobile SIP • Comparison between Mobile IP and

    Mobile SIP

  • Lin, Chen, and Xie@NTUCSIE 2005 5

    Introduction

    • Mobile SIP• Support IP mobility at application layer

    • Only a few modifications are needed• SIP can intrinsically handle user mobility via

    URI• Easy for widely deployment

  • Lin, Chen, and Xie@NTUCSIE 2005 6

    Mobility Types

    • Four types: terminal, service, personal, and session mobility.

    • Terminal mobility – It enables an end user to access the network even

    when the point of attachment of the terminal to the network changes.

    – The objective is to enable the user to maintain any ongoing session (s), while roaming across networks.

  • Lin, Chen, and Xie@NTUCSIE 2005 7

    Mobility Types

    • Service mobility– It enables an end user to have undisrupted

    access to services even when the user moves or changes network service providers.

    • Personal mobility – It allows an end user to maintain contact and

    to access subscriber services even with another terminal

  • Lin, Chen, and Xie@NTUCSIE 2005 8

    Session Mobility

    • Session mobility allows a user to maintain a media session even while changing terminals.

  • Lin, Chen, and Xie@NTUCSIE 2005 9

    Outline

    • Introduction• Mobile SIP• Micro-mobility Scheme for Mobile SIP • Comparison between Mobile IP and

    Mobile SIP

  • Lin, Chen, and Xie@NTUCSIE 2005 10

    SIP Support for Terminal Mobility

    • SIP-based mobility is less suitable for TCP-based applications

    • Does not require to add capabilities to existing operation system nor the installation of home agents or dynamic DNS update in the user’s ISP.

  • Lin, Chen, and Xie@NTUCSIE 2005 11

    Pre-Call Mobility

    • The mobile host acquires a new address prior to receiving or making a call.

    • The MH simply re-registers with its “home” registrar each time it obtains a new IP address.

    • The only problem is the ability to detect when the IP address has changed.

  • Lin, Chen, and Xie@NTUCSIE 2005 12

    Mid-Call Mobility (I)

    • The moving MH sends another INVITE request to the correspondent host, without going through any intermediate SIP proxies.

  • Lin, Chen, and Xie@NTUCSIE 2005 13

    Mid-Call Mobility (II)

    • Fast hand-off:– MH advertise the address of the proxy or an

    RTP translator affiliated with the proxy as the media destination

    – The proxy rewrite the network address in the session description

    – The RTP translator intercepts the media packets and directs them to the current location of the MH

  • Lin, Chen, and Xie@NTUCSIE 2005 14

    Network Partition

    • If the network partition lasts less than about 30 second, SIP will recover without further mechanisms.

    • If the network partition lasts longer, each side should address the SIP INVITE request to the canonical address, the home proxy of the other side.

  • Lin, Chen, and Xie@NTUCSIE 2005 15

    Hierarchical Registration

  • Lin, Chen, and Xie@NTUCSIE 2005 16

    Service Mobility

    • Service mobility allows users to maintain access to their services even while moving or changing device and network service providers.

    • The architecture is predicated on having a “home” server, associated with the user’s address

    • Only user’s end system can be used to propagate service information

  • Lin, Chen, and Xie@NTUCSIE 2005 17

    Service Mobility (continued)

    • Registration conveys tree pieces of information:– Current network address– Properties of the device– One or more user configuration elements

    • User agent also upload its timestamped version of the configuration information

  • Lin, Chen, and Xie@NTUCSIE 2005 18

    Personal mobility

    • Personal mobility allows to address a single user located at different terminals by the same logical address.– URI

  • Lin, Chen, and Xie@NTUCSIE 2005 19

    Session Mobility

    • In the simplest approach, end system are configured by the primary end system, which then conveys their IP and ports to the other party using a new INVITE request.

  • Lin, Chen, and Xie@NTUCSIE 2005 20

    Session Mobility –Third-party call control

  • Lin, Chen, and Xie@NTUCSIE 2005 21

    Session Mobility –Call transfer

    • Using REFER request, end system indicates the other end system to the correspondent host

    • Correspondent host then negotiates a session with the new end system with regular INVITE request

  • Lin, Chen, and Xie@NTUCSIE 2005 22

    Outline

    • Introduction• Mobile SIP• Micro-mobility Scheme for Mobile SIP • Comparison between Mobile IP and

    Mobile SIP

  • Lin, Chen, and Xie@NTUCSIE 2005 23

    Why the Micro-scheme ?

    • The connection reestablishment after a hand-off results in long delay and signaling overhead.– The micro-mobility scheme is needed to

    handle intra-domain handoffs.• QoS issue for Mobile IP and Mobile SIP

    – The micro-mobility schemes can facilitate fast local establishment of reserved resource while preserving the backbone reservations.

  • Lin, Chen, and Xie@NTUCSIE 2005 24

    HMSIP

    • Hierarchical Mobile SIP– “An Efficient Micro-Mobility Solution for

    SIP Networks, GLOBECOM 2003”– Reduce the delay and minimize the overhead

    of the intra-domain.– Combine other effort for QoS flow

  • Lin, Chen, and Xie@NTUCSIE 2005 25

    HMSIP Overview

    • Build on previously mentioned “SIP Hierarchical Registration”

    • A border entity (Mobility Agent, MA) is responsible for intra-domain mobility

  • Lin, Chen, and Xie@NTUCSIE 2005 26

    HMSIP (II)

    • There’re two address to a MH– Local Address, LA– Global Domain Address, DA

    • Global routable IP address

    • The SIP MA enhanced with the functionality of a SIP Proxy/B2BUA and a SIP Registrar.

  • Lin, Chen, and Xie@NTUCSIE 2005 27

    Registration

    • Build on previously mentioned “SIP Hierarchical Registration”

    • Power on in a visiting domain– Local address allocation– Regional registration– Domain Address Allocation– Home Registration

  • Lin, Chen, and Xie@NTUCSIE 2005 28

    Registration (Conti.)

    • Incoming SIP calls are directed to DA.• Encapsulation of respective SIP signaling

    for incoming and outgoing SIP calls takes place inside the domain between the SIP MA and the current location (LA) of the MH

  • Lin, Chen, and Xie@NTUCSIE 2005 29

    Intra-domain hand-off

    • When handing off to a new AR, it compares the address of MA to decide if in the same domain.

    • Updating the DA-LA mapping is required when intra-domain hand-off occurrs.

  • Lin, Chen, and Xie@NTUCSIE 2005 30

    Inter Domain handoff

    • A new LA is allocated by AR and a new DA by SIP MA.

    • The session reestablishment takes place for on-going SIP sessions.

    • CH is informed the new address of MA

  • Lin, Chen, and Xie@NTUCSIE 2005 31

    QoS Flows (I)

    • In QoS-enabled communication, reserved resources are often needed to maintain the QoSguarantees of the flows.

    • In mobility situations, where the IP address of any of the endpoints changes, reservations need to be re-established end-to-end

  • Lin, Chen, and Xie@NTUCSIE 2005 32

    HMSIP and Mobility of QoSFlows (II)

    • HMSIP is similar in concept to other mirco-mobility protocols, it retains the benefit of a constant IP for movement inside the domain.– No modifications are required for RSVP-

    enabled routers in the exterior network.

  • Lin, Chen, and Xie@NTUCSIE 2005 33

    Outline

    • Introduction• Mobile SIP• Micro-mobility Scheme for Mobile SIP• Comparison between Mobile IP and

    Mobile SIP

  • Lin, Chen, and Xie@NTUCSIE 2005 34

    Mobile IP (I)

    • Mobile IP– Pros

    • It makes mobility transparent to layers above IP and also enables the maintenance of active TCP connections.

    – However, Mobile IP has some well-known limitations, especially when it comes to multimedia applications.

  • Lin, Chen, and Xie@NTUCSIE 2005 35

    Mobile IP (II)

    • Cons:– Triangle routing

    • It increase the latency by 45% within a campus– Tunneling overhead

    • An 20-byte IP header will be added to each packet

    – Imperfections of route optimization– Mobile node needs a permanent home

    address.

  • Lin, Chen, and Xie@NTUCSIE 2005 36

    Home Agent (HA)

    CorrespondentNode (CN)

    Mobile Node (MN)

    Packets to MN are picked up by the HAand tunneled to MN

    Packets sent by MN godirectly to CN

    • Triangle Routing in Mobile-IP

  • Lin, Chen, and Xie@NTUCSIE 2005 37

    Home Agent (HA)

    CorrespondentNode (CN)

    Mobile Node (MN)

    • Triangle Routing in Mobile-IP

    C

    A B

    Triangular routing can be very inefficient, especially whenC

  • Lin, Chen, and Xie@NTUCSIE 2005 38

  • Lin, Chen, and Xie@NTUCSIE 2005 39

    Mobile SIP (I)• Pros

    – Packet tunneling and modification of protocol stack in the MN are not required

    – Improve the performance of real-time application

    – The use of Mobile SIP could also compensate for the current lack of wide deployment of Mobile IP

  • Lin, Chen, and Xie@NTUCSIE 2005 40

    Mobile SIP (II)

    – Cons• TCP connection will break during handoff• SIP based IP mobility support requires some

    modification on the kernel level to trigger location registration in the application layer protocol from detection of L2 handoff.

  • Lin, Chen, and Xie@NTUCSIE 2005 41

    Mobile IP vs Mobile SIP

  • Lin, Chen, and Xie@NTUCSIE 2005 42

    Mobile SIP with (Mobile) IP• Mobile SIP can be combined with IP or with

    Mobile IP• Mobile SIP with IP

    – Breaks TCP connections• Mobile SIP with Mobile IP

    – TCP connections are OK, but is inefficient– Duplicated network functionality and stored user

    data• Mobile SIP with IP and Mobile IP

    – With IP for UDP communications and short-lived TCP connections

    – With Mobile IP for long-lived TCP connections

  • Lin, Chen, and Xie@NTUCSIE 2005 43

    Mobile IP vs Mobile SIP (I)

    Optimized routing without tunneling

    Triangular routing with tunneling

    Routing

    Logical address and contact address

    Home address and care-of-address

    AddressApplication layerNetwork layerLayerNon-transparentTransparentMove type

    Mobile SIPMobile IP

  • Lin, Chen, and Xie@NTUCSIE 2005 44

    Mobile IP vs Mobile SIP (II)

    Application LayerModify TCP/IP Implementation difficulty

    End-to-end and registration server

    Through home agent

    Address resolution

    Mobile SIPMobile IP

  • Lin, Chen, and Xie@NTUCSIE 2005 45