Documente Academic
Documente Profesional
Documente Cultură
Analysis
www.huawei.com
Foreword
Page2
References
Page3
Objectives
Page4
Contents
1.
Registration Principle
2.
3.
Page5
Contents
1.
Registration Principle
1.1 Registration Initiated by an IMS SIP User
1.2 Deregistration Flow
1.3 Implicit Registration
Page6
ServingCSCF assignment
Registration procedures
Page7
P-CSCF discovery
Route to I-CSCF
S-CSCF assignment
Home
network
HSS
t
Au
on
ticati
n
he set
S-CSCF assignment
Register
P-CSCF
I-CSCF
Register
401
401
401
Page8
S-CSCF
P-CSCF Discovery
UMTS
P
PD
DH
CP
qu
co
xt
nte
o
ati
v
i
t
c
ure
d
e
roc
p
n
allocate IP
address of the
P-CSCF and IP
for UE
GGSN
DNS que
ry/respo
er
y
/r e
sp
on
seIP-CAN
nse
DHCP relay
DHCP server
DNS
other
access
network
s
Page9
S-CSCF Assignment
S-CSCF1
Capability 3,4,5
I-CSCF
P-CSCF
service
name
capability
ID
emergency
call
SIP
extending
function 1
S-CSCF3
SIP
extending
3
function 2
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
S-CSCF2
Capability 1,2,3,4,5
Capability 1,2,3
Page10
Initiate
register
P-CSCF
1.REGISTER
DNS
I-CSCF
2.DNS Query
3.DNS Query
Resp
4. REGISTER
S-CSCF
HSS
5. Diameter: UAR
6. Diameter: UAA
S-CSCF
assignment
7.REGISTER
13.REGISTER
Authentication
response
8.Diameter: MAR
10. 401
Unauthorized
9.Diameter: MAA
14.DNS Query
15.DNS Query
Resp
16. REGISTER
Register
response
24. 200 OK
Download the
authentication sets
23. 200 OK
22. 200 OK
S-CSCF
assignment
20.Diameter: SAR
Download service
profile iFC etc..)
21.Diameter: SAA
AS
25.REGISTER
26. 200 OK
Page12
Page13
Page14
Stored Information
Node
Before Registration
During Registration
After Registration
IMPI,IMPU,Credentials
Home Domain
Proxy Name/Address
IMPI,IMPU, Credentials
Home Domain
Proxy Name/Address
P CSCF
(in Home or Visited
network)
Routing Function
I-CSCF
(in Home network)
S-CSCF address/name
P CSCF Network ID
Home Network contact Information
No State Information
S-CSCF
(home)
No state information
HSS Address/name
User profile (limited as per
network scenario)
Proxy address/name
P CSCF Network ID
UE IP Address IMPI IMPU
HSS
P CSCF Network ID
S-CSCF address/name
UE
(in local network)
Page15
Contents
1.
Registration Principle
1.1 Registration Initiated by an IMS SIP User
1.2 Deregistration Flow
1.3 Implicit Registration
Page16
Page17
cause
Roaming handover
Page18
cause
Page19
cause
Page20
cause
Page21
Contents
1.
Registration Principle
1.1 Registration Initiated by an IMS SIP User
1.2 Deregistration Flow
1.3 Implicit Registration
Page22
Implicit Registration
Implicit set
Public
User Identity
IMS
Subscription
Private
User Identity
Public
User Identity
Public
User Identity
Implicitly
Registered ID
Set
IMS subscription
joe@huawei.com
Tel:+ 867552610001
Page23
Implicit set:
sip:joe@huawei.com
tel:+ 867552610001
Route to I-CSCF
according to the
tel No.
HSS
CS/PSTN
MGCF
I-CSCF
&
ress CF
d
d
a
sip of S-CS
y
r
2. que ddress
a
get
S-CSCF
4.
Invite sip:joe@huawei.com
Page24
register
MAR
200 OK
MAA
S-CSCF
S-CSCF insert
the PAssociated-URI
field into the 200
OK header
Page25
Contents
1.
Registration Principle
2.
3.
Page26
Contents
2.
Page27
User Identity
User Identity
SIP Header
Created by
From
UE
To
UE
Contact
UE
P-Associated-URI
S-CSCF
Page28
User Identity
FROM shows
who initiate the
register
To identify the
users IMPU
Type of the UE
terminal
User-Agent: Huawei-VP8210/1.14.0
Contact: <sip:joe@189.1.20.12
contact identify
the IP address of
current IMPU
Page29
User Identity
Page30
User Identity
SIP/2.0 200 OK
From: <sip:joe@huawei.com>;tag=34bb680f
To: <sip:joe@huawei.com>
User-Agent: Huawei-VP8210/1.14.0
Contact: <sip:joe@189.1.20.12>
P-Associated-URI < sip:joe@huawei.com >,<tel
867552610001>
P-Associated-URI
contains the implicit
registration IMPU
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page31
Contents
2.
Page32
Function
Created by
route
UE and CSCF
via
path
Service-route
message
message
users
Page33
Route
DNS
1.register
route:
pcscf.huawei.com
2.register
no route field
P-CSCF
Pcscf.huawei.com
3.register
I-CSCF
route:
scscf.huawei.com
S-CSCF
scscf.huawei.com
Via
REGISTER
Via: 190.1.10.2
Via: 190.1.10.1
Via: 189.1.20.1
401/200
Via: 190.1.10.2
Via: 190.1.10.1
Via: 189.1.20.1
existing Via
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page35
Path
REGISTER
P-CSCF
Pcscf.huawei.com
invite
P-CSCF
invit
e
route:
pcscf.huawei.com
S-CSCF
SESSION
I-CSCF
path:
pcscf.huawei.com
register
register
address
for Huawei
the useTechnologies
of
Copyright
2006
Co., Ltd. All rights reserved.
Page36
S-CSCF
Service-route
Indicate requests
REGISTER
P save S addrsss by
service-route
200 OK
200 OK
I-CSCF
P-CSCF
SESSION
invite
The construction of
service-route header
S-CSCF
200 OK
invite
S-CSCF
P-CSCF
address
useTechnologies
for
Copyright
2006and
Huawei
Co., Ltd. All rights reserved.
Page37
Route analysis
1.UE discovery P-CSCF
2.register
REGISTER sip:huawei.com
SIP/2.0
Route:190.1.10.1
Via: SIP/2.0/UDP
189.1.20.12:5060;branch
=z9hG
189.1.20.1
2
pcscf.huawei.com
190.1.10.1
REGISTER sip:huawei.com SIP/2.0
Route:190.1.10.3
Via: SIP/2.0/UDP
190.1.10.2:5060;branch=z9hG
Via: SIP/2.0/UDP
190.1.10.1:5060;branch=z9hG
Via: SIP/2.0/UDP
189.1.20.12:5060;branch=z9hG
Path: pcscf.huawei.com
from DNS
icscf.huawei.com
190.1.10.2
scscf.huawei.com
190.1.10.3
SIP/2.0 200 OK
Via: SIP/2.0/UDP
190.1.10.1:5060;branch=z9hG
Via: SIP/2.0/UDP
189.1.20.12:5060;branch=z9hG
Path: pcscf.huawei.com
Serviceroute:origscscf.huawei.com
12.200OK
189.1.20.1 13.200OK
pcscf.huawei.com
2
14.UE store service-route
190.1.10.1
header
SIP/2.0 200 OK
Via: SIP/2.0/UDP
189.1.20.12:5060;branch=z9hG
Path: pcscf.huawei.com
Serviceroute:orig@scscf.huawei.com
scscf.huawei.com
190.1.10.3
Contents
2.
Page40
REGISTER
S-CSCF-A
Home Network
HSS-A
I-CSCF-A
Visited Network
P-CSCF-A
Page41
Page42
REGISTER
S-CSCF-A
Home Network
HSS-A
I-CSCF-A
P-CSCF-A
Visited Network
Page43
Page44
(1)huawei.com
(2)190.1.10.2
CSCF
(3)register
P-CSCF
REGISTER sip: huawei. com
SIP/2.0
Via: SIP/2.0/UDP
189.1.20.12:5060;branch=z9hG
I-CSCF
190.1.10.2
Page45
Page46
// P-CSCF IP
address
// UE IP
// UE IP
Page47
REGISTER
S-CSCF-A
Home Network
HSS-A
UAR
HSS feedback S-CSCF UAA
Register(7)
address or subscribers
capabilities (5)
I-CSCF-A
Register
P-CSCF-A
Visited Network
Page48
If the message is not from the trust domain ,then I-CSCF will
reject the user s register request.
Page49
register (P-Visited-NetworkID:pcscf.huawei.com)
I-CSCF
HSS
Visited network list for
userA:
P-CSCF
pcscf.huawei.com
pcscf.china.com
userA
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page50
If the user does not subscribe the S-CSCF , HSS will feedback
the users capabilities
Page51
According to the information ([ Server-Name ],[ ServerCapabilities ] ) in UAA message, I-CSCF complete the SCSCF selection
Page52
Page53
REGISTER
S-CSCF-A
UAR
MAR
MAA
Register(7)
401(9)
I-CSCF-A
Home Network
Register
401(10)
Visited Network
P-CSCF-A
401(11)
contruct register message
Register IMPU/IMPI/IP
Page54
If the message is not from the trust domain ,then S-CSCF will
reject the user s register request.
Page55
// S-CSCF hostname
// HSS hostname
// IMPI
// IMPU
// authentication type
// S-CSCF address
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page56
// Diameter-success
// HSS hostname
// IMPI
// IMPU
// authentication set
Copyright 2006 Huawei Technologies Co., Ltd. All rights reserved.
Page57
Page58
Page59
Home Network
HSS
I-CSCF-A
I-CSCF
AS
Visited Network
P-CSCF
Page60
Response
Page61
UAA
S-CSCF
Register (15)
I-CSCF
Register
(response)
AS
(13)
Visited Network
P-CSCF
Page62
Page63
// S-CSCF address
Page64
Home Network
SAR/SAA
UAA
S-CSCF
Register (15)
200 OK (18)
I-CSCF
AS
Register
(response)
(13)
200 OK (19)
Visited Network
P-CSCF
Page65
UE generate RES
Page66
// S-CSCF hostname
// HSS hostname
// IMPI
// IMPU
// S-CSCF address
Page67
// subscriber data
Page68
Service-Route: <sip:orig@scscf.ims1.huawei.com:10020;lr;Dpt=27244;ca=c2lwOis4Njc1NTI2MTAwMDJAMTg5LjEuMjAuNjU6NDg3Mjg!>
Copyright
2006
Huawei Technologies
Ltd. All rights
reserved. Page69
When
S-CSCF
receives Co.,
INNVITE
message,
it will
use orig to
Page70
Page71
Contents
1.
Registration Principle
2.
3.
Page72
Typical case 1:
Phenomenon
P-CSCF
3.403
I-CSCF
S-CSCF
4.403
Page73
Typical case 1:
Analysis
joy@huawei.com
1.register
4.40
3
P-CSCF
pcscf.huawei.com
3.403
Page74
Typical case 1:
Solution
During the register flow, I-CSCF will check the trust domain to
decide whether permit the user continue registering or not.
Page75
Typical case 2:
Phenomenon
1.register
1.register
P-CSCF
3.403
I-CSCF
S-CSCF
4.403
Page76
Typical case 2:
Analysis
1.I-CSCF feedback the 403, means that HSS reject the request.
2.Check the user subscription data in HSS, normal.
3.Check the Diameter message the error code from HSS is
DIAMETER_ERROR_ROAMING_NOT_ALLOWED(5004) means
there was a fault when HSS compare the users visited network
with Visited-Network-Identifier that I-CSCF sent to HSS.
Page77
Typical case 2:
Analysis
4.Check the VNTPL in HSS and P-CSCF local network ID , they were
not same
1.register
P-CSCF
Local network
ID:
p.huawei.com
3.403
HSS
I-CSCF
Page78
Typical case 2:
Solution
change the parameter local network ID in P-CSCF data
configuration to the same value with the one defined in HSS
MOD PCSCF: PID=0, LNID="pcscf.huawei.com",
Page79
Summary
Please trace the whole signaling for register ,and analysis the
sip header.
Page80
Thank you
www.huawei.com