SIP Certification Rel 1
SIP Certification Rel 1
SIP Certification Rel 1
Training
o PC-to-Phone (net2phone.com)
IP Network
o Phone-to-Phone (Paegas)
IP Network
o Phone-to-PC as well
o Supporting Protocols
Gateway Location, QoS, inter-domain AAA
(Authentication, Authorization, Accounting), address
translation, IP, etc.
MGCP/Megaco TRIP
DNS RTP
SDP
H.323 COPS SIP RTSP RSVP RTCP
Transport
TCP UDP
Network
IPv4, IPv6
Data Link
SIPPING (Session Deals with standardizing extension to SIP protocol that does not have a bearing on the base
SIP protocol - i.e., all SIP peripheral activities (like support of Message Waiting Indicator
Initiation Proposal feature using SIP, SIP-T, ISUP-SIP mapping, SIP Call flows, AAA requirements in SIP etc
Investigation)
SIMPLE (SIP for Instant Deals with standardizing Presence and Instant Messaging (IM) using SIP (E.g., extensions
to MSRP protocol for Session Mode Messaging unlike the original page-mode messaging
Messaging and Presence offered by SIMPLE), PIDF - Presence Info Data format, XCAP XML Configuration Access
Leveraging Extensions) Protocol etc
MMUSIC (Multiparty Chartered to specify protocol required for Internet conferencing and multimedia
communications. Specifies protocols such as SDP, RTP/RTCP, RTSP, Interactive
Multimedia Session Communication Establishment (ICE) for NAT discovery etc)
Control)
XCON (Centralized The focus of this working group is to develop a standardized suite of protocols for tightly-
coupled multimedia conferences, where strong security and authorization requirements are
Conferencing) integral to the solution. Standardizes protocols (based on SIP) like CPCP (conferencing
policy control protocol), BFCP (binary floor control protocol) etc
MIDCOM (Middle Box Chartered to address NAT/Fire Traversal issues. Standardizes protocols like MIDCOM for
pin-hole management of NAT; STUN (simple traversal of UDP thru NATs) etc
communication)
ENUM (Electronic Deals with converting E.164 numbers to routable URIs (similar to DNS). In fact, ENUM is a
nothing but a glorified DNS for VoIP. It uses the same building blocks of DNS like the
Numbering) NAPTR (Naming Address Pointer) records for specifying the E.164 to URI conversion
SPIRITS (Services in the Allows for services supported by IP network entities getting initiated from IN
(Intelligent Network) requests, as well as the protocol arrangements through which
PSTN/IN Requesting Internet PSTN (Public Switched Telephone network) can request actions to be carried out in
Services) the IP networking response to events (IN Triggers) occurring within the PSTN/IN
For instance the SPIRITS protocol specifies some changes to the SIP URI scheme
and can be used for services such as Internet Call Waiting etc. I.e., this deals with
activating/ initiating services from the PSTN and rendering it over the Internet
PINT (PSTN Interworking) This WG specifies a protocol to perform the corollary of the SPIRITS (described
above).
For instance this specifies SIP URI scheme changes to implement services such as
click-to-call (based on 3rd Party Call Control mechanism). I.e., this deals with
activating services from the Internet and rendering it over the PSTN
JAIN (Java Advanced Developing abstract APIs for developing service creations across PSTN,
ATM, IP, etc.
Intelligent Network)
PARLAY Group Aims to intimately link IT applications with the capabilities of the
telecommunications world by specifying and promoting application
programming interfaces (APIs) that are secure, easy to use, rich in
functionality, and based on open standards.
Parlay integrates telecom network capabilities with IT applications via a
secure, measured, and billable interface.
PSTN GW
PBX
3rd Party
SIP/SIP-T Applications
OSA
SIP Network Gateway
CDMA/
GSM/UMTS
SIP Certification Training 1.1 Copyright 2006 Wipro Ltd 14
14
SIP "Trapezoid"
DNS Server Location Server
DNS
SIP SIP
RTP
subhodeep@192.219.223.160
#2
Callee
#3
Reply : IP Address of wipro.com SIP Server
subhodeep@wipro.com
200 OK 200 OK
#6 From: sip:Caller@sip.com #5
From: sip:Caller@sip.com
To: sip:subhodeep@wipro.com To: sip:subhodeep@wipro.com
Call-ID: 345678@sip.com
PROXY Call-ID: 345678@sip.com
#7 ACK sip:subhodeep@wipro.com
#8 Media Streams
Behavior
Proxies just receive messages, perform Proxies maintain state during entire
routing logic, send messages out transaction; they remember outgoing requests
as well as incoming requests until transaction
is over
Would result in new execution of SIP routing A forking proxy will be stateful
logic for every retransmission (caching routing
results can help reduce the overload)
Callee@home.com
#2
#3
Callee
Caller@sip.com
#1 INVITE Callee@example.com
PROXY
#5 ACK Callee@example.com
Callee@home.com
#6 INVITE Callee@home.com
#7 200 OK INVITE
#8 ACK Callee@home.com
#3 SIP/2.0 200 OK
SIP REGISTRAR
(domain register.wipro.com)
PSTN PSTN
VoIP Network
INVITE (Call-ID#1)
1 INVITE (Call-ID#2)
1
Calling Party Called Party
100 Trying 1
100 Trying
SIP Signaling 1
180 Ringing 1
& SDP Signaling 180 Ringing
1 Signaling
(UDP or TCP) 200 OK 1
200 OK 1
ACK
1
1
ACK
Bearer Or
Media (UDP) Media
RTP Stream
Network Layer
Data Layer
Physical Layer
Network Layer
Data Layer
Physical Layer
Data Layer
Physical Layer
Message Header
Start-Line From: user <sip:from_user@source>
One or more Header fields To: user <sip:to_user@destination>
An Empty Line indicating the Call-ID: localid@host
end of the header fields CSeq: seq# method
An optional Message Body ContentLength: length of body
ContentType:media type of body
o Uses the UTF-8 charset (RFC
Header: parameter ;par1=value ;par2="value"
2279)
o Request and Response Blank Line (CR LF)
messages use the basic format
V=0
Message Body
of RFC 2822 o=origin_user timestamp timestamp IN IP4 host
o Message and header field s=session name
syntax is very much identical to c=IN IP4 media destination address
HTTP/1.1 t=0 0
m= media type port RTP/AVP payload types
v=0 SDP
o=called 536 2337 IN IP4 h3.clddomain.com
s=session_name_1 INFO
c=IN IP4 192.213.229.147
t=0 0
m=audio 3456 RTP/AVP 0 INFO sip:called@dmn.com SIP/2.0
From: sip:caller@clrdomain.com
To: sip:called@clddomain.com
Contact: <sip:called@clddomain.com> SIP
CallID: 31415@clrdomain.com
Requests can CSeq: 1 INFO
Content-Length: 0
have headers
and SDP Requests may not
SDP
have SDP
SIP/2.0 200 OK
From: sip:caller@clrdomain.com SIP/2.0 487 Request Rerminated
To: sip:called@clddomain.com From: sip:caller@clrdomain.com
CallID: 31415@clrdomain.com To: sip:called@clddomain.com
SIP CallID: 31415@clrdomain.com SIP
CSeq: 1 OPTIONS
Accept: application/sdp CSeq: 1 INVITE
Accept-Encoding: gzip Content-Length: 0
Accept-Language: en
Content-Type: application/sdp
Content-Length: 274 SDP
v=0
o=called 536 2337 IN IP4 h3.clddomain.com
s=session_name_1 SDP Provisional 180 Ringing
c=IN IP4 192.213.229.147
t=0 0
m=audio 3456 RTP/AVP 0 SIP/2.0 180 Ringing
From: sip:caller@clrdomain.com
To: sip:called@clddomain.com
Contact: <sip:called@clddomain.com> SIP
CallID: 31415@clrdomain.com
Response can CSeq: 1 INVITE
Content-Length: 0
have headers
and SDP
Response may not SDP
have SDP
From: sip:caller@clrdomain.com
To: sip:called@clddomain.com
CallID: 31415@clrdomain.com
CSeq: 1 OPTIONS
Contact: <sip:alice@atlanta.com>;expires=3600
Contact:<sip:alice@chicago.com>
Route: <sip:alice@atlanta.com>,<sip:carol@chicago.com>,
<sip:bob@biloxi.com>
Application - pkcs7-signature
ghyHhHUujhJhjH77n8HHGTrfvbnj756tbB9HG4VQpfyF467GhIGfHfYT6
4VQpfyF467GhIGfHfYT6jH77n8HHGghyHhHUujhJh756tbB9HGTrfvbnj
n8HHGTrfvhJhjH776tbB9HG4VQbnj7567GhIGfHfYT6ghyHhHUujpfyF4
7GhIGfHfYT64VQbnj756
INVITE (SDPo)
1 Location Lookup
2
Lookup Result 3
INVITE (SDPo)
4
100 Trying 5
Session
180 Ringing Initiation
6
180 Ringing
7
200 OK (SDPT)
8
200 OK (SDPT)
9
ACK
10
Session In
Two way Speech Path
Progress
11
BYE
Session
200 OK Teardown
12
4
ACK (CSeq:2 ACK) 4
ACK (CSeq:1 INVITE)
Second Transaction
5
BYE (CSeq:3 BYE)
200 OK (CSeq:3 BYE) 6
Second Transaction
5
BYE (F-Tag: Xxx, T-Tag: Yyy)
200 OK (F-Tag: Xxx, T-Tag: Yyy) 6
200 OK (SDPT) 3
200 OK (SDPT) 3
ACK 4
ACK (SDPO)
4
URI
o All UAs must support the
OPTIONS method
INVITE
1xx
INVITE status change
CANCEL 1xx BYE
200 1xx 200
Call Proceeding
failure Callee Answer
>= 300 2xx
INVITE
status INVITE
max(T1*2n, T2)
status status
Failure Success
ACK BYE
32s - 200
- ACK Confirmed
-
event BYE
message sent 200
o URI Parameters:
transport: Determines the transport mechanism to be
used for sending SIP messages (i.e. UDP, TCP, TLS,
SCTP)
maddr: Indicates the server address to be contacted for
this user, overriding any address derived from the host
field
ttl: Determines the time-to-live value of the UDP
multicast packet
lr: Indicates that the element responsible for this
resource implements the loose routing mechanisms -
used in the Record-Route header
sip:+919845202688@airtel.kk.com:5060;user=phone?Subject=SIP
DNS-Server
Query
1.3.1.9.5.8.6.8.6.4.e164.arpa.?
Response
sip:ssarkar@wipro.com
Call setup
Dial SIP
+4686859131 sip:ssarkar@wipro.com
Gateway
SIP Server
Record-Route: <sip:server10.biloxi.com;lr>
BYE BYE
BYE
200 OK
200 OK
200 OK
Route: <sip:server10.biloxi.com;lr>
A B C D
INVITE B
INVITE C
Route C,D Route D INVITE D
A B C D
INVITE D
INVITE D
Route B,C Route C INVITE D
o P4 receives
BYE sip:caller@u1.example.com SIP/2.0
Route: <sip:p4.domain.com;lr>
Route: <sip:p3.middle.com>
Route: <sip:p2.example.com;lr>
Route: <sip:p1.example.com;lr>
o And sends
BYE sip:p3.middle.com SIP/2.0
Route: <sip:p2.example.com;lr>
Route: <sip:p1.example.com;lr>
Route: <sip:caller@u1.example.com>
Via:172.16.16.160
Via:172.16.16.120
Via:172.16.16.120 Via:192.219.223.160
Via:192.219.223.160
Via:192.219.223.160
Request
Response
originating host
v=0
o=alice 2890844526 2890844526 IN IP4 host.anywhere.com
s=
c=IN IP4 host.anywhere.com
t=0 0
m=audio 49170 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=video 51372 RTP/AVP 31
a=rtpmap:31 H261/90000
Answered SDP
m=video 53000 RTP/AVP 32
a=rtpmap:32 MPV/90000 v=0
o=bob 2890844730 2890844730 IN IP4 host.example.com
s=
c=IN IP4 host.example.com
t=0 0
m=audio 49920 RTP/AVP 0
a=rtpmap:0 PCMU/8000
m=video 0 RTP/AVP 31
m=video 53000 RTP/AVP 32
a=rtpmap:32 MPV/90000
PRACK
PRACK
200 OK
200 OK
200 OK (4) 3
PRACK
o User A generate an UPDATE request 200 OK 4
(5) with a new offer UPDATE (Offer 2)
5
o User B answered this offer in the 200
200 OK (Answer 2)
response to the UPDATE (6) 6
ACK
o Finally, User B answers the call,
resulting in a 200 OK response to the
INVITE (9)
o User B then sends an ACK (10)
9
SUBSCRIBE (Event: Zxx, Expires:0)
200 OK 10
12
200 OK
Privacy They want to make sure others do not know what they are doing or
transmitting. Some people prefer anonymity. In a higher education
environment, faculty and student reserve the right to privacy
Authentication
Confidentiality
PSK Pre-Shared Keys
Integrity
PKI Public Key Infrastructure
Once the TLS session is set up, the normal call setup will continue from
a.example.com to b.example.com, with the URI has a SIPS URL and that
the Via indicates that TLS was used
SIP Certification Training 1.1 Copyright 2006 Wipro Ltd 146
146
HTTP Digest Authentication
o Provides a simple challenge-response authentication mechanism (using
a nonce value ) used by a server to challenge a client request (at least
one challenge applicable to the requested resource) and by a client to
provide authentication information
401 (Unauthorized) response message is used by an origin server to
challenge the authorization of a user agent, include a WWW-Authenticate
header field
407 (Proxy Authentication Required) response message is used by a proxy to
challenge the authorization of a client, include a Proxy- Authenticate header
field
o Transmits an MD5 or SHA-1 digest of both the secret password and a
random challenge string (i.e., nonce value) in place of the vulnerable
password in clear text
o Valid response contains a checksum of the username, the password, the
given nonce value, the HTTP method, and the requested URI
o Drawbacks
Authenticating a request to more than one element is problematic
Leaks hash to elements in the path
Only good for authenticating to the first hop
Authentication Methods:
Authentication
Confidentiality
PSK Pre-Shared Keys
Integrity
PKI Public Key Infrastructure
Public Private
Private
SIP Proxy
RTP/RTCP Media
Firewall/NAT
Firewall/NAT
Media
Signaling
8 5
1
2 3 6 7
10
12
Voice Gateway
User
12
Agent
RTP Relay
o RTP Relay (TURN - Traversal Using Relay NAT) acts as the second
endpoint to each of the actual endpoints that are attempting to
communicate with each other
o A server in the middle of the SIP flow that would manipulate the SDP in
such a way as to instruct the endpoints to send RTP to the Relay instead
of directly to each other
o RTP Relay set up its own internal mapping of a session, noting the source
IP:port of each endpoint sending it RTP packets
o Uses that mapping to forward the RTP from endpoint to endpoint
Diameter Server
R DIA
E TE ME
A M T ER
SIP DI SIP
Client Client
SIP SIP
SIP
SIP Server
IP Network SIP Server
DIA R
ME ETE
T ER IAM
D
Diameter
Subscriber Locator
Successfully
1
REGISTER authenticates the user
2
UAR
UAA 3 Includes challenge in the
REGISTER response which is map to
4
WWW-Authenticate
MAR 5
6
MAA
401 Unauthorized
7
401 Unauthorized Successfully
8
9
REGISTER authenticates the user
10
UAR
UAA 11 Successfully
12
REGISTER authenticates the user
MAR 13
14
MAA
200 OK 15
200 OK
16
8
INVITE
200 OK 9
200 OK
16
RSVP setup
S S
RESV
A to B
because it will receive RESV messages from the E
RSV-CONF
E
network. However, it does not know the status of R
V
R
RSVP setup
I RESV I
"recv" direction to the peer user agent A in its
B to A
O O
RSV-CONF
answer. N N
m=audio 30000 RTP/AVP 0 UPDATE (SDP3)
5
c=IN IP4 192.0.2.4 a=curr:qos e2e none
200 OK (SDP4)
a=des:qos mandatory e2e sendrecv 6
the preconditions still have not been met. 183 Session Progress (SDP2)
2
o SDP3: When A receives RESV messages, it
sends an updated offer (5) to B: R PRACK R
3
E PATH E
m=audio 20000 RTP/AVP 0
RSVP setup
S S
RESV
A to B
c=IN IP4 192.0.2.1 E
RSV-CONF
E
R R
a=curr:qos e2e send V
a=des:qos mandatory e2e sendrecv A 200 OK V
A 4
T PATH
o SDP4: B responds with an answer (6) which T
RSVP setup
I RESV I
B to A
contains the current status of the resource O
RSV-CONF
O
N
reservation (i.e., sendrecv): N
11
ACK
6
ACK
Bandwidth Broker
Notifications ( Policy Decision Point)
Events
Configuration
Commands
Edge Router
(Policy Enforcement Point)
Bandwidth Broker
Query (2) ( Policy Decision Point)
Trigger
Events (1)
Response (3)
Edge Router
(Policy Enforcement Point)
PDP
SIP SIP
Q-SIP
1
INVITE
INVITE
2
3
INVITE
180 Ringing
180 Ringing 4
180 Ringing 6
5
200 OK INVITE 7
COPS REQ 8
9
COPS DEC
200 OK INVITE 10
11
COPS REQ
COPS DEC 12
200 OK INVITE 13
ACK
14 ACK
15
16
ACK
1
INVITE
INVITE
2
3
INVITE
180 Ringing
180 Ringing 4
180 Ringing 6
5
200 OK INVITE 7
200 OK INVITE 8
9
COPS REQ
COPS DEC 10
200 OK INVITE 11
ACK
12 ACK
13
14
ACK
PSTN GW
PBX
3rd Party
SIP/SIP-T Applications
OSA
SIP Network Gateway
CDMA/
GSM/UMTS
SIP Certification Training 1.1 Copyright 2006 Wipro Ltd 191
191
SIP-T Call (SIP Bridging)
11
ACK
180 Ringing
180 Ringing 6
5
ACM 7
ANM
200 OK 8
200 OK 10
9
ACK
11
12 ACK
--unique-boundary-1
itu-t92 ITU-T Q.761-4 (1992) Content-Type: application/SDP; charset=ISO-10646
v=0
ansi88 ANSI T1.113-1988 o=jpeterson 2890844526 2890842807 IN IP4 126.16.64.4
s=SDP seminar
c=IN IP4 MG122.level3.com
ansi00 ANSI T1.113-2000 t= 2873397496 2873404696
m=audio 9092 RTP/AVP 0 3 4
--unique-boundary-1
etsi121 ETS 300 121 Content-Type: application/ISUP; version=nxv3;base=etsi121
Content-Disposition: signal; handling=optional
etsi356 ETS 300 356 01 00 49 00 00 03 02 00 07 04 10 00 33 63 21
43 00 00 03 06 0d 03 80 90 a2 07 03 10 03 63
53 00 10 0a 07 03 10 27 80 88 03 00 00 89 8b
0e 95 1e 1e 1e 06 26 05 0d f5 01 06 10 04 00
--unique-boundary-1--
Base (etsi121)
Optional Version (X-NetxProprietaryISUPv3)
MIME Type (application/ISUP)
SIP Header (Content-Type)
SIP Certification Training 1.1 Copyright 2006 Wipro Ltd 197
197
Content-Type Header
Content-Type = ( "Content-Type" / "c" ) HCOLON media-type
media-type = "text" / "image" / "audio" / "video" / "application" /
"message" / "multipart" SLASH m-subtype *(SEMI m-parameter)
SIP Profile A
SIP 3GPP Mobile
Network
PSTN/ISDN
PSTN/ISDN
SIP Profile C
SIP Profile B
SIP Terminating
Network
NPI : E.164 Both a country code and any other numbering components
NOA : Subscriber necessary for the numbering plan in question may need to be
added in order for the number to be internationally significant
CDN:8881000
tel:+17208881000 (assuming CC = 1, NPA = 720)
sip:8881000@sip.example.net;user=phone
ISUP SIP
PI : Presentation Allowed No Privacy header
PI : Presentation Restricted Privacy: id (included on if P-
Asserted-Id header is
included)
SIP ISUP
Forward Call Indicator (M)
M bit = 'number translated npdi appended to the tel URL
Called Party Number
CDN Mapped to 'rn=' field
CDN:12025440000 rn=+12025440000
Generic Digit Parameter
GAP Map to main telephone number in the tel URI
GAP:12025331234 tel:+1-202-533-1234;rn=+1-202-544-0000; npdi
SIP ISUP
200 OK INVITE Profile A : ANM
Profile B : ANM
Profile C : Generated ANM from the encapsulated ISUP
ISUP SIP
ANM Profile A : 200 OK INVITE
Profile B : 200 OK INVITE
Profile C : 200 OK INVITE with encapsulated ANM
INVITE IAM
INVITE
200 OK (SDPO)
100 Trying
ACK (Hold SDP) REL (16)
INVITE
CANCEL (Q.8650:16)
486 Busy Here
200 OK
ACK
BYE (SIP:486)
200 OK
CANCEL Reason header not present Profile A & B: Cause Value = 16 (normal
clearing), Location = Network beyond
interworking point
Profile C : Cause Value = 31 (normal
unspecified), Location = Network beyond
interworking point
ACK ACK
Content-Type: application/sdp
Content-Disposition: early-session
v=0
o=alice 2890844717 2890844717 IN IP4 host.example.com
s=
c=IN IP4 192.0.2.1
t=0 0
m=audio 20002 RTP/AVP 0
PSTN GW
PBX
3rd Party
SIP/SIP-T Applications
OSA
SIP Network Gateway
CDMA/
GSM/UMTS
SIP Certification Training 1.1 Copyright 2006 Wipro Ltd 244
244
Background
o CableLabs-led initiative that is aimed at developing
interoperable interface specifications for delivering
advanced, real-time multimedia services over two-way cable
plant
o Built on top of cable modem infrastructure, PacketCable
networks
o Use IP technology to enable a wide range of multimedia
services
IP telephony
Multimedia conferencing
Interactive gaming
o Distributed signaling paradigm is SIP (PacketCable 1.1)
o Protocols and architecture developed for DOCSIS-based
cable, but applicable to other broadband access network
technologies
DCS- DCS-
Proxy+GC Proxy+GC
Announcement
Server
PSTN
MTA Media Terminal Adaptor Call State
M Cable Modem Connection State
GC Gate Controller
NCS/TGCP DCS/SIP
Translation, Congestion Control, PSTN,
DB access, Event recording, Routing
Call
Signaling
Call Agent DCS-Proxy
QoS
Gate Controller
Signaling
DQoS
COPS
SIP Certification Training 1.1 Copyright 2006 Wipro Ltd 251
251
Service Provider Requirements
o Need for differentiated QoS is fundamental
Must support resource reservation and admission control
SIP enables lots of new services; also desire to meet needs of
current users
o Allow for authentication and authorization on a call-by-call
basis
o Need to guarantee privacy and accuracy of feature
information (e.g. Caller ID, Caller ID-block, Calling Name,
Called Party)
o Protect the network from fraud and theft of service
o Must be able to operate in large scale, cost-effectively
End-points keep state associated with their own calls, and not
proxies
2
ACK Busy Line Verification function)
3
INVITE (BLV)
4
INVITE (BLV)
5
183 Session Progress
183 Session Progress 7
6
PRACK Allocate
8
network
200 OK 9 resources
UPDATE
10
200 OK 11
Commit to
200 OK INVITE network
200 OK INVITE 12 resources
13
ACK
14
Busy Line Verification in Progress (one-way data transfer from MTA to Operator)
Busy Line Verification in Progress (one-way data transfer from MTA to Operator)
P-DCS-OSPS : EI (Indicates a
NTFY change to Emergency Interrupt)
15
INVITE (EI)
Interrupt
16
200 OK INVITE 16
ACK
14
PSTN GW
PBX
3rd Party
SIP/SIP-T Applications
OSA
SIP Network Gateway
CDMA/
GSM/UMTS
SIP Certification Training 1.1 Copyright 2006 Wipro Ltd 265
265
IP Multimedia Subsystem (IMS)
Original
Original(late
(late90s/early
90s/early00s)
00s)definition
definitionper
per3GPP
3GPPTS
TS23.228:
23.228:
The
TheIPIPMultimedia
MultimediaCN
CNsubsystem
subsystemcomprises
comprisesallallCN
CNelements
elementsfor
forprovision
provisionofof
multimedia
multimediaservices.
services.This
Thisincludes
includesthe
thecollection
collectionofofsignaling
signalingand
andbearer
bearerrelated
related
network
networkelements
elements
o An overlay to the PS-domain using SIP technology to provide
multimedia services over IP
o Layered architecture, comprises a set of interfaces, SIP proxies and
servers (such as media servers), and media gateways (for
connections to circuit core or the PSTN)
o Supports a wide range of IP-based services (e.g Directory services,
instant messaging (IM), push-to-talk (PTT), video streaming) over
both packet and circuit-switched networks, employing a range of
different wireless and fixed access technologies
o Key features :
Open Systems Architecture (OSA)
Access Independence
Terminal and user mobility
Extensive IP-based services
security roaming
Inter-
QoS Working
policy CS/PSTN
SIP
control
Basic
charging Call
Control
Service logic
APIs
Media Gateway
o Transport & Endpoint Layer Media Server
Bearer Services, Media Conversion (PCM > IP),
Compression
Special functions: announcements, touch tones
collection, voice recognition, speech synthesis
Go Gi
Gi
S-CSCF
S-CSCF BGCF SIP
BGCF
Session SIP
SIP MGCF
MGCF
Control
I-CSCF
I-CSCF
Layer
MRFC P-CSCF
P-CSCF
MRFC PDF
PDF
COPS
SIP
H.248
IN
IN
Transport and Access
Access
End Point IP
IP SG
H.248
Media
Media SG
Layer Server
Server Signalling
Signalling
Converter
Converter
SIP
Media
Media
Gatewa
Gatewa
y
y SS7
SS7
PSTN
OMA (Open Mobile Alliance) Defining services for IMS architecture, e.g. Instant Messaging, Push-to-Talk
ETSI (European TISPAN - TISPAN is merger of TIPHON (VoIP) and SPAN (fixed networks)
Telecommunications Agreement on reuse of 3GPP/3GPP2 IMS in comprehensive NGN plans
Standards Institute)
ANSI (American National Provides protocol definitions used by IMS
Standards Institute) T1.679 covers interworking between ANSI ISUP and SIP
ATIS (Alliance for Addressing end-to-end solutions over wireline and wireless
Telecommunications Industry Nearing agreement to use 3GPP/3GPP2 IMS
Solutions)
Public
User Identity
Public I
User Identity
Private I
User Identity
IMS Public II
Subscription User Identity
Private II
User Identity
Public III
User Identity
HSS
Location
Location Profile
Profile
2 REGISTER 9 200 OK
Visited P-CSCF
P-CSCF
1 REGISTER 10 200 OK
GGSN
GGSN
SGSN
SGSN
RadioAccess
Radio AccessNetwork
Network
5 INVITE
S-CSCF
S-CSCF I-CSCF
I-CSCF
14 200 OK INVITE
6 INVITE 13 200 OK 2
sip:info@visited
Visited
9 INVITE 15 200 OK
10 IAM MGCF/
MGCF/ I-CSCF
I-CSCF
T-SGW
T-SGW
11 ANM 12 200 OK
PSTN P-CSCF
7 Cx-Query 8 Cx-Query Resp P-CSCF
MGW
MGW
17 Media 16 200 OK
GGSN
GGSN 1 INVITE tel:1411
SGSN
SGSN
HSS
HSS
RadioAccess
Radio AccessNetwork
Network
Terminal convergence
Circuit Switch
Circuit Switch Circuit Switch
Circuit Switch Transport Capability
Transport Capability Access Capability
Access
Capability
Packet Switch
Transport Capability Packet Switch Packet Switch
Access Capability Transport Capability
xDSL / FTTx
Future : Integration of V & D Access and Transport Near Future : Integration of V & D Transport
Circuit Switch
Circuit Switch Transport Capability
Access Capability
VoIP / VToA
Adapter
Radio Access
Network
Base
Station
UMA-enabled Controller GSM/IMS Core
Dual Mode Service
Handset Architecture
WiFi
Tunneled
IMS stack GANC
(UMA)
Network
IP Access Network Controller
RG
VOIP
SIP SIP Server
Fixed/Wireless Telephone
Other Networks
ICF
IP Multimedia
Component (Core IMS)
(SIP based)
PSTN / ISDN Emulation
(SIP-I based)
Gq
PSTN / ISDN
Legacy interface
Legacy Terminals
Terminals
Network Attachment Resource and Admission
GW Functionality Control Functionality
NASS RACS
Legacy GW Go
Terminals interface TGW
NGN
Terminals Customer MBG
Networks IP Core transport
Access Transport
Network Network
NGN
Terminals
3GPP IP-CAN
3GPP Terminals
RACF
Transport Stratum Gq Gq
Other NGNs
M-PDF Resource Mediation I-PDF
Rq
Rq Rq Rq
Network Access
Attachment A-TRCF C-TRCF I-TRCF
Functions Access Core
Ub
Go Rc Rc
Re Rc Re
Border Intermediate
Gateway Node
Node
Access
Access Network Node
Inter-AN
NGN Core Network Border
Node
Access
Border Node
Node
Border Intermediate Access
Gateway Node Node
Node
Inter-CN
NNI Access Network
Border
Node
Border
Border Intermediate Access Inter-TE
NGN Core Network Gateway Node Node
Node Node
Access Network
Home Home
INVITE Re-INVITE
Proxy Proxy
#3 #5
T ER
#6 #2
TER
IS
V I TE
#2
REG
IS
TE
#4
N
#4
REG
Re-I
#6
INVI
#3
Re-INVITE
#5
INV Cell 2
I TE Cell 2 REGISTER
RE #1
Visited G IST Visited
Proxy #1 ER Proxy
Cell 1 Cell 1
Visited Network Visited Network
o Watcher
Client of the system that asks for information about another user
in the system
o Presentity
User of the system that a watcher can ask about
o Presence Agent (PA)
Purely logical entity
Knows presence state of user
Receives SUBSCRIBE requests
Generates NOTIFY requests
Co-located with proxy/registrar or User Agent
Hello World
1
INVITE
200 OK 2
Call Transfer
Initiated using 3
ACK
REFER
Two way Speech Path
Call Transfer
4
REFER: Refer-To: C Success using
REFER
202 Accepted 5
6
INVITE
200 OK
NOTIFY : 200 OK 7
8
ACK
10
200 OK 9
12
200 OK
200 OK
ACK
Call-ID:1;FromTag=11;ToTag=22
Call Transfer
INVITE Call-ID:2;FromTag=33
Initiated using
REFER 200 OK Call-ID:2;FromTag=33;ToTag=44
ACK Call-ID:2;FromTag=33;ToTag=44
202 Accepted
200 OK
BYE Call-ID:2;FromTag=33;ToTag=44
200 OK Call-ID:2;FromTag=33;ToTag=44
SMDI
PSTN Switch
VoiceMail
User A Server
SIP
Switch can act as a SIP SIP-Based Voice Mail
SIP UA on behalf of
Client System
TDM clients
User B
Messages-Waiting: no
User A calls User B (CFD) forwarded to Voice Mail Server. User A leaves a message for User B and disconnects the call
Pre-Paid Client
PSTN
Member A
Wireless Network
Member E
Member B
Member D
Member C
1
INVITE
INVITE
2 Invitations to invited
POC subscriber
OK First accepted
7
invitation
OK 8
10 Media
4
INVITE
INVITE 5 Invitations to the
group members
First ALERTING
ALERTING
6 Response
ALERTING 7
8
ALERTING First accepted
invitation
ALERTING 9 11
OK
ALERTING 10 OK 12
13
OK
OK 14
OK 15
Talk Burst Confirms 16
Talk Burst Confirms 16
4
INVITE
INVITE 5 Invitations to the
group members
First ALERTING
ALERTING
6 Response
ALERTING 7
8
ALERTING First accepted
invitation
ALERTING 9 11
OK
ALERTING 10 OK 12
13
OK
OK 14
OK 15
Talk Burst Confirms 16
Talk Burst Confirms 16
createListener() getInstance()
SIP Factory SIP Listener SIP Factory
createStack()
Event
Registration createProvider()
Proprietary Proprietary
Network
SIP Stack SIP Stack
SipListener SipListener
SipProvider SipProvider
6
ACK ACK
8
HTTP GET 7
200 OK 9
HTTP POST
10
11
SUBSCRIBE
200 OK
200 OK 12
13
NOTIFY 14
15
200 OK
INVITE 16
17
200 OK
ACK 18
19
INVITE
200 OK
INVITE 21
20
22
200 OK
23
ACK
ACK 23
RTP
SIP Certification Training 1.1 Copyright 2006 Wipro Ltd 357
357
SIP Lite
o An abstracted view of the SIP protocol that provides a SIP
programming environment for developers
o API specification is primarily developed for the J2SE
platform to provide a rich object model that may be
suitable for midsize devices with more processing power
and memory than mobile handsets, i.e. PDAs and SIP
phones
o Defines a three-tier architecture, where the Listener exists
for a Dialog, a Call and a CallProvider - listen for incoming
messages, dialogs and calls respectively
o Define a single Message interface identified based on
Request and Response constants
o Defines the concept of a Call and Dialog interface within
which a Call may contain multiple Dialogs
o Specification designed specifically for User Agent
applications
MGCF
SIP Servlet
SIP for J2ME
JAIN SIP JAIN SIP
P-CSCF
I-CSCF
S-CSCF
SIP Servlet
JAIN SIP Application
SIP Servlet Server
Application MGW
Server SIP Servlet
SIP Lite
Application
Server
SIP Lite