Professional Documents
Culture Documents
Role of SIP
Information Flow
12/09/21 04:37 AM 1
Communication Environment (1/3)
User Endpoint A
Where is B?
L o ca tion Location
r r e n t
Use r B Cu Record
Location Known..
Location Unknown..?
12/09/21 04:37 AM 2
Communication Environment (2/3)
Willingness Check
User Endpoint A User Endpoint B
Hello..!
Hello..!
Communication
12/09/21 04:37 AM 3
Communication Environment (3/3)
Termination
- No connection -
Bye..!
Bye..!
12/09/21 04:37 AM 4
Agenda
Role of SIP
Information Flow
12/09/21 04:37 AM 5
Functionality Aspects
12/09/21 04:37 AM 6
Session Initiation Protocol
12/09/21 04:37 AM 7
Agenda
Role of SIP
Information Flow
12/09/21 04:37 AM 8
Architectural Components of SIP
Registrar Redirect
O
T
H
E
R
IP NETWORK N
/
W
UA S
Proxy
12/09/21 04:37 AM 9
User Agent (UA)
Caller Callee
Request
Response
12/09/21 04:37 AM 10
Proxy Server
12/09/21 04:37 AM 11
Types of Proxy (1/2)
12/09/21 04:37 AM 12
Types of Proxy (2/2)
Stateful Proxy
•Authentication
•Security
•Routing
•Information retained about
message transaction. Hence
(Message Forwarding + Processing)
used in re-transmissions,
cancellations, billing etc.
Processed Message
12/09/21 04:37 AM 13
Registrar/Location Server
Proxy Registrar
User A
Call
REGISTER REGISTER Processing REGISTER
Location
Unit Service
12/09/21 04:37 AM 14
Redirect Server
INVITE
INVITE
INFO
ACK
INVITE
INVITE
TRYING
TRYING
12/09/21 04:37 AM 15
Agenda
Role of SIP
Components
Architectural of SIP
SIP Components
Information Flow
12/09/21 04:37 AM 16
Information Flow (1/2)
12/09/21 04:37 AM 17
Information Flow (2/2)
IPT
o m ain Proxy EL
D
D o ma
S IP Caller in
JIRI
1. INVITE 2. INVITE
3. TRYING 100 4. INVITE
5. TRYING 100
6. RINGING 180
7. RINGING 180
8. RINGING 180 9. OK 200
10. OK 200
11. OK 200
12. ACK
MEDIA SESSION
13. BYE
14. OK 200
12/09/21 04:37 AM 18
Agenda
Role of SIP
Components
Architectural of SIPof SIP
Components
Information Flow
12/09/21 04:37 AM 19
CANCEL “hop by hop” Request (1/2)
UAC UAS
CANCEL
Provisional Final
Response ?
12/09/21 04:37 AM 20
CANCEL “hop by hop” Request (2/2)
Eg.
CANCEL sip:userB@south.com SIP/2.0
Via: SIP/2.0/UDP pc30.north.com
Max-forwards: 70
To: User B < sip:userB@south.com>
From: User A < sip:userA@north.com>;tag=1983033020
Call-ID: bfue74f94fh8.north.com
CSeq: 201183 CANCEL
Contact: < sip:userA@pc30.north.com>
12/09/21 04:37 AM 21
OPTIONS Request (1/2)
12/09/21 04:37 AM 22
OK Response for OPTIONS (2/2)
SIP/2.0 200 OK
Via: SIP/2.0/UDP pc30.north.com
To: User B < sip:userB@south.com>
From: User A < sip:userA@north.com>;tag=1983033020
Call-ID: bfue74f94fh8.north.com
CSeq: 201183 OPTIONS
Contact: < sip:userB@192.0.3.7>
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE
Accept: application/sdp
Accept-encoding: gzip
Accept-language: en
Content-length: 274
12/09/21 04:37 AM 23
Session Modification with re-INVITE
User A User B
INVITE
180 RINGING
200 OK
ACK
Media Session
INVITE’
405 not acceptable
ACK
INVITE’’
200 OK
ACK
New Session
12/09/21 04:37 AM 24
Request Processing (1/2)
Authentication
Method No
Supported ?
405
Method Not Supported
Yes generated
Header Inspection
Header Inspection
Content Processing
12/09/21 04:37 AM 25
Request Processing (2/2)
Authentication
Method No
Supported
405
Yes generated
Header Inspection
Content Processing
Content Processing
12/09/21 04:37 AM 26
Services provided by SIP
• User Preferences
– Call Forking
– Call Queuing
• Multimedia Conference
• Instant Messaging
12/09/21 04:37 AM 27
12/09/21 04:37 AM 28