Ims 071024
Ims 071024
Subsystem (IMS)
The circuit-switched
network can establish
connections between
terminals
Circuit-switched
network
(2G or 3G)
Packet-switched
network ?
(GPRS or 3G)
IP Multimedia Core
finds the other
Circuit-switched terminal and connects
Find and network the terminals with IP
connect (2G or 3G)
IP Multimedia
Subsystem
SIP SIP
Packet-switched
network
(GPRS or 3G)
IP Multimedia Core
finds the other
Circuit-switched terminal and connects
Find and network the terminals with IP
connect (2G or 3G)
IP Multimedia
Subsystem
SIP SIP
Packet-switched
network
(GPRS or 3G)
IP Multimedia Core
finds the other
terminal and connects
Find and SIP proxy the terminals with IP
connect
IP Multimedia
Subsystem
SIP SIP
Packet-switched
network
(GPRS or 3G)
Internet
Mb
SIP phone
ISC Mb
Radio PS Gi/Mb
Cx MGW
Network MRF Mb
UE Go I-CSCF Mp
GGSN
SGSN HSS TDM
IMS ISUP PSTN
Cx
Mw Mg Mn
PS Mw
WLAN P-CSCF
AP
WLAN CPE
UE PDG S-CSCF
P-CSCF SGW
Mw
• S-CSCF – Serving Call/Session Cx
Control Function P-CSCF
Mw HSS
• P-CSCF – Proxy Call/Session MRFP
Dx
Control Function Mw
S-CSCF
Cx
• I-CSCF – Interrogating Call/Session Mw SLF
Dx
Control Function Mw
Mi
Mk SGW
P-CSCF
Interworking Elements Mj
Media server
• MRFC – Media Resource Function Mr
SIP-AS OSA-SCS Sh IM-SSF MRFC
Controller Sh Si
• MRFP – Media Resource Function ISC Mp
ISC ISC
Processor
Mw
Cx
P-CSCF
Mw HSS
Dx MRFP
S-CSCF
Application Servers Mw
Cx
Mw Dx SLF
• SIP AS – Session Initiation Protocol Mw
Application Server Mi
Mk SGW
• OSA-SCS AS – Open Service P-CSCF
Architecture Service Capability Mj
Server
• IM-SSF AS – IP Multimedia Service I-CSCF BGCF MGCF
Switching Function Mn
MGW
Mw
• Service profile P-CSCF
Cx
Mw HSS
• Considered an evolution of the GSM HLR Dx MRFP
S-CSCF
Mw
Cx
• Acts as a Diameter server Mw Dx SLF
Mw
• Protocol: Diameter Mk
Mi
SGW
P-CSCF
Mj
Mw
Mj
• Triggers services (but do not execute them)
• Applies network and user related policy I-CSCF BGCF MGCF
Mn
Mw
Cx
• Acts as a Diameter client towards the P-CSCF
Mw HSS
SLF/HSS S-CSCF
Dx MRFP
Mw
Cx
• Queries the HSS to find out the S-CSCF Mw Dx SLF
Mw
allocated to the user Mk
Mi
SGW
P-CSCF
• Generates charging records Mj
MGW
media streams Mj
forwarding time
Gx
• Performs credit control
Gy
• Protocols: Diameter Gz
GGSN (incl.
PCEF)
Offline Charging
System
Mj
• Protocols: SIP, H.248
I-CSCF BGCF MGCF
• Mixes media
MGW
• Offers media resources (e.g., announcements)
• Provides floor control
• Protocols: RTP, MSRP, H.248
19 © Nokia Siemens Networks IMS / Miguel A. Garcia-Martin / October 2007
Interworking with CS networks
H.248
PCM
IMS PSTN
RTP Telephone
MGW
ISUP/IP Telephone
• Locates a CS gateway operator
• Another BGCF located in visited/3rd party
network SIP SIP
Telephone
• Does B-number analysis BGCF MGCF Switch
H.248
• Generates charging records SIP SIP
IMS PSTN
RTP Telephone
MGW
Signaling Gateway
• Bridges lower layers:
• ISUP/SCTP/IP <-> ISUP/MTP
SGW
• BICC/SCTP/IP <-> BICC/MTP ISUP/MTP
ISUP/IP Telephone
• Protocols: MTP, SCTP
SIP SIP
Telephone
Media Gateway BGCF MGCF Switch
H.248
• Translates Real-Time Protocol (RTP) to PCM
Application Servers
OSA AS gsmSCF
• Services are executed in Application Servers
• The S-CSCF involves one more ASes in the
session signaling
• Three types of Application Servers
• SIP AS: native to IMS OSA-SCS SIP AS IM-SSF
Sh
• OSA-SCS AS, IM SCF: legacy services ISC Sh
Si
• All three types exhibit the same behavior towards ISC
ISC
the S-CSCF
• ASes interface the S-CSCF and the HSS HSS
HSS
S-CSCF
IM-SSF AS
OSA AS gsmSCF
• Interfaces IMS with legacy Intelligent Network
(IN) services
• From the IN perspective, it acts as a Service
Switching Function (SSF)
• From IMS perspective, it acts as a SIP node
OSA-SCS SIP AS IM-SSF
• Executes legacy IN services Sh
Sh
ISC
Si
• May interface the HSS to retrieve user data ISC
ISC
• Protocols: SIP, CAP (CAMEL Application
Protocol), Diameter (charging) HSS
S-CSCF
OSA-SCS AS
OSA AS gsmSCF
• Interfaces IMS with legacy Open Service Access
application servers
• OSA is capable of providing authentication for
third party service providers
• From IMS perspective, it acts as a SIP node
OSA-SCS SIP AS IM-SSF
• Executes legacy OSA services Sh
Sh
ISC
Si
• May interface the HSS to retrieve user data ISC
ISC
• Protocols: SIP, Diameter
HSS
S-CSCF
Mw
protocol P-CSCF
Mk
Mi
SGW
Mx
Mj
Mx
Transition Gateway
I-CSCF BGCF MGCF
Mn
• Provides IPv4/IPv6 interworking in the media IMS-ALG
Ix
path
MGW
• Acts as a NAT-PT/NAPT-PT (Network Address
Port Translator – Protocol Translator). TrGW
ISC
Dx Cx Cx
Gm Mw Mw Mr
PDF
Mi
Go MRFP
SGSN GGSN
Mj
ISC
Dx Cx Cx
Gm Mw Mw Mr
PDF
Mi
Go MRFP
SGSN GGSN
Mj
SLF HSS AS
ISC
Dx Cx Cx
Diameter
Gm Mw Mw Mr
H.248
Compression Mi
Diameter for
Go SIP MRFP
Policy Control
GGSN
Mj
H.248 Mc
MGW
• User plane in IMS is generally sent end to end (e.g., UE to UE, UE to MGW, or
UE to MRFP)
• Audio and video protocols are sent over the Real-time Transport Protocol
(RTP)
• The companion Real-time Transport Control Protocol (RTCP) is used to get
feedback of the media reception
• Mandatory codecs in IMS:
– AMR narrowband
– Telephone event (RFC 2833) to send DTMF signals
– If wideband is supported, then AMR wideband is mandatory
– If video is supported, then H.263 baseline is mandatory; H.263 version 2 profile 3 and
MPEG-4 visual are optional
– If text telephony is supported, then T.140 is mandatory
• Lately, the Message Session Relay Protocol (MSRP) has been added to carry
instant messages
11. INVITE
2. INVITE
9. INVITE
HSS I-CSCF S-CSCF AS
10. INVITE
3. INVITE
8. INVITE
4. INVITE
7. Diameter
AS S-CSCF 6. INVITE I-CSCF LIR/LIA HSS
5. INVITE
Private User
Identity -2
Public User
Identity -3
1. REGISTER P-CSCF
8. 401 Unauthorized
2. REGISTER
7. 401 Unath.
3. Diameter
HSS UAR/UAA I-CSCF
4. REGISTER
5.
6. 401 Unath.
M Dia
AR m
/M eter
AA
AS S-CSCF
Home Network A
42 © Nokia Siemens Networks IMS / Miguel A. Garcia-Martin / October 2007
IMS registration (2)
Visited Network A
1. REGISTER P-CSCF
8. 200 OK
2. REGISTER
7. 200 OK
3rd party
3. Diameter
registration: HSS UAR/UAA I-CSCF
Informs the AS
4. REGISTER
about the user 5.
M Dia
6. 200 OK
registration AR m
/M eter
AA
9. REGISTER
AS S-CSCF
10. 200 OK
Home Network A
43 © Nokia Siemens Networks IMS / Miguel A. Garcia-Martin / October 2007
Registration flow
IMS
P-CSCF I-CSCF HSS S-CSCF
Terminal
(1) REGISTER
(2) REGISTER (3) Diameter
UAR
(4) Diameter
UAA
(5) REGISTER
(6) Diameter
MAR
(7) Diameter
MAA
(8) 401 Unauthorized
(9) 401 Unauthorized
(10) 401 Unauthorized
(11) REGISTER
(12) REGISTER (13) Diameter
UAR
(14) Diameter
UAA
(15) REGISTER
(16) Diameter
SAR
(17) Diameter
SAA
(18) 200 OK
(19) 200 OK
(20) 200 OK
11. INVITE
2. INVITE
9. INVITE
HSS I-CSCF S-CSCF AS
10. INVITE
3. INVITE
8. INVITE
4. INVITE
7. Diameter
AS S-CSCF 6. INVITE I-CSCF LIR/LIA HSS
5. INVITE
IMS IMS
P-CSCF S-CSCF I-CSCF HSS S-CSCF P-CSCF
Terminal #1 Terminal #2
(1) INVITE
(2) 100 (3) INVITE
Trying (4) 100
Trying
Evaluation of
initial filter criteria
(5) INVITE
(6) 100
Trying (7) Diameter
LIR
(8) Diameter
LIA
(9) INVITE
(10) 100 Trying
Evaluation of
initial filter criteria
(11) INVITE
(12) 100
Trying (13) INVITE
(14) 100
Trying Pre-alert
user
(15) 183
(16) 183 Session
Session Progress
(18) 183 (17) 183 Sesssion Progress Progress
(19) 183 Session
(20) 183 Session Progress
Session Progress
Progress
IMS IMS
P-CSCF S-CSCF I-CSCF HSS S-CSCF P-CSCF
Terminal #1 Terminal #2
(20) 183
Session
Progress
(21) PRACK
Resource Reservation
(22) PRACK
(23) PRACK
(24) PRACK
(25) PRACK
(26) 200 OK
Resource Reservation
(27) 200 OK
(28) 200 OK
(29) 200 OK
(30) 200 OK
(31) UPDATE
(32) UPDATE
(33) UPDATE
(34) UPDATE
(35) UPDATE
(36) 200 OK Alert
(37) 200 OK
(38) 200 OK user
(39) 200 OK
(40) 200 OK
IMS IMS
P-CSCF S-CSCF I-CSCF HSS S-CSCF P-CSCF
Terminal #1 Terminal #2
Alert
(41) 180 user
(42) 180 Ringing
(43) 180 Ringing Ringing
(44) 180
(45) 180 Ringing
(46) 180 Ringing
Ringing
(47) PRACK
(48) PRACK
(49) PRACK
(50) PRACK
(51) PRACK
(52) 200 OK
(53) 200 OK
(54) 200 OK
(55) 200 OK Accept
(56) 200 OK
(57) 200 OK session
(58) 200 OK
(59) 200 OK
(60) 200 OK
(61) 200 OK
(62) 200 OK
(63) ACK
(64) ACK
(65) ACK
(66) ACK
(67) ACK
9. ISUP IAM
2. INVITE
3. INVITE
AS S-CSCF MGCF 8. H.248 MGW
4. INVITE
7. INVITE
5. INVITE
Originating
Home Network CS interworking Network
Network
(1) INVITE
Evaluation of
initial filter criteria
(3) INVITE
(22) UPDATE
(23) UPDATE
(26) ISUP: COT
(24) 200 OK
(25) 200 OK
(32) PRACK
(33) PRACK
(34) 200 OK
(35) 200 OK
2. ISUP IAM
9. INVITE
7. INVITE
AS S-CSCF MGCF 3. H.248 MGW
8. INVITE
6. INVITE
TE
VI
IN
4.
5. Diameter
HSS LIR/LIA I-CSCF BGCF
(8) INVITE
(10) INVITE
(11) Trying
(12) 183
Sess. Progress (13) 183
Session Progress (14) H.248 MODrq
(16) PRACK
(17) PRACK (15) H.248 MODrp
(18) 200 OK
(19) 200 OK
(23) 200 OK
(24) 200 OK
(25) Ringing
(26) Ringing
(27) ISUP: ACM
(30) PRACK
(31) PRACK (28) H.248 MODrq
(34) 200 OK
(35) 200 OK
(36) 200 OK
(37) ISUP: ANM
(40) ACK
(41) ACK (38) H.248 MODrq
Service Profile n
1 to n 0 to 1
Trigger Point
Service Profile 2
Trigger Point
Service Profile 1
AS
4. 200 OK
3. INVITE
1. INVITE 2. INVITE
6. 200 OK 5. 200 OK
P-CSCF S-CSCF
AS
4. 200 OK
3. INVITE
1. INVITE 2. INVITE
6. 200 OK 5. 200 OK
AS
6. 200 OK
1. INVITE
3. INVITE 2. INVITE
4. 200 OK 5. 200 OK
P-CSCF S-CSCF
AS
7. 200 OK
3. INVITE
8. 200 OK
4. INVITE
1. INVITE 2. INVITE 5. INVITE
P-CSCF S-CSCF
AS
9. 200 OK
10. 200 OK
3. INVITE
4. INVITE
1. INVITE 2. INVITE 5. INVITE 6. INVITE
4. 302 Moved
Temporarily
AS
3. INVITE
1. INVITE 2. INVITE
AS
10. 200 OK
3. INVITE A
7. INVITE B
4. 200 OK
1. INVITE A 2. INVITE A 8. INVITE B
P-CSCF S-CSCF
AS
12. 200 OK
3. INVITE A
7. INVITE B
4. 200 OK
1. INVITE A 2. INVITE A 8. INVITE B 9. INVITE B