You are on page 1of 2

Presence feature subscribing to Resource List (IMS Presence Subscription to a Resource List)

Watcher UE Watcher IMS Network Presentity IMS Networks


Watcher User Watcher Watcher Home Network Presentity1 Home Network Presentity2 Home Network EventStudio System Designer 4.0
Equipment Visited
Network
Watcher Watcher Watcher Resource List Presentity1 Presentity1 Presence Presentity2 Presentity2 Presence 12-Apr-08 09:28 (Page 1)
P-CSCF S-CSCF Server I-CSCF S-CSCF Server 1 I-CSCF S-CSCF Server 2
This sequence diagram was generated with EventStudio System Designer 4.0 (http://www.EventHelix.com/EventStudio). Copyright © 2008 EventHelix.com Inc. All Rights Reserved. The
EventStudio source files for this document can be downloaded from http://www.eventhelix.com/call-flow/ims-presence-resource-list.zip.
IP Multimedia Subsystem (IMS) provides a framework and building blocks for building advanced telecom services. One such service is network wide publication and subscription of
presence information. Users can subscribe to presence information for their contacts. If the contact accepts their request, the subscriber will be registered for presence notification.
Whenever the friend publishes presence information, the IMS presence framework will notify the subscribed users.

IMS presence information communication can put a lot of load on the network. One way to reduce this load is to predefine the list of friends and family. When you subscribe to the "friends
and family" list, a Resource List Server (RLS) in the IMS subscribes to the individual subscribers (presentities) on your behalf. Once the RLS completes the registrations, it collates the
individual presence status into a single NOTIFY message.
User subscribes to the Resource List Server (RLS)
SUBSCRIBE To initiate a subscription to the RLS, the UE
To = Resource List SIP
generates a SUBSCRIBE request indicating
URI, support for "eventlist", together with an
From = Watcher URI,
Event = Presence,
indication of the length of time this periodic
Supported = eventlist, subscription should last.
Route = <Watcher P-CSCF>

SUBSCRIBE The P-CSCF looks up the serving network


Event = presence,
information for the Watcher's public user
Request URI = Resource identity that was stored during the
List SIP URI,
Expires = 7200,
registration procedure. The SUBSCRIBE
Route = <Watcher request is forwarded to S-CSCF.
S-CSCF>,
From = Watcher URI

Analyze Resource List SIP URI


and determine Resource List
Application server
SUBSCRIBE Watcher S-CSCF performs an analysis of
Event = presence,
the Resource List SIP URI and forwards the
Request URI = Resource SUBSCRIBE request directly to the
List URI,
Expires = 7200,
Resource List's Application Server.
Route = <Watcher
P-CSCF>, <Watcher
S-CSCF>,
From = Watcher URI

Authorization of watcher The Presence Server (PS) performs the


necessary authorization checks on the
Watcher to ensure it is allowed to watch the
Resource List.
200 (OK) 200 (OK) 200 (OK) If all privacy conditions are met, PS sends a
200 (OK) response to the I-CSCF. 200 (OK)
is passed all the way to Watcher.
NOTIFY NOTIFY NOTIFY RLS generates a NOTIFY request including
Subscription Subscription Subscription
the subscription state as a result of the
state, state, state, SUBSCRIBE request. The NOTIFY gets
To = Watcher
URI,
To = Watcher
URI,
To = Watcher
URI,
routed to the watching subscriber via the
From = Resource From = Resource From = Resource S-CSCF and P-CSCF.
List SIP URI List SIP URI, List SIP URI,
Route = <Watcher Route = <Watcher
P-CSCF> S-CSCF>,
<Watcher P-CSCF>

Subscribe to the presence information of all the users on the resource list.
SUBSCRIBE After the Home RLS responds to the
Event = presence,
SUBSCRIBE request from the UE, it
Request URI = generates the necessary SUBSCRIBE
Presentity1 URI,
Expires = 7200,
requests to the presentities present in the
Route = <Watcher resource list.
S-CSCF>,
From = Home RLS

200 (OK) 200 (OK) 200 (Ok) The Watcher acknowledges the NOTIFY
request with a 200 (OK) to the P-CSCF. The
200 (OK) is passed to RLS.
Analyze Presentity URI and
determine Presentity I-CSCF
SUBSCRIBE Watcher S-CSCF performs an analysis of
Event = presence,
the Presentity URI and forwards the
Request URI = Presentity1 URI, SUBSCRIBE request directly to the
Expires = 7200,
Route = <Home RLS>, <Watcher S-CSCF>,
Presence PUA1's home network's CSCF i.e.
From = Watcher URI I-CSCF in the destination network.

Query HSS to translate from The Presentity I-CSCF sends a query to the
'Presentity URI' to 'Presentity1 HSS to find out the S-CSCF of the Presentity
S-CSCF' user. The HSS responds with the address of
the current S-CSCF for the Presentity.
SUBSCRIBE The Presentity1 I-CSCF forwards the
Event = presence,
SUBSCRIBE request to the Presentity1
Request URI = S-CSCF that will handle the termination.
Presentity1 URI,
Expires = 7200,
Route = <Presentity1
S-CSCF>,
From = Watcher URI

SUBSCRIBE The S-CSCF forwards the SUBSCRIBE


Event = presence,
request to the PS.
Request URI =
Presentity1 URI,
Expires = 7200,
Route = <Presentity1
S-CSCF>, <PS1>,
From = Watcher URI

Authorization of watcher The PS performs the necessary


authorization checks on the Watcher to
ensure it is allowed to watch the presentity.
200 (OK) 200 (OK) 200 (OK)
200 (OK)

The PS1 detects that Presentity1's UE has been switched off which modifies it presence state information.
NOTIFY PS sends a NOTIFY request with the current
To = Home RLS,
state of the presentity's presence
From = Presentity1 URI, information that the watcher has subscribed
Route = <Watcher S-CSCF>,
Event = presence,
and been authorized to.
Presence information

NOTIFY The Watcher S-CSCF forwards NOTIFY to


To = Home RLS,
Home RLS.
Record-Route = <Watcher
S-CSCF>,
Event = presence,
Presence information
Presence feature subscribing to Resource List (IMS Presence Subscription to a Resource List)
Watcher UE Watcher IMS Network Presentity IMS Networks
Watcher User Watcher Watcher Home Network Presentity1 Home Network Presentity2 Home Network EventStudio System Designer 4.0
Equipment Visited
Network
Watcher Watcher Watcher Resource List Presentity1 Presentity1 Presence Presentity2 Presentity2 Presence 12-Apr-08 09:28 (Page 2)
P-CSCF S-CSCF Server I-CSCF S-CSCF Server 1 I-CSCF S-CSCF Server 2
200 (OK)
200 (OK) The Home RLS generates a 200 (OK)
response to the NOTIFY request. The
message is passed to PS as shown.
SUBSCRIBE
Event = presence,
Request URI =
Presentity2 URI,
Expires = 7200,
Route = <Watcher
S-CSCF>,
From = Home RLS

Analyze Presentity URI and


determine Presentity I-CSCF
SUBSCRIBE SUBSCRIBE SUBSCRIBE The Resource List Server initiates a
Event = presence, Event = Event =
subscription request to the second user in
Request URI = Presentity2 URI, presence, presence, the Resource List.
Expires = 7200, Request URI = Request URI =
Route = <Home RLS>, <Watcher S-CSCF>, Presentity2 URI, Presentity2 URI,
From = Watcher URI Expires = 7200, Expires = 7200,
Route = Route =
<Presentity2 <Presentity2
S-CSCF>, S-CSCF>, <PS2>,
From = Watcher From = Watcher
URI URI

Authorization of watcher The PS performs the necessary


authorization checks on the Watcher to
ensure it is allowed to watch the presentity.
200 (OK) 200 (OK) 200 (OK)
200 (OK) If all privacy conditions are met, PS sends a
200 (OK) response to the S-CSCF. 200 (OK)
is passed all the way to Watcher.
NOTIFY
To = Home RLS,
From = Presentity2 URI,
Route = <Watcher S-CSCF>,
Event = presence,
Presence information

NOTIFY The presence server for the second user


To = Home RLS,
generates a NOTIFY request to update the
Record-Route = <Watcher subscription status.
S-CSCF>,
Event = presence,
Presence information

200 (OK)
200 (OK) The Home RLS generates a 200 (OK)
response to the NOTIFY request. The
message is passed to PS as shown.
Collate the subscription responses and notify the Watcher UE
NOTIFY NOTIFY NOTIFY The Home RLS copies the body of the
To = Watcher To = Watcher To = Watcher
incoming NOTIFY request(s) into the body
URI, URI, URI, of the outgoing NOTIFY request to Watcher.
From = Resource From = Resource From = Resource
List SIP URI, List SIP URI, List SIP URI,
Event = Route = <Watcher Route = <Watcher
presence, P-CSCF>, S-CSCF>,
Presence Event = <Watcher
information presence, P-CSCF>,
Presence Event =
information presence,
Presence
information

Update the presence


information for all users
in the NOTIFY message.
200 (OK) 200 (OK) 200 (Ok) The Watcher acknowledges the NOTIFY
request with a 200 (OK) to the P-CSCF. The
200 (OK) is passed to RLS.

You might also like