
МатериалБочкарев С.А. / sip_protocol_en
.pdfhgs/SIP Tutorial |
1 |
The Session Initiation Protocol
(SIP)
Henning Schulzrinne
Dept. of Computer Science
Columbia University
New York, New York
(sip:)schulzrinne@cs.columbia.edu
May 2001

hgs/SIP Tutorial |
2 |
Overview
protocol architecture
typical component architectures
addressing and locating SIP entities
protocol operation and extensions
reliability
services, features and caller preferences
security and QoS
programming SIP services
May 2001

hgs/SIP Tutorial |
3 |
Introduction
SIP = core protocol for establishing sessions in the Internet
transports session description information from initiator (caller) to callees
allows to change parameters in mid-session
terminate session
May 2001

hgs/SIP Tutorial |
4 |
VoIP protocol architecture
Languages/APIs
JAIN
Parlay
Directory/Discovery
DNS/enum LDAP TRIP
SLP
QoS
DiffServ IntServ
CPL voiceXML servlets sip−cgi
peer−to−peer Signaling
SIP SDP |
MGCP |
RTSP |
|
H.248 |
|||
PINT |
|
||
SPIRITS |
master−slave |
|
|
|
|
Transport
RTP TLS
SCTP
May 2001

hgs/SIP Tutorial |
5 |
Multimedia protocol stack
|
signaling |
|
quality of service |
media transport |
|
MGCP/Megaco |
|
|
|
|
|
|
SDP |
|
reservation |
measurement |
media encaps. |
H.323 |
SIP |
RTSP |
RSVP |
RTCP |
(H.261, MPEG) |
|
|||||
|
|
|
|
|
RTP |
transport |
TCP |
|
UDP |
|
|
|
|
|
|
||
network |
|
|
IPv4, IPv6 |
|
|
|
|
|
|
|
|
PPP |
AAL3/4 |
AAL5 |
|
|
PPP |
link |
|
|
|
|
|
Sonet |
|
ATM |
Ethernet |
|
V.34 |
physical |
|
|
|
|
|
application |
daemon |
|
|
|
|
|
|
|
|
|
|
kernel
May 2001

hgs/SIP Tutorial
SIP protocol use
LDAP |
address |
TRIP |
|
lookup |
|
|
|
|
|
|
PSTN gateway lookup |
DNS |
next−hop |
|
|
|
SIP |
|
signaling |
may |
SDP |
|
sets up |
|||
|
|||
|
trigger |
||
|
|
||
|
RSVP |
|
|
media |
|
RTP |
|
|
|
UDP |
6
SIP
SDP
RSVP
RTP
UDP
May 2001

hgs/SIP Tutorial |
7 |
SIP applications
setting up voice-over-IP calls
setting up multimedia conferences
event notification (subscribe/notify) IM and presence
text and general messaging
signaling transport
May 2001
hgs/SIP Tutorial |
8 |
SIP addressing
May 2001

hgs/SIP Tutorial |
9 |
Personal mobility
SIP uses email-style addresses to identify users
yahoo.com
alice17@yahoo.com
alice@columbia.edu
7000@columbia.edu
Alice.Cary@columbia.edu |
columbia.edu |
|
alice@columbia.edu
(also used by bob@columbia.edu)
tel:12128541111
tel:12015551234
alice@host.columbia.edu
May 2001

hgs/SIP Tutorial |
10 |
SIP addressing
typically, same as user's email address:
alice@example.com 12125551212@gateways-r-us.com
written as URL, e.g., sip:alice@example.com
can add parameters, such as type (user=”phone”) or transport protocol
May 2001