Professional Documents
Culture Documents
Procedure
www.huawei.com
References
Page 3
Objectives
Page 4
Contents
1.
SIP Overview
2.
3.
Page 5
Contents
1.
SIP Overview
Page 6
Page 7
Whats SIP?
Request/Reply protocol
Page 8
Signaling protocol
Page 9
User Agent
(Client)
Sends SIP
SIP Request
SIP Request
Requests
SIP Response
SIP Response
Page 10
User Agent
(Server)
Receives SIP
Requests
Page 11
Contents
1.
SIP Overview
Page 12
Message type
Message structure
Message parameter
Page 13
Message Types
SIP messages can be classified into two types:
Request
Initiates a session.
Response
Responds to a request.
Page 14
Basic Request
INVITE: to initiate a session
MESSAGE: is applied to IM
Page 15
Page 16
Client A
Session setup
Proxy A
INVITE
Registration
Proxy B
Client B
INVITE
INVITE
100 TRYING
100 TRYING
Client A
Register
401 unauthorized
100 TRYING
180 RINGING
180 RINGING
180 RINGING
Proxy A
Register
200 OK
200 OK
200 OK
200 OK
Page 17
Request-Line
Header
Body
Page 19
Via: Identifies the route for the response. The Via field
prevents loops in the message transfer and ensures that the
request and response follow the same path.
Page 20
Content-Length 0
Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.
Page 21
SIP extension
header
Function
P-Access-Network-Info
P-Visited-Network-ID
P-Charging-Vector
P-Asserted-Identity
Service-Route
Path
Page 22
SDP
Parameter
Parameter
Name
Version number
Subject
Connection
Connection IP address(10.216.6.108)
Time
Media
Attribute
Remarks
v=0
Page 23
Contents
1.
SIP Overview
2.
3.
Page 24
I-CSCF
Register
P-CSCF
Register
UE
Page 25
Contents
2. Procedures Related to IMS Registration
2.1 Local P-CSCF discovery
2.2 ServingCSCF assignment
2.3 Registration procedure
Page 26
P-CSCF Discovery
S-CSCF
HSS
Register
I-CSCF
Register
P-CSCF
Register
U
E
Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.
Page 27
ProxyCSCF Discovery
Proxy-CSCF discovery
GPRS procedure
DHCP/DNS procedure
DHCP server can provide PCSCF IP/domain name while assign dynamic IP
addresses.
Page 28
P-CSCF Discovery
UMTS
ion
t
a
c ti v
a
t
tex dure
n
o
P c proce
D
P
qu
er D H C
y/r
es P
po
ns
e
Other access
networks
allocate IP address
of the P-CSCF and IP
for UE
GGS
N
DNS
query/resp
o
nse
IP
DHCP relay
DHCP server
DNS server
Page 29
Contents
2. IMS Registration and Related Procedures
2.1 Procedures of Local P-CSCF Discovery
2.2 Procedures of S-CSCF Assignment
2.3 Registration Procedures
Page 30
S-CSCF Assignment
S-CSCF
HSS
Register
I-CSCF
Register
P-CSCF
Register
U
E
Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.
Page 31
S-CSCF Assignment
When a user is registered with the network for accessing the IMS service,
the I-CSCF allocates an S-CSCF to the UE.
The I-CSCF communicates with the HSS by using the Cx interface to obtain
the information required for selecting an S-CSCF.
If the HSS returns the name of an S-CSCF, the I-CSCF checks the IP
address of the S-CSCF by using the S-CSCF name returned by the
HSS.
f the HSS returns the capability set of an S-CSCF, the I-CSCF executes
an algorithm according to the capability set of each received S-CSCF to
select an appropriate S-CSCF.
Page 32
S-CSCF Assignment
P-CSCF
Service name
Capability ID
emergency
call
SIP extending
function 1
SIP extending
function 2
S-CSCF1
Capability 3,4,5
I-CSCF
User1
S-CSCF3
Capability 1,2,3
HSS
S-CSCF2
Capability
1,2,3,4,5
Page 33
Contents
2. IMS Registration and Related Procedures
2.1 Procedures of Local P-CSCF Discovery
2.2 Procedures of S-CSCF Assignment
2.3 Registration Procedures
Page 34
The information about the locations and service capabilities of users can be obtained.
In IMS network, the registration procedures are the same no matter user accesses from the
home network or visited network.
Page 35
)
(5 enti
th n
Au atio t
c e
s
Home
network
(3)
S-CSCF assignment
(1)
P-CSCF
(2)
Register
Register
(8
)
(7
)
I-CSCF
(4
)
(6
)
401
401
401
Home
network
HSS
)
(5 enti
th n
Au atio t
c se
Visit
network
S-CSCF
(3)
S-CSCF assignment
(1)
P-CSCF
(2)
Register
Register
(8
)
(7
)
401
I-CSCF
401
(4)
(6
)
401
S-CSCF
Authentication
Authentication is a method used to identify a user and ensure the validity of the user.
The home network authenticates users by using the user initial registration procedure.
When a user terminal initiates initial registration, the S-CSCF authenticates the
terminal according to the header field carried in the Register message and the
authentication mode selected when the user is defined on the HSS.
Currently, the HTTP Digest authentication mode is adopted for fixed terminals. That
is, the authentication is performed on the basis of user names and passwords.
Page 37
Service
Block Profile
setting
iFC1
Registration
authority
iFC2
Roaming
authority
iFC3
iFC n
Implicit Registration
When one IMPI is associated with multiple IMPUs which are in the same IRS,
the registration of all the IMPUs in the IRS can be implemented through the
IMS registration of one IMPU. This is called implicit registration.
Third-Party Registration
Page 39
Registration Procedure
1 Initial register message
S-CSCF-A
(15)
(6)
User profile
Authentication
data
HSS-A
(4)
Assign S-CSCF
HSS-A
(5)
(14)
(13)
Register
Register
Assign S-CSCF
(7
)
I-CSCF-A
(12)
(3)
Register
Register
(17)
(8
)
200 OK
401
P-CSCF-A
P-CSCF-A
(2)
(1)
Register
(9
)
(11)
(10)
DNS query
DNS
401
U
E
(16)
200 OK
401
I-CSCF-A
S-CSCF-A
DNS query
Register
(18)
200 OK
U
E
Page 40
Initiate
register
P-CSCF
1.REGISTER
DNS
I-CSCF
2.DNS Query
3.DNS Query
Resp
4. REGISTER
Send the
authentication
parameters to UE
12. 401
Unauthorized
13.REGISTER
S-CSCF
HSS
S-CSCF
assignment
5. Diameter: UAR
6. Diameter: UAA
7.REGISTER
10. 401
Unauthorized
8.Diameter: MAR
9.Diameter: MAA
S-CSCF
assignment
15.DNS Query
Resp
16. REGISTER
Authentication
response
19.REGISTER
24. 200 OK
Download the
authentication
sets
23. 200 OK
22. 200 OK
20.Diameter: SAR
21.Diameter: SAA
AS
25.REGISTER
26. 200 OK
Download
service
profile iFC
etc..)
3rd party
registration
Diameter Message
Message Explanation
UAR
UAA
MAR
MAA
SAR
SAA
Page 42
The following table describes the functions of the main NEs during the registration:
NE
Function
-> Checking the IMPI, IMPU, and home domain
PCSCF
ICSCF
the S-CSCF
-> Forwarding the registration request to the S-CSCF
-> Downloading authentication data from the HSS to
authenticate the terminal
SCSCF
Page 43
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)
DNS address
I-CSCF address/name
UE Address IMPI IMPU
I-CSCF
(in Home
network)
HSS address
S-CSCF address/name
(temporary)
No State Information
HSS address
HSS Address/name
User profile
P-CSCF address/name
P-CSCF Network ID
UE IP Address, IMPI IMPU
P CSCF Network ID
S-CSCF address/name
UE
S-CSCF
(in Home
network)
HSS
Page 44
De-registration Procedures
UE initiated de-registration
HSS initiated the de-registration procedures before the register timer expires
Page 45
cause
Page 46
cause
Page 47
Questions
What are the IMS NEs that perform registration on IMS users?
Page 48
Contents
1.
SIP Overview
2.
3.
Page 49
Main Functions
P-CSCF 1: Caller part: the 1st contact point to access to the IMS
2: Callee part: P-CSCF forwards the messages to the callee
S-CSCF Realize the call control function for both caller part and callee part
I-CSCF
AS
DNS/
ENUM
HSS
Only used in the callee part. I-CSCF locate the SCSCF by query the
HSS
Page 50
Session
establishment
procedure
Session
release
procedure
Media
negotiation
procedure
Resource
reservation
procedure
Application
service
session
procedure
Page 51
SS procedure
MT procedure
From the S-CSCF/AS
S-CSCF/AS in the
callee part
UE
Page 52
During a call between IMS users, the P-CSCF, I-CSCF, and S-CSCF completes the
entire signaling routing procedure.
MO
MT
S
S
3.request
Caller part
S-CSCF
Callee part
4.request
I-CSCF
S-CSCF
5.request
2.request
DNS/ENU
M
HSS
P-CSCF
P-CSCF
6.request
1.request
media
Signalin
g
Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.
Media
Page 53
DNS&ENUM
ENUM
function
DNS function
+8675528780808
huawei.com
Calling party
Called party
S-CSCF
I-CSCF
PCSCF
HSS
P-CSCF
ENU
M
DNS/ENUM
189.17.2.123
S-CSCF
Media
hwguy@huawei.com
Page 54
Called party
I-CSCF-B
Invite
183
HSS-A
183
Invite
HSS-B
Invite
I-CSCF-A
S-CSCF-B
183
DNS/ENUM
Invite
183
P-CSCF-A
P-CSCF-B
Invite
Invite
183
183
media
Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.
Page 55
AS-A
AS-B
Called party
HSS-B
Invite 3
S-CSCF-A
Invite 4
Invite 7
Invite 6
Invite 5
183
HSS-A
Invite 8
S-CSCF-B
I-CSCF-B
Invite 2
183
Invite 9
183
I-CSCF-A
DNS/ENUM
P-CSCF-B
P-CSCF-A
Invite 1
Invite 10
183
183
IP media stream
Page 56
IMS calling
party
S-CSCF-A
Invite
HSS-A
Fail
Query
Tel
I-CSCF-A
MGCF
Invite
IAM
Invite
P-CSCF-A
ENUM
Media
control
Invite
UMG
Page 57
PST
N
PSTN
calling party
I-CSCF-A
HSS-A
Invite
Invite
S-CSCF-A
PSTN/PLMN
MGCF
IAM
Invite
P-CSCF-A
Invite
UMG
Page 58
SS procedure
Page 59
Page 60
SCSCF1/AS1
INVITE
SCSCF2/AS2
ICSCF2
INVITE
INVITE
183
183
183
PRACK
PRACK
200 OK(PRACK)
UPDATE
PCSCF2/UE2
INVITE
183
PRACK
200 OK(PRACK)
200 OK(PRACK)
UPDATE
UPDATE
PRACK
PRACK
200 OK
(UPDATE)
180
Ringing
PRACK
200 OK
200 OK
200 OK
200 OK
(UPDATE)
180 Ringing
200 OK
(INVITE)
ACK
200 OK
(UPDATE)
180 Ringing
200 OK
(INVITE)
ACK
180 Ringing
200 OK
(INVITE)
The session is
established.
200 OK
(INVITE)
ACK
Both sides need to negotiate the media type and the codec which they
are going to use.
Support:
Audio
G.729
Audio
G.729
H.263
Page 62
are described in
the SDP in the
SIP message
Support codec
types
Page 63
Page 64
Questions
What are the main NEs that are passed through in the basic
session establishment procedure?
Page 65
Summary
IMS protocol
Page 66
Thanks
www.huawei.com