Internet Telephony Lecture Notes

19 June 2008 • The Session Initiation Protocol


Outline

Network Model

the big picture

SIP

SIP Objectives

SIP Abstractions

Associated Protocols

SIP Characteristics

SIP and the Control Plane

SIP Architecture

SIP Domains

SIP Interactions

SIP Transactions

SIP Architectural Patterns

SIP Redirectors

SIP Registrars

SIP Proxies

SIP User Agent

SIP Messages

Example SIP Message

INVITE SIP:UAB@example.com SIP/2.0
Via: SIP/2.0/UDP 10.20.30.40:5060
From: UserA <SIP:UAA@example.com>;tag=589304
To: UserB <SIP:UAB@example.com>
Call-ID: 8204589102@example.com
CSeq: 1 INVITE
Contact: <SIP:UserA@10.20.30.40>
Content-Type: application/sdp
Content-Length: 141

v=0
o=UserA 2890844526 2890844526 IN IP4 10.20.30.40
s=Session SDP
c=IN IP4 10.20.30.40
t=3034423619 0
m=audio 49170 RTP/AVP 0
a=rtpmap:0 PCMU/8000

Example SIP Response

SIP/2.0 200 OK
Via: SIP/2.0/UDP pc33.atlanta.com
  ;branch=z9hG4bKhjhs8ass877;received=192.0.2.4
To: <sip:carol@chicago.com>;tag=93810874
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 63104 OPTIONS
Contact: <sip:carol@chicago.com>
Contact: <mailto:carol@chicago.com>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE
Accept: application/sdp
Accept-Encoding: gzip
Accept-Language: en
Supported: foo
Content-Type: application/sdp
Content-Length: 274

[sdp payload deleted]

SIP Request Types

SIP Message Fields

Extending SIP Messages

Example SIP Message Extensions

SIP URIs

SIP URI Format

Example SIP URIs

sip:alice@atlanta.com

sip:alice@192.0.2.4

sip:alice:secretword@atlanta.com;transport=tcp

sips:alice@atlanta.com?subject=Help&priority=urgent

sip:+1-212-555-1212:1234@gateway.com;user=phone

sips:1212@gateway.com

sip:atlanta.com;method=REGISTER?to=bob%40atlanta.com

SIP URI Resolution