Professional Documents
Culture Documents
RFC3261中文版 PDF
RFC3261中文版 PDF
SIP
Internet
SIP SIP
SIP
SIP
Internet
Internet
SIP
SIP
SIP
SIP
SIP
Internet
SIP
SIP
SIP 5
QoS RTP
RFC1889[28]RTSP
RFC 2326[29]PSTNMEGACO
RFC 3015[30]SDPRFC 2327[1]
SIP SIP
ID
SIP SIP SIP
SIP
SIP
SIP
SIP
SIP
SIP HTTP /
Alice Bob SIP
URI INVITE INVITE SIP Alice
BobINVITE
INVITE Alice Alice Bob
atlanta.com
proxy
biloxi.com
proxy
Alices
softphone
Bobs
SIP phone
INVITE F1
INVITE F2
INVITE F4
100 Trying F3
100 Trying F5
180 Ringing F6
180 Ringing F8
180 Ringing F7
180 Ringing F9
200 OK F10
ACK F12
Media Session
BYE F13
200 OK F14
1SIP
INVITE 1 F1
INVITE sip:bob@biloxi.com SIP/2.0
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds
Max-Forwards: 70
To: Bob <sip:bob@biloxi.com>
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710@pc33.atlanta.com
CSeq: 314159 INVITE
Contact: <sip:alice@pc33.atlanta.com>
Content-Type: application/sdp
Content-Length: 142
(Alices SDP not shown)
INVITE
RFC2822[3]
From Alice SIP SIPS URIsip:alice@atlanta.com
tag
URI
Call-ID IP
To From Call-ID Alice Bob SIP
CSeq CSeq
Max-Forwards
Content-Type
Content-Length
SIP 20
SIP
SIP SDPRFC 2327[1]
DNS
Bob SIP 486Busy herebiloxi.com
INVITE Bob
INVITEforking
200OK Alice 200OK
Alice Bob SIP
ACK200OK
ACK Alice
Bob SIP INVITE 200OK Contact
SIP INVITE/200/ACK 13
Call-ID: a84b4c76e66710@pc33.atlanta.com
CSeq: 314159 INVITE
Contact: <sip:bob@192.0.2.4>
Content-Type: application/sdp
Content-Length: 131
(Bobs SDP not shown)
200OKViaTo
FromCall-ID Cseq INVITE
Via
Alice SIP biloxi.com
Bob SIP To
Contact Bob SIP
URIContent-Type Content-Length Bob SDP
DNS
Bob SIP 486Busy herebiloxi.com
INVITE Bob
INVITEforking
200OK Alice 200OK
Alice Bob SIP
ACK200OK
ACK Alice
Bob SIP INVITE 200OK Contact
SIP INVITE/200/ACK 13
Alice Bob SDP
SIP
Alice Bob
re-INVITE Re-INVITE
200OK ACK 200OK
488
ACKre-INVITE
14
Bob BYE BYE Alice
Alice 200OK BYE BYE
SIP
Bob Bob SIP SIP
Bob
URI
URI
SIP SIP
SIP / request-by-request
26
SIP 24.1
SIP OPTIONS SIP
CANCEL
5
SIP
SIP
transaction-by-transaction
SIP 18
SIP
UAC
17
TU
SIP
IP
TU
CANCEL CANCEL
9
SIP
CoreUAC UAS
8 UAC UAS
SIP
REGISTER UAS 10 REGISTER UACUAS
11 OPTIONS UACUAS UA
SIP
INVITE
UAC 8 UAC
12
SIP INVITE
13
SIP 14 INVITE 15
81011121314 15 UA 9 UA
16
6
SIP
Call
Call Leg[31]
Call Stateful INVITE BYE
Conference
Core SIP
Downstream
Informational Response
Initiator, Calling Party, Caller INVITE
INVITE
Invitation INVITE
Invitee, Invited User, Called Party, Callee INVITE
INVITE
Location ServiceSIP
REGISTER
Loop
Request-URI
Loose Routing
Request-URI
Method
INVITE BYE
Outbound Proxy Request-URI
UA
Parallel Search
Sequential Search
2xx 6xx
Session SDP
RFC2327[1] SDP
RTP
SDP SDP ID
SIP TransactionSIP
1xx
INVITE 2xx ACKINVITE 2xx
ACK
Spiral SIP
Request-URI
joe@example.com.com
Joe PCPC bob@example.com.com
Stateful Proxy
16
Stateless Proxy
Upstream
UAS
SIP
SIP UTF-8 RFC2279[6]
SIP
7.1 7.2
RFC2822[3]
SIP RFC2822
generic-message = start-line
*message-header
CRLF
[ message-body ]
start-line
= Request-Line / Status-Line
CRLF
SIP HTTP/1.1
[HX.Y] HTTP/1.1 RFC2616[7] X.Y
SIP HTTP
7.1
SIP Request-LineRequest-Line
Request-URI SP
Request-Line CRLF CRLF CR LF
(LWS)
Request-Line = Method SP Request-URI SP SIP-Version CRLF
Method Contact REGISTER
INVITEACK CANCEL BYE OPTIONSSIP
RFC
Request-URIRequest-URI SIP SIPS URI 19.1 URI
RFC2396[5] Request-URI
unescaped spaces<>
SIP SIPSIPS Request-URI RFC2806[8]tel
URI SIP SIP URI SIP URISIPS URI
SIP-Version SIP [H3.1] SIP
HTTPSIP/2.0 HTTP/1.1
SIP SIP-Version SIP/2.0 SIP-Version
HTTP/1.1 SIP
7.2
SIP Status-LineStatus-Line
Status-Code textual phrase
SP
CRLF CR LF
Status-Line = SIP-Version SP Status-Code SP Reason-Phrase CRLF
Status-Code
Reason-Phrase Status-Code Status-Code
Reason-Phrase Reason-Phrase
Accept-Language
Status-Code
100 199 1xx 200 299
2xxSIP/2.0
1xx:informational
2xx:success
3xx:Redirection
4xx:Client Error
5xx: Server Error
6xx: GLOBAL FAILURE
21
7.3
[H4.2]
SIPSIP
header = header-name HCOLON header-value *(COMMA header-value)
*Contact
7.3.1
RFC2822[3] 2.2
field-name: field-value
25
SP
Subject:
Subject
lunch
:
lunch
Subject
:lunch
Subject: lunch
SPHT
SP
Subject: I know youre there, pick up the phone and talk to me!
Subject: I know youre there,
pick up the phone
and talk to me!
Via
RouteRecord-RouteProxy-RequireMax-Forwards Proxy-Authorization
7.3
field-name: fieldvalue
7.3
Route: <sip:alice@atlanta.com>
Subject: Lunch
Route: <sip:bob@biloxi.com>
Route: <sip:carol@chicago.com>
Subject: Lunch
Route: <sip:alice@atlanta.com>, <sip:bob@biloxi.com>,
<sip:carol@chicago.com>
Route: <sip:alice@atlanta.com>
Route: <sip:bob@biloxi.com>
Route: <sip:carol@chicago.com>
Route: <sip:bob@biloxi.com>
Route: <sip:alice@atlanta.com>
Route: <sip:carol@chicago.com>
Route: <sip:alice@atlanta.com>,<sip:carol@chicago.com>,
<sip:bob@biloxi.com>
TEXT-UTF8
Contact: <sip:alice@atlanta.com>;expires=3600
CONTACT: <sip:alice@atlanta.com>;ExPiReS=3600
Content-Disposition: session;handling=optional
content-disposition: Session;HANDLING=OPTIONAL
20
7.3.3
SIP
UDP MTU
20
7.4
7.4.1
Internet Content-Type
Content-Encoding Content-Encoding
Content-Type
RFC2046 [10]MIME
Accept
SIP
UTF-8
7.4.2
Content-Length 20.14
HTTP/1.1 SIP
7.5
Framing SIP
(UAC)(UAS)UAC
UAS PSTN UAC
UAS
UAC UAS
26 UAC UAS
S/MIME
8.1
UAC
UAC
8.1.1
UAC SIP ToFromCseqCall-ID
Max-Forwards Via SIP SIP
UAC SIP
Request-URI SIP
INVITE 13 OPTIONS (
11 )
Request-URI Request-URI To URI REGISTER
10 REGISTER Request-URI
UA Request-URI
Request-URI
URI UAC
UA
SIP UA UA
URI UA
12.2.1 Request-URI
Request-URI URI
To To
To SIP SIPS URI
URI tel URL (RFC 2806 [8]) SIP
SIPS URI TLS SIPS URI To
UAC To To
URI
URIbob
UA
SIPS URI UA SIPS URI RHS
(sip:bob@example.com) SIPS URI
UA [@]
UA tel URLUA
411
tel:411
To To
To 20.39 To
To: Carol <sip:carol@chicago.com>
From From To
URI SIP
IP UA
From URI
From UAC
anonymous
URI( sip:thisis@anonymous.invalid)
UA From
UA
URI From
22
From UAC 19.3
From 20.20 From
From: "Bob" <sips:bob@biloxi.com> ;tag=a48s
From: sip:+12125551212@phone2net.com;tag=887s
From: Anonymous <sip:c8oqz84zk7z@privacy.org>;tag=hyh8
Call-ID Call-ID UA
Call-ID UA
UAC UAC Call-ID
SIP UA
UA Call-ID
Call-ID
8.1.3
Call-ID RFC 1750 [11]
localid@hostCall-ID
Call-ID
Call-ID
Call-ID 20.8
Call-ID
Call-ID: f81d4fae-7dec-11d0-a765-00a0c91e6bf6@foo.bar.com
CSeq CSeq
REGISTER
31
2 32
CSeq
12.2.1 CSeq
Max- Forwards 0
483()
UAC Max-Forwards 70
SIP
UA
Via Via
([4]) Via
UAC Via
SIP 2.0Via branch parameter
UA
CANCEL 2xx ACK
CANCEL 17.1.1
2xx ACK INVITE ID
ID ID RFC2543
ID z9hG4bk
magic cookie7 RFC 2543
ID
(implementation-defined)
18 Via maddrttl sent-by
RFC Supported
SIP MIME
20.11 20.15
8.1.2
[4] DNS
12.2.1
DNS Request-URI DNS
Route Route DNS
Request-URI Request-URI
SIP [4] URI URI SIPS URI UAC
[4]
Request-URI SIPS URI
TLS Route
URI
Request-URI UA RFC2543
UAC Route
Record-Route
Route URI
UAC [4]
Via
Via
8.1.3
TUTU
Transaction Layer Errors SIP
408
UDP ICMP TCP
503
Unrecognized Responses UAC x00
UAC x00
UAC 431
400UAC 100
183UAC 100 183
399
8.1.3.5
sip:user@host?Subject=foo&Call-Info=<http://www.foo.com>
Subject HTTP URI
Call-Info
UAC ToFrom Call-ID UAC
Call-ID
Via ID 8.1.1
UAC
Contact 21.3.2 21.3.3
Processing 4xx Responses 4xx UA
401 407 UAC 22.2
22.3
413 21.4.11 UAS
UAC
415()UAS UAC
Accept Accept-Encoding
Accept-Language
416( URI ) Request-URI URI
SIPS URI
420 Require Proxy- Require
UAS UAC
Unsupported
UAS
UAS 12 UAS
UAS
8.2.1
UAS UAS
405 8.2.6
UAS 405 Allow Allow UAS
8.2.2
UAS
UAS
UAS UAS To
URI tel:URI To UAS
UAS UAS 403
8.2.3
UAS UAS
Content-Type Content- Language
Content-Encoding Content-Disposition
UAS 415
UAS Accept
421 Require
Require Require
RFC
8.2.5
UAS 10
REGISTER 11 OPTIONS 13 INVITE 15
BYE
8.2.6
UAS
UAS
UAS
UAS
UAS 26.5.1
UAS
UAS (1xx)
UAS
UAS ACK
UAS CANCEL
To
19.3
8.3
URI URI
10 URI
URI
SIP CANCEL
3xx CANCEL
2xx SIP SIP
3xx Contact
Contact expires Contact
Contact URI
301 302
UDP TCP
SIP TCP UDP SIP
Request-URI URI
URI URI 404
UA
CANCEL
CANCEL
UAS
CANCEL CANCEL
INVITE CANCEL INVITE
CANCEL UAS INVITE
a 487
CANCEL 15 UAC
INVITE 16.10 CANCEL
CANCEL
CANCEL
9.1
CANCEL INVITE
INVITE INVITE CANCEL
CANCEL
CANCEL
CANCEL
CANCEL
CANCEL CANCEL CANCEL
CANCEL
CANCEL
CANCEL
CANCEL UAC
487 RFC2543 UAS
64*T1 17.1.1 T1
9.2
CANCEL TU
TU CANCEL
CANCLE ACK 17.2.3
CANCEL CANCEL
CANCEL CANCEL UAS CANCEL
CANCEL 16.10
UAS 8.2 UAS CANCEL CANCEL
Authorization
CANCEL Require
UAS CANCEL 481/
CANCEL UAS
CANCEL UAS
INVITEUAS INVITE
487CANCEL
CANCEL UAS CANCEL
200OK 8.2.6 CANCEL To
To CANCEL
10
10.1
SIP SIP
SIP
SIP
SIP SIPS URIsip:bob@biloxi.com
URIsip:bob@engineering.biloxi.com
URI
URI
Request-URI
URI
Bob SIP UA
REGISTER UAS
REGISTER
UA
SIP
SIP
10.2 REGISTER
REGISTER REGISTER
Request-URI: Request-URI (
sip:chicago.com) SIPS URI userinfo @
To: To To Request-URI
SIP SIPS URI
From: From To
Call-ID REGISTER
REGISTER Contact
+
bo b
UA
+
+
3 )INVIT E
cat o l@ ch icago .co m
+
+
ch icago .co m
+
+
A
2 )St o re
+
>
<
4 )Query
>+
5 )Resp
1 )RE GIST E R
+
cube2 2 1 4 a
+
+
+
6 )IN VIT E
caro l@cube2 2 1 4 a.ch icago .co m
UA
carol
2
action:RFC 2543 action UAC action
expires:expires UA
expires 3600
10.2.1
REGISTER SIP
REGISTER To
Contact SIP SIPS URI SIP
sip:carol@cube2214a.chicago.com URI SIP UA
tel URLRFC 2806[8] email mail to URL
RFC 2368 [32]
Carol sip:carol@chicago.com SIP
chicago.com chicago.com Carol Carol
SIP
REGISTER To SIPS URI Contact
SIPS URI
SIP SIPS URI SIP URI TLS
SIP
UA
Setting the Expiration Interval of Contact Addresses REGISTER
10.3
Expires expires
Contact REGISTER
expires Contact
REGISTER
10.2.3
Contact
REGISTER
REGISTER Contact
10.2.4
UA UA UA
200OK Contact
19.1.4 UA
expires Expires UA
REGISTER REGISTER
UA Call-ID
10.2.5
REGISTER Data
10.2.6
UA
UA
UA SIP
Request-URI UA sip:carol@chicago.com REGISTER
sip:chicago.com
UA SIP
sip.mcast.net(224.0.1.75 for IPv4) Ipv6
SIP UA
[33]
10.2.7
REGISTER UAS 8.1.2
REGISTER REGISTER
UAS
10.2.8
UA 423 REGISTER
423 Min-Expires
10.3 REGISTER
UAS REGISTER
8.2 17.2
REGISTER 6xx
REGISTER
302 REGISTER
Record-Route REGISTER Record-Route
REGISTER Record-Route
REGISTER
Record-Route
REGISTER
REGISTER
1 Request-URI Request-URI
16
2. 8.2.2 UAS
Require
3. UAC 22 SIP
SIP From
4.
403
5. To Request-URI
404URI
URI user-param
6. Contact
Contact Contact * Expires
Contact 400
Call-ID
Cseq
7. Contact
expires
Expires
423 Min-Expires
follow-me
URI
Call-ID Call-ID
Call-ID
CSeq
UA
Call-ID Cseq
500
8. 200OK Contact
Contact expires
Date
11
SIP OPTIONS UA UA
UA OPTIONS
OPTIONS
11.1 OPTIONS
8.1.1 SIP OPTIONS
Contact OPTIONS
Accept UAC
UA SDPapplication/sdp
OPTIONS Request-URI
OPTIONS
OPTIONS
OPTIONS
AllowAcceptAccept-EncodingAccept-Language Supported
OPTIONS 200 (OK)Allow
Allow Contact 200 (OK)
3xx Warning
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 not shown)
12
SIP
8 UA
UA ID ID Call-ID
UA ID UA UA
ID
ID To ID SIP
UAC UAS UAC ID Call-ID Call-ID
To From
UAS ID Call-ID Call-ID
From To
ID
UA UA URI
URI URI
2xx
12.1
13 INVITE
UA ID
12.1.1 UAS
UAS 2xx to INVITEUAS
Record-Route UA URIURI
Record-Route UAS Contact
Contact UAS
INVITE 2xx ACK URI IP Contact
URI SIP SIPS URI
Request-URI SIPS URI
Record-Route Record-Route
Contact Contact SIPS URIURI
URIINVITE Contact URI
UAC URI
UAS
TLSRequest-URI SIPS URI TRUE
Record-Route URI
URI Record-Route
Contact URI
CSeq
ID Call-ID ID
To ID
From UAS From
Contact URI
CSeq
UA ID Call-ID
ID From
ID To UAC To
To URI URI To
ID From URI URI From
ID null
To From
To From URI RFC 2543
URI
To From URI
Call-ID Call-ID
Cseq
ACK CANCEL
Cseq 8.1.1
CSeq
32 136
32 31
UAC Request-URI Route
UAC URI Request-URI UAC
Route
URI lr 19.1.1
URI lr 19.1.1
UAC
URI Request-URI Request-URI UAC
Route UAC URI
Route
sip:user@remoteua
<sip:proxy1>,<sip:proxy2>,<sip:proxy3;lr>,<sip:proxy4>
Request-URI Route
METHOD sip:proxy1
Route: <sip:proxy2>,<sip:proxy3;lr>,<sip:proxy4>,<sip:user@remoteua>
URI lr
RFC2543 Route
Request-URI Request-URI Route Request-URI
Request-URI
UAC Contact URI
TRUEURI SIPS URI
12.2.2 Contact URI UA
URI
8.1.1
8.1.2
UAC Route
INVITEs
UAS To UAS
mid-dialog
UAS 8.2
To UAS
UAS UAS
To USA UAS
To UAS To
UA
Cseq RTP
UAS 481(/
)
OPTIONS
Cseq
500
Cseq
UAS Cseq Cseq UAS
CSeq
UAC UAC
Cseq UAS Cseq
13.1
INVITE
INVITE
UAS UAS UAS
2xx
3xx4xx5xx6xx UAS 1xx
UAC
UAC 2xx 2xx
INVITE INVITE
OPTIONSUAC ACK
ACK 300 699
17 ACK 2xx UAC ACK
INVITE 2xx INVITE UA 2xx
UA UA INVITE 2xx
2xx
[34]INFO UA INFO
Allow
INVITE Supported( 20.37 ) UAC
INVITE Accept ( 20.1 ) UA INVITE
Content-Types
Accept
UAC Expires 20.19 Expires
INVITE UAC 9
INVITE CANCEL
UAC INVITE Subject (
20.36 )Organization ( 20.25 ) User-Agent ( 20.41 )
INVITE
UAC INVITE 8.1.1
Content-Type
Content- Disposition session
UA
SIP /
UA
/ SIP INVITE
//
SIP
INVITE ACK
INVITE
UAS UAC
2xx
UAC
UAC
UAS INVITE
UAS
UA INVITE
2xx 1xx 2xx ACK INVITE
SDP
RFC 2327 [1]
[12]
- Content-Disposition session
INVITE ACK INVITE
Content-Disposition: render ACK Content-Disposition: session
1xx Responses
INVITE To
ID 12.1.2
INVITE UAC
Allow
3xx Responses 3xx Contact
3xx 21.3 UAC
4xx 5xx and 6xx Responses INVITE 2xx 4xx5xx
6xx Contact
2xx
2xx UAC INVITE
INVITE ACK 17
2xx Responses 2xx INVITE UAC To
2xx
12.2.1 2xx
12.2.1
UAS
1 Expires INVITEUAS
UAS
487
2 mid-dialog 12
14
3 To UAS
UAS 12.2.2
INVITE
INVITE UAS INVITE
SDP ID
UAS INVITE 2xx
UAS
100
PSTN PSTN
INVITE IVR
The INVITE is Redirected UAS 3xx 300
301302 Contact
URI INVITE
The INVITE is Rejected
486 UAS
600UAS
INVITE
ACK
2xx UAS UAC UDP
UAS
64*T1 ACK 2xx
15 BYE
14
INVITE 13 -
12
URI
INVITE
INVITE re-INVITE
re-INVITE
UA
re-INVITE BYE
re-INVITE BYE
UA BYE
14.1 UAC
INVITEs - 12.3.1 re-INVITE
UAC INVITE
UAC
re-INVITEre-INVITE
2xx
12 re-INVITE
ToFromCall-IDCseq Request-URI
UAS re-INVITEUAC re-INVITE
Alert-Info Content-DispositionAlert
INVITE re-INVITE
re-INVITE Request-URI UA
1 INVITE TU
INVITE
2 INVITE TU
INVITE
INVITE UA
UA INVITE
UA re-INVITE 2xx re-INVITE
12.2.1 200 481/
408 re-INVITE INVITE
UA
UAC re-INVITE 491 T T
1 ID Call-ID
T 10ms 2.1
4
2 ID Call-IDT 10ms 0 2
UAC re-INVITE
BYE re-INVITE
UAS
UAC UAC
BYE
15
SIP
INVITE UAS 1xx 2xx /
INVITE 2xx
2xx INVITE
INVITE BYE
UA UA BYE
UA BYE UA
BYE UA BYE
BYE UA 2xx ACK
SIP
UA INVITE CANCEL
BYE UA
BYE
2xx ACK BYE
ACK
UI 403
BYE
15.1 BYE
15.1.1 UAC
12 BYE
BYEUAC INVITE BYE
BYE UAC
BYE 481/ 408
UAS 487
16
16.1
SIP SIP SIP
UAS
SIP
UAS
8.2
TCP
TCP
TU
100
CANCEL
16.2
SIP 17
3
17
8.2.6 100
UAS INVITE 100
S
T
+
+
C
T
C
T
C
T
+
+
+
CT =
ST =
+
+
+
+
3
1. ( 16.3 )
2. ( 16.4 )
3. ( 16.5 )
4. ( 16.6 )
5. ( 16.7 )
16.3
1.
2. URI
3. Max-Forwards
4. ()
5. Proxy-Require
6. Proxy-Authorization
8.2
8.2.2
1
Date
Date
2URI
Request-URI URI 416
URI
3Max-Forwards
Max-Forwards 20.22 SIP
Max-Forwards Max-Forwards
Max-Forwards Max-Forwards
Max-Forwards
OPTION 11
483
4
Via
16.6
Via
482
5Proxy-Require
Proxy-Require
Proxy-Require 20.29
420 Unsupported
20.40
6Proxy-Authorization
22.3
22.3
16.4
Request-URI
Request-URI
Record-Route 16.6 4 Route
Request-URI Route
Request-URI 12.2.1
Record-Route URI
URI
Request-URI maddr
Request-URI maddr
Request-URI
maddr
maddr
maddr URI
Route
16.5
URI
Request-URI maddr Request-URI URI
16.6
Request-URI Request-URI
URI 16.6
HTTP
Request-URI
SIP
Request-URI
10.3 Request-URI
Request-URI 485
Contact URI
sip:John.Smith@company.com INVITE John
Smiths 21.4.23
URI
URI URI
URI
Request-URI
3xx
SIP
URI
URI
URI URI
16.6 6 SIP
SIPS URI Route
Request-URI 404
480
16.6
q Contact 20.10
q q q
Request-URI
Max-Forwards
Record-Route
Via
Content-Length
10
11
7.3.1
Request-URI
Request-URI
Max-Forwards
Max-Forwards 1
Max-Forwards Max-Forwards
70
UA Max-Forwards
4
Record-Route
Route Record-Route
Record-Route
Route
Record-Route 12
Record-Route
Record-Route
Record-Route
Record-Route Route
12
Record-Route
Record-Route
Record-Route URI SIP SIPS URI URI
lr 19.1.1 URI
URI
URI
SIP SIP URI TCP/UDP
Record-Route URI URI
URI SIP Request-URI
SIPS URI Route 6 SIPS URI
Record-Route URI SIPS URI TLS
Record-Route TLS
Request-URI Route 6 SIPS
URI SIPS URI Record-Route
Record-Route URI
URI
Record-Route
Record-Route URI URI
Record-Route
Record-Route URI
Record-Route 12
Record-Routing
Record-Routing
Record-Route
Record-Route SIP INVITE
URI URI lr
Route
Route Route
10
Route
Route
Request-URI SIPS URI TLS
Route URI URI
lr
z
Request-URI Route
IP
Route Request-URI IP
Route
Request-URI Route
Request-URI
URI Request-URI
SIPS URI SIPS URI
10
8 Via
408
8
Via
Via Via
8.1.1
magic cookie
8.1.1
Route Proxy-Require
Proxy-Authorization
16.3
TO From
Call-Id Request-URI Via Cseq
Proxy-Require Proxy-Authorization
16 MD5
Base64
branch
Request-URI
17.3 9.2
Content-Length
Content-Length
Content-Length 20.14
10
17.7
7
11
INVITE
TU C
INVITE C
16.7 2 16.8
16.7
17.1.3
INVITE 2xx
1.
2. C
3. Via
4.
5.
6.
7.
8. Record-Route
9.
10. CANCEL
1.
16.6
2. C
INVITE 101 199
101 199 100 C
3
3. Via
Via
Via
8.1.3 UAC
10 CANCEL
4.
3xx
5.
100Trying
2xx
6xx
10
RFC2543 RFC2543 6xx INVITE
2xx
2xx UAC 2xx 6xx
6xx CANCEL
487 6xx
INVITE 2xx
100
Trying
Record-Route
INVITE
INVITE 2xx 2xx
6.
408
6xx
6xx 6xx
4xx
401407415420 484
503
503 503
503 Request-URI
503 500
Record-Route
4 503407501 404
407
1xx 2xx To UAC
To
1xx 2xx To 1xx 2xx To
1xx To
100 UAS UAS
UAS
UAS
3-6xx 3-6xx UAS
3-6xx
To To
To To
3-6xx To
To
To 401 407
3xx Contact 3xx Contact
7. Authorization
401 407
401 407
WWW-Authenticate Proxy-Authenticate
401 407
WWW-Authenticate Proxy-Authenticate
26
8. Record-Route
Record-Route
URI
TLS TLS
Record-Route URI SIPS URI TLS
TLS Record-Route URI SIP URI
Record-Route
Record-Route
Record-Route
Record-Route URI
Record-Route URI
URI
Record-Route
URI URI
Record-Route
Record-Route
Record-Route
Record-Route Record-Route
9.
Record-Route
16.7 3 Via
Via
Via
10. CANCEL
CANCEL 6xx
CANCEL
CANCEL 408
16.9
18.4
503
Via
16.10 CANCEL
INVITE Expires
INVITE CANCEL
CANCEL
CANCEL
CANCEL 200OK
8.2
CANCEL 16.7 10
CANCEL
CANCEL
16.11
18
100
16.3
16.4 16.5
CANCEL ACK
INVITE
16.6
z
ID
ID 16.6 8
ID
Via ID
magic cookie ID ID
ID ViaTo
From Call-ID Cseq Request-URI
16.6
Route Record-Route Record-Route
URI Via
16.6 10
CANCEL
Route CANCEL
16.7
Via sent-by
Via
16.12
Route
1. Request-URI
Request-URI
3. Route Route
Request-URI URI URI 4
Request-URI
16.12.1
Basic SIP Trapezoid SIP U1P1P2U2
record-routing
U1
INVITE sip:callee@domain.com SIP/2.0
Contact: sip:caller@u1.example.com
P1P1 P1 domain.com DNS
domain.com DNS P1 Record-Route
INVITE sip:callee@domain.com SIP/2.0
Contact: sip:caller@u1.example.com
Record-Route: <sip:p1.example.com;lr>
P2 P2 domain.com Request-URI
Record-Route Route
Request-URI
INVITE sip:callee@u2.domain.com SIP/2.0
Contact: sip:caller@u1.example.com
Record-Route: <sip:p2.domain.com;lr>
Record-Route: <sip:p1.example.com;lr>
U2.domain.com 200 OK
SIP/2.0 200 OK
Contact: sip:callee@u2.domain.com
Record-Route: <sip:p2.domain.com;lr>
Record-Route: <sip:p1.example.com;lr>
U2 URI sip:caller@u1.example.com
(<sip:p2.domain.com;lr>,<sip:p1.example.com;lr>)
P2 P1 U1 U1 URI
sip:callee@u2.domain.com
(<sip:p1.example.com;lr>,<sip:p2.domain.com;lr>)
lr U1 BYE
P3 P2
BYE sip:p2.example.com;lr SIP/2.0
Route: <sip:p1.example.com;lr>
Route: <sip:caller@u1.example.com>
P2 request-URI Record-Route
17
SIP SIP
4
UAC
UAS 4
4
UA
UA SIP
TU UA
TU ACK
INVITE 2xx ACK
TU
TU
INVITE 2xx ACK
2xx ACK UAS ACK UAC
2xx UA UA
2xx ACK INVITE 2xx ACK
17.1
TU TU
SIP IP
TU
TU INVITE
INVITE INVITE ACK
INVITE ACK TU
ACK ACK
INVITE INVITE
INVITE TU INVITE
17.1.1 INVITE
INVITE INVITE INVITE
ACK UDP
T1 T1 RTT
500ms T1 T1
1xx
1xx 1xx
ACK
5 INVITE TU INVITE
18
T1 A A
A 64T1
B B
A
2T1
A 2T1
T1 500msT1 RTT
Internet T1
RTT T1 T1
B
TU ACK64T1
TU
TU
300699
TU
ACK 17.1.1 ACK
ACK ACK
D 32
D
INVITE H 64T1
T1 32s D T1
ACK
TU 17.1.3
5INVITE
2xx
TU TU UAC
UAC ACK 200OK
200OK UAC
INVITE 2xx
UAC ACK 2xx
UAC
17.1.3
UAC 2xx 2xx
T2
T2T2
4 T2 INVITE
T1 T2 500ms1s2s4s4s4s
F TU
TU
200699 TU
E
E T2 F TU
200699 TU
K T4
T4
T4 5s
17.1.3 K
17.1.3
1. Via Via
2. Cseq CANCEL
Via To
SIP
single-hop-discovery-like
18.1.1
17.1.4
TU TU [4]
17.2
TU
INVITE
17.2.1 INVITE
7 INVITE
6 INVITE
100 TU 200ms
100
To To
MAY SHOULD NOT 100 8.2.6
TU
TU
TU
17.2.3
TU 2xx
2xx TU
TU 300699
G T1
ACK
G
H ACK
TU
ACK
I T4
I
7INVITE
INVITE 2xx
17.2.2 INVITE
8 INVITE
INVITE ACK
TU
17.2.3
TU
TU
TU
200699
J 64
T1
TU
J
17.2.3
1. Via
2. Via sent-by Via
sent-by
3. ACK
INVITE
INVITE INVITE
Sent-by
INVITE
Request-URI TU
17.2.4
[4]
[4] TU
18
TCPSCTP TLS
IP
IP
[4]
8 INVITE
2xx
INVITE ACK
64*T1
T1 17.1.1
C TU
16.6 11
SIP UDP TCPSIP
RFC254 TCP UA
TCP
18.1
18.1.1
IP TTL
MTU 200 1300 MTU
RFC2914[36] TCP Via
Via UDP
Via maddr
Ipv4 1 ttl Ipv6
SIP
single-hop-discovery-like
17.1.3
Via
Via sent-by
IP FQDN
UDPTCP SCTP
5060 TLS 5061
IP sent-by
[4] 5
IP
semt-by
[4] 5
IP
TTL
IP
18.1.2
Via
semt-by
17.1.3
UA
UA
18.2
18.2.1
IP DNS
SIP SIPS URI[4]
URI RGDISTER Contact
Record-Route URI web
SIP TCP UDP SIP 5060 TCP TLS
SIP 5061
UDP
TCP TCP UDP
TCP
UDP UDP
Via sent-by
sent-by IP
Via received
IP
TCP SCTP
TLS
sent-by
received IP
IP
[4]
Via received
sent-by 5060
received ICMP
[4] 5
[4] 5
sent-by
18.3
UDP Content-Length
400
Content-Length
TCPContent-Length
Content-Length
18.4
ICMP
ICMP
TTL ICMP
19
PSTN
User:
URI Userinfo user password URI
Userinfo
SIP SIPS URI user
Internet RFC2806
user SIP SIPS URI
19.1.2
Password: SIP SIPS URI
URI
PIN PIN
password user password
user:password
Host SIP Ipv4 Ipv6
Port
URI URI
URI
URI
parameter-name = parameter-value
URI URI
transportmaddrttlusermethod lr
SIP [4]SIP
UDPRFC768[13]
TCPRFC761[14] SCTPRFC2960[15]
SIPS URI transport
Maddr host
maddr URI port transport maddr
[4] transportmaddr
hostport
Maddr URI
maddr
Route 8.1.1
URI
Ttl UDP maddr
UDP alice@atlanta.com ttl 15
239.255.255.1 URI
sip:alice@atlanta.com;maddr=239.255.255.1;ttl=15
telephone-subscriber URI
RFC2543
bis-05 rfc2543bis URI lr
Request-URI
uri SIP uri
Header URI
SIP URI ampersand
separated hname = hvalue pairs hname hvalue SIP
Contact URI
INVITE 200OKREGISTER
200OK 3xx
dialog
reg./redir. Contact/
default
Req.-URI
To
From
Contact
R-R/Route
external
user
--
password
--
host
--
port
(1)
user-param
ip
method
INVITE
maddr-param
--
ttl-param
transp.-param
(2)
lr-param
--
other-param
--
headers
--
j@s0n@
j
25 hname hvalue URI
IDN
19.1.2 SIP SIP URI
sip:alice@atlanta.com
sip:alice:secretword@atlanta.com;transport=tcp
sips:alice@atlanta.com?subject=project%20x&priority=urgent
sip:+1-212-555-1212:1234@gateway.com;user=phone
sips:1212@gateway.com
sip:alice@192.0.2.4
sip:atlanta.com;method=REGISTER?to=alice%40atlanta.com
sip:alice;day=tuesday@atlanta.com
URI alice;day=Tuesday
SIP
19.1.3 URI
SIP SIPS URI
REGISTER Contact URI 10.3 SIP
SIP URI
z
DNS IP
URI
URI uri
z
URI uri
URI
sip:%61lice@atlanta.com;transport=TCP
sip:alice@AtLanTa.CoM;Transport=tcp
sip:carol@chicago.com
sip:carol@chicago.com;newparam=5
sip:carol@chicago.com;security=on
sip:biloxi.com;transport=tcp;method=REGISTER?to=sip:bob%40biloxi.com
sip:biloxi.com;method=REGISTER;transport=tcp?to=sip:bob%40biloxi.com
sip:alice@atlanta.com?subject=project%20x&priority=urgent
sip:alice@atlanta.com?priority=urgent&subject=project%20x
URI
SIP:ALICE@AtLanTa.CoM;Transport=udp
sip:alice@AtLanTa.CoM;Transport=UDP
sip:bob@biloxi.com
sip:bob@biloxi.com:5060
sip:bob@biloxi.com
sip:bob@biloxi.com;transport=udp
sip:bob@biloxi.com
sip:bob@biloxi.com:6000;transport=tcp
sip:carol@chicago.com
sip:carol@chicago.com?Subject=next%20meeting
sip:bob@phone21.boxesbybob.com
sip:bob@192.0.2.4
phone21.box
esbybob.com
sip:carol@chicago.com
sip:carol@chicago.com;security=on
z
sip:carol@chicago.com
sip:carol@chicago.com;security=off
z
sip:carol@chicago.com;security=on
sip:carol@chicago.com;security=off
19.1.4 URI
URI URIweb URI
URI
honor Request-URI transportmaddr
ttl user URI method
method
Request-URI URI Request-URI
URI
FromCall-IDCseqVia Record-Route
Route
AcceptAccept-EncodingAccept-Language
AllowContact
Organization
Supported User-Agent
Content-DispositionContent-EncodingContent-Language
Content-LengthContent-Type
Date
Mime-Version
Timestamp
URI SIP URI
URI
URI
URI URI
Require
URI
19.1.5 SIP URI tel URL
tel URLRFC 2806 [8] SIP SIPS URI tel URL
SIP SIPS URI userinfo
tel:+358-555-1234567;postd=pp22
sip:+358-555-1234567;postd=pp22@foo.com;user=phone
sips:+358-555-1234567;postd=pp22@foo.com;user=phone
sip:+358-555-1234567@foo.com;postd=pp22;user=phone
sips:+358-555-1234567@foo.com;postd=pp22;user=phone
telURL SIP SIPS URI
SIP SIPS URISIP SIPS URI userinfo Tel
URL tel URL tel URL
SIP URI
tel:+358-555-1234567;postd=pp22
tel:+358-555-1234567;POSTD=PP22
sip:+358-555-1234567;postd=pp22@foo.com;user=phone
sip:+358-555-1234567;POSTD=PP22@foo.com;user=phone
tel:+358-555-1234567;postd=pp22;isub=1411
tel:+358-555-1234567;isub=1411;postd=pp22
sip:+358-555-1234567;postd=pp22;isub=1411@foo.com;user=phone
sip:+358-555-1234567;isub=1411;postd=pp22@foo.com;user=phone
isdn-subaddress post-dial
tel URL
tel:+358-555-1234567;postd=pp22
tel:+358-555-1234567;POSTD=PP22
sip:+358-555-1234567;postd=pp22@foo.com;user=phone
tel:+358-555-1234567;tsp=a.b;phone-context=5
tel:+358-555-1234567;phone-context=5;tsp=a.b
sip:+358-555-1234567;phone-context=5;tsp=a.b@foo.com;user=phone
19.2
SIP Require
20.32 Proxy-Require 20.29 Supported 20.37 Unsupported
20.40 option-tag = token
25
RFC
20.32 20.37 IANA
19.3
SIP To From tag
Call-ID UA
From ID
To SIP
UA
32 UA
INVITE From INVITE To UA
PSTN
INVITE From
To
UAS
UAS
20
7.3
[HX.Y] HTTP/1.1 RFC2616[7] X.Y
2 3
where
R
r
2xx,4xx,etc.:
c
z
where
proxy
a
m
d
r
6
c
m
m*/
o
t/
TCP
* 20.14 20.15 7.4
Optional
UA 20.32 Require
Acceptapplication/sdp;level=1,application/x-private,text/html
20.2 Accept-Encoding
Accept-Encoding Accept [H3.5][H14.3] SIP [H14.3]
Accept-Encoding Accept-Encoding identity identity
encoding
Accept-Encoding identity
Header
field
where
proxy
ACK
BYE
CAN
INV
OPT
Accept
m*
Accept
2xx
m*
Accept
415
Accept-Encoding
Accept-Encoding
2xx
m*
Accept-Encoding
415
Accept-Language
Accept-Language
2xx
m*
Accept-Language
415
Alert-Info
ar
Alert-Info
180
ar
Allow
Allow
2xx
m*
m*
REG
Allow
Allow
405
Authentication-Info
2xx
Authorization
Call-ID
Call-Info
ar
Contact
Contact
1xx
Contact
2xx
Contact
3xx
Contact
485
Content-Disposition
Content-Encoding
Content-Language
Content-Length
ar
Content-Type
CSeq
Date
Error-Info
300-699
Expires
From
In-Reply-To
Max-Forwards
amr
Min-Expires
423
MIME-Version
Organization
ar
2AO
Header
field
wher
e
prox
y
AC
K
BY
E
CA
N
IN
V
OP
T
Priority
ar
Proxy-Authenticate
407
ar
Proxy-Authenticate
401
ar
Proxy-Authorizatio
n
dr
Proxy-Require
ar
Record-Route
ar
Record-Route
2xx,18x
mr
Reply-To
Require
ar
Retry-After
404,413,480,48
6
500,503
600,603
Route
adr
Server
Subject
Supported
m*
Supported
2xx
m*
m*
Timestamp
To
c(1)
Unsupported
420
User-Agent
Via
amr
Via
rc
dr
Warning
WWW-Authenticate
401
ar
RE
G
WWW-Authenticate
407
ar
3PZ(1)
HTTP HTTP Accept-Encoding
identity
:
Accept-Encodinggzip
20.3 Accept-Language
Accept-Language
Accept-Language
Accept-Languageda,en-gb;q=0.8,en;q=0.7
20.4 Alert-Info
INVITE Alert-Info UAS 180
Alert-Info UAC
Alert-Info
20.9
Call-Info
Alert-Info<http://www.example.com/sounds/moo.wav>
20.5 Allow
Allow UA
UA ACK CANCEL Allow
Allow UA
UA
AllowINVITE,ACK,OPTIONS,CANCEL,BYE
20.6 Authentication-Info
Authentication-Info HTTP UAS 2xx
Authorization
RFC2617[16]
Authentication-Infonextnonce="47364c23432d2e131a5fb210812c"
20.7 Authorization
Authorization UA 22.2 Authorization
22.4 HTTP
Proxy-Authrization
7.3
Digest
AuthorizationDigestusername="Alice",realm="atlanta.com",
nonce="84a4cc6f3082121f32b42a2187831a9e",
response="7587245234b3434cc3412213e5f113a5432"
20.8 Call-ID
Call-ID
Call-ID
Call-ID
Call-ID I
Call-IDf81d4fae-7dec-11d0-a765-00a0c91e6bf6@biloxi.com
i:f81d4fae-7dec-11d0-a765-00a0c91e6bf6@192.0.2.4
20.9 Call-Info
Call-Info Call-Info
Purpose URI icon
info
Card vCard[37] LDIF[38] 27
IANA
Call-Info URI
UA UA
Call-Info UA
Call-Info<http://wwww.example.com/alice/photo.jpg>
;purpose=icon,
<http://www.example.com/alice/>;purpose=info
20.10 Contact
Contact URI URI
Contact URI URI
Contact q expires Contact REGISTER
3xx
URI URI <>
<> URI URI
display-name addr-spec
name-addr display-name < LWS
URI URI TO From
Contact HTTP HTTP
URI
Contact m(moved)
Contact"Mr.Watson"<sip:watson@worcester.bell-telephone.com>
;q=0.7;expires=3600,
"Mr.Watson"<mailto:watson@bell-telephone.com>;q=0.1
m<sips:bob@192.0.2.4>;expires=60
20.11 Content-Disposition
Content-Disposition UAC UAS
180
disposition-type
MIME
-
UAS optional required required
RFC 3204[18]
MIME render
Content-Dispositionsession
20.12 Content-Encoding
Content-Encoding media-type
Content-Type
Content-Encoding
IANA -
[H3.5]
Accept-Encoding
Content-Encoding e
Content-Encodinggzip
etar
20.13 Content-Language
[H14.12]
Content-Languagefr
20.14 Content-Length
Content-Length -
-
TCP
- CRLF 0
Content-Length Content-Length
0
Content-Length cgi
l
Content-Length349
l173
20.15 Content-Type
Content-Type [H3.7]
Content-Type
Content-Type 0
c
Content-Typeapplication/sdp
ctext/html;charset=ISO-8859-4
20.16 Cseq
Cseq
32 Cseq Cseq
Cseq
CSeq4711 INVITE
20.17 Date
Date HTTP/1.1 SIP RFC1123[19]
[H3.3]SIP SIP GMT RFC3261
RFC1123
Date
Date
GMT GMT
Error-Info UAC
INVITE
0 2**32-1
Expires5
20.20 From
From From
display-name
Anomymous display-name addr-spec
name-addr 7.3.1
From URI
From"A.G.Bell"<sip:agb@bell-telephone.com>;tag=a48s
Fromsip:+12125551212@server.phone2net.com;tag=887s
fAnonymous<sip:c8oqz84zk7z@privacy.org>;tag=hyh8
20.21 In-Reply-To
In-Reply-To Call-ID
Call-ID In-Reply-To Call-ID
In-Reply-To70710@saturn.bell-tel.com,17320@saturn.bell-tel.com
20.22 Max-Forwards
Max-Forwards SIP
Max-Forwards 0 225
70
B2BUA Max-Forwards
Max-Forwards6
20.23 Min-Expires
Min-Expires
Contact 0 2**32-1
10.2.8 10.3 21.4.17 423
Min-Expires60
20.24 MIME-Version
[H19.4.1]
MIME-Version1.0
20.25 Organization
SIP Organization
OrganizationBoxes by Bob
20.26 Priority
Priority Priority SIP
emergency
RFC2076[39]emergency
Proxy-AuthenticateDigestrealm="atlanta.com",
domain="sip:ss1.carrier.com",qop="auth",
nonce="f84f1cec41e6cbe5aea9c8e88d359",
opaque="",stale=FALSE,algorithm=MD5
20.28 Proxy-Authorization
Proxy-Authorization
Proxy-Authorization
/
22.3
Authorization
7.3.1
Proxy-AuthorizationDigestusername="Alice",realm="atlanta.com",
nonce="c60f3082ee1212b402a21831ae",
response="245f23415f11432b3434341c022"
20.29 Proxy-Require
Proxy-Require
20.32
Proxy-Requirefoo
20.30 Record-Route
Record-Route
16.12.1 Route
Record-Route: <sip:server10.biloxi.com;lr>,
<sip:bigbox3.site3.atlanta.com;lr>
20.31 Reply-To
Reply-To From URI URI
display-name addr-spec
name-addr 7.3.1
Require: 100rel
20.33 Retry-After
Retry-After 500 530
404413480
486600
603
()
duration
Retry-After: 18000;duration=3600
Retry-After: 120 (Im in a meeting)
20.34 Route
Route Route
16.12.1
Route: <sip:bigbox3.site3.atlanta.com;lr>,
<sip:server10.biloxi.com;lr>
20.35 Server
Server UAS
Server
Server: HomeServer v2
20.36 Subject
Subject
Subject s
Supported: 100rel
20.38 Timestamp
Timestamp UAC UAS
8.2.6
SIP RTT
Timestamp: 54
20.39 To
To
display-name Tag
Tag 19.3
To From URI URI
20.10
To t
To
To: The Operator <sip:operator@cs.columbia.edu>;tag=287447
t: sip:+12125551212@server.phone2net.com
20.40 Unsupported
Unsupported UAS 20.32
Unsupported: foo
20.41 User-Agent
User-Agent UAC [H14.43]
User-Agent
magic cookie z9hG4bK 8.1.1
UDPTCPTLS SCTPTLS TCP TLS SIPS
URI SIP TLS
Via: SIP/2.0/UDP erlang.bell-telephone.com:5060;branch=z9hG4bK87asdks7
Via: SIP/2.0/UDP 192.0.2.1:5060 ;received=192.0.2.207
;branch=z9hG4bK77asjd
Via v
192.0.2.1 192.0.2.207
Erlang.bell-telephone.com
Via
SIP URI LWS
/
Via: SIP / 2.0 / UDP first.example.com: 4000;ttl=16
;maddr=224.2.0.1 ;branch=z9hG4bKa7c6a8dlze.1
BNF
RFC 2543
Via sent-by
20.43 Warning
Warning Warning
Accept-Language Content-Language
i-default [20]
Warn-code
3 SIP
300 329 330 339
370 379
QoS 390 399
300
301
302
303
304
305
306
307
330
331
370
399
HTTP/1.1 HTTP/1.1
HTTP/1.1 HTTP/1.1
SIP 6xx
21.1 1xx
200 1xx
1xx ACK1xx
21.1.1 100
UAC
INVITE100
21.1.2 180
INVITE UA
21.1.3 181
21.1.4 182
5 15
182
21.1.5 183
183
21.2 2xx
21.2.1 200 OK
21.3 3xx
3xx
21.3.1 300
UA
Accept
UA MIME
Contact 20.10 HTTP SIP
Contact Contact UA Contact
21.3.2
301
21.3.3
302
Contact 20.10
Request-URI Contact
Contact URI Expires 20.19 Contact
expires UA URI
Contact URI
Request-URI
URI URI
21.3.4
305
380
21.4 4xx
4xx
21.4.1
400
Call-ID
21.4.2
401
UAS 407
21.4.3
402
21.4.4
403
Authorization
21.4.5
404
Request-URI Request-URI
21.4.6
405
Request-Line Request-URI
Allow
21.4.7
406
Accept
21.4.8
407
401SIP
26 22.3
21.4.9
408
21.4.10 410
404
21.4.11 413
Retry-After
AcceptAccept-Encoding
Accept-Language 8.1.3 UAC
21.4.14 416 URI
Request-URI URI 8.1.3
21.4.15 420
Proxy-Require 20.29 Require 20.32
Unsupported
8.1.3 UAC
21.4.16 421
UAS Supported
Require
UAS
Supported SIP
21.4.17 423
Retry-After
UA 486
Request-URI
21.4.19 481 /
UAS
21.4.20 482
16.3 4
21.4.21 483
0 Max-Forwards ( 20.22 )
21.4.22 484
Request-URI
484
21.4.23 485
Request-URI Contact
404
Request-URI
Request-URI sip: lee@example.com
SIP/2.0 485 Ambiguous
Retry-After
600
21.4.25 487
BYE CANCEL CANCEL
21.4.26 488
606 Request-URI
INVITE
application/sdp INVITE Accept OPTIONS 200
OK
21.4.27 491
UAS UAS 14.2
glare
21.4.28 493
UAS MIME MIME
UA
MIME 23.2
21.5 5xx
5xx
21.5.1 500
Retry-After
21.5.2 501
UAS
405
21.5.3 502
21.5.4 503
Retry-After
Retry-After
500 Server
503 UAC
Retry-After Retry-After
UAC
503
21.5.5 504
Expires 408
21.5.6 505
SIP
21.5.7 513
21.6 6xx
6xx Request-URI
21.6.1 600
Retry-After
603
486
21.6.2 603
Retry-After
21.6.3 604
Request-URI
21.6.4 606
606
Warning 606
20.43 Warning
INVITE
application/sdp INVITE Accept OPTIONS
200OK
606
22
HTTP
SIP HTTP
UA 22.1
SIP
RFC 2543
22.1
SIP HTTPRFC 2617[16]
BNF SIP UAS
401 UAC 401
407
RFC 2617[16]
3.2.1
SIP
ACK CANCEL
ACKACK INVITE
UAC
anonymous 403
UAC
22.2
UAS UAC UAS
Authorization 401UAS
401 WWW-Authenticate
UA To
realm UA
UAC anonymous
UAS UA
401 Authorization
Authorization UA
Authorization
Authorization: Digest username="bob",
realm="biloxi.com",
nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093",
uri="sip:bob@biloxi.com",
qop=auth,
nc=00000001,
cnonce="0a4f113b",
response="6629fae49393a05397450978507c4ef1",
opaque="5ccc069c403ebaf9f0171e9517f40e41"
401 407 UAC
Cseq
22.3
UAC
Proxy-Authorization 407
Proxy-Authentication 407
[16] Proxy-Authentication Proxy-Authorization
Proxy-Authorization
UAC 407 UAC
Proxy-Authorization
Proxy-Authorization
Cseq Cseq UAC UAS
UAC 407
401 realm
UAC anonymous
UAC
Route
UA 407
Proxy-Authorization
Proxy-Authorization
Proxy-Authorization UA /
Proxy-Authorization realm
Proxy-Authenticate
Proxy-Authorization realm
Proxy-Authorization
Proxy-Authorization
Proxy-Authorization
Proxy-Authorization
16.7 / UA
UAC UA
WWW-Authenticate
Proxy-Authenticate
UAC
UAC
UAC
UA
401 407
UAC WWW-Authenticate Authorization
Proxy-Authenticate Proxy-Authorization UAC
realm
401 407
22.4
SIP HTTP SIP HTTP[16]
[16]SIP/2.0 HTTP/1.1
1. URI BNF
URISIP-URI/SIP-URI
2. RFC 2617 BNF HTTP uri
RFC 2617 3.5
SIP
uri
3. digest-uri-value BNF
digest-uri-value = Request-URI ; 25
4. Etag SIP
5. RFC 2617[16] SIP
6. RFC 2617 URI Authorization URI
SIP URI
SIP Authorization
Request-URI
7. A2
SIP MD5
23
S/MIME
SIP
UA
S/MIME
URIFrom
26.4.2
SIP
UAC
SIP URI
23.2 S/MIME
SIP
SIP S/MIME CMS SignedData
From UAS
UAC
To
UAC
UAC UAS UAC
CMS SignedData
UA From From UA
UA
UA
SSH
26.4.2
UA S/MIME UA 493
MIME certs-onlysmime-type
To
493 S/MIME
S/MIME
MIME S/MIME
Content-Disposition handling 415
S/MIME
S/MIME S/MIME 415
S/MIME MIME
UAC S/MIME
S/MIME
From UAS
UA CMS SignedData
UA
23.3 MIME
SIP MIME S/MIME
[23]
z
multipart/signedCMS
S/MIME
z
z
S/MIMEContent-Disposition
UACUAC
application/pkcs7-timeMIMEUACCMS
OPTION23.4
message/sip
S/MIME
z
SIP S/MIME UA
s=t=0 0
c=IN IP4 pc33.atlanta.com
m=audio 3456 RTP/AVP 0 1 3 99
*
*
* a=rtpmap:0 PCMU/8000
*
*
*
***************************************************
23.4 S/MIME SIP SIP
SIP S/MIME
message/sip MIME SIP SIP
MIME SIP
outer
UAS message/sip S/MIME
smime message/sip
MIME SDPinner S/MIME
MIME message/sip
MIME multipart/mixed
23.4.1 SIP
S/MIME
innerouter
message/sipSIP innerouter
Date
20 SIP
outer
Request-URIViaRecord-RouteRoute
Max-Forwards Proxy-Authorization
outer
To
FromCall-IDCseq Contact Call-IDCseq Contact
outer To From
From outer
outer
SubjectReply-To
OrganizationAcceptAccept-EncodingAccept-LanguageAlert-InfoError-Info
Authentication-Info Expires In-Reply-To Require Supported Unsupported
Retry-AfterUser-AgentServer Warning
UA
outerouter
Date innerouter
MIME inner MIME MIME-specific
MIME-VersionContent-TypeContent-LengthContent-Language
Content-Encoding Content-Disposition
outer S/MIME MIME
MIME SIP MIME
Min-ExpiresTimestampAuthorizationPriority
WWW-Authenticate
outerUA inner
UA
SIP
SIP UA
23.4.2
CMS message/sipMIME
S/MIME SIP SIP
message/sip(ToFromCall-ID CSeq)
MIME
MIME (
)
inner
Date
()
403()
UA
message/sip
Call-ID: a84b4c76e66710
CSeq: 314159 INVITE
Max-Forwards: 70
Date: Thu, 21 Feb 2002 13:02:03 GMT
Contact: <sip:alice@pc33.atlanta.com>
Content-Type: multipart/signed;
protocol="application/pkcs7-signature";
micalg=sha1; boundary=boundary42
Content-Length: 568
--boundary42
Content-Type: message/sip
INVITE sip:bob@biloxi.com SIP/2.0
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
To: Bob <bob@biloxi.com>
From: Alice <alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 314159 INVITE
Max-Forwards: 70
Date: Thu, 21 Feb 2002 13:02:03 GMT
Contact: <sip:alice@pc33.atlanta.com>
Content-Type: application/sdp
Content-Length: 147
v=0
o=UserA 2890844526 2890844526 IN IP4 here.com
s=Session SDP
c=IN IP4 pc33.atlanta.com
t=0 0
m=audio 49172 RTP/AVP 0
a=rtpmap:0 PCMU/8000
--boundary42
Content-Type: application/pkcs7-signature; name=smime.p7s
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=smime.p7s;
handling=required
ghyHhHUujhJhjH77n8HHGTrfvbnj756tbB9HG4VQpfyF467GhIGfHfYT6
4VQpfyF467GhIGfHfYT6jH77n8HHGghyHhHUujhJh756tbB9HGTrfvbnj
n8HHGTrfvhJhjH776tbB9HG4VQbnj7567GhIGfHfYT6ghyHhHUujpfyF4
7GhIGfHfYT64VQbnj756
--boundary42-
23.4.3
CMS EncelopedData S/MIME message/sipMIME
S/MIME
SDP
Subject Organization SIP
From
(sip:anonymous@anonymizer.invalid)
From message/sipMIME
From
S/MIME
inner From
message/sipMIME
multipart/signed MIME application/pkcs7-mime
*
INVITE sip:bob@biloxi.com SIP/2.0
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
To: Bob <sip:bob@biloxi.com>
From: Anonymous <sip:anonymous@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 314159 INVITE
Max-Forwards: 70
Date: Thu, 21 Feb 2002 13:02:03 GMT
Contact: <sip:pc33.atlanta.com>
Content-Type: multipart/signed;
protocol="application/pkcs7-signature";
micalg=sha1; boundary=boundary42
Content-Length: 568
--boundary42
Content-Type: application/pkcs7-mime; smime-type=enveloped-data;
name=smime.p7m
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=smime.p7m
handling=required
Content-Length: 231
*************************************************
* Content-Type: message/sip
*
*
*
24
Content-Length Content-Type
24.1
Bob 9
9: SIP
F1 REGISTER BobRegistrar
REGISTER sip:registrar.biloxi.com SIP/2.0
Via: SIP/2.0/UDP bobspc.biloxi.com:5060;branch=z9hG4bKnashds7
Max-Forwards: 70
To: Bob <sip:bob@biloxi.com>
From: Bob <sip:bob@biloxi.com>;tag=456248
Call-ID: 843817637684230@998sdasdh09
CSeq: 1826 REGISTER
Contact: <sip:bob@192.0.2.4>
Expires: 7200
Content-Length: 0
200 OK
F2 200 OK RegistrarBob
SIP/2.0 200 OK
Via: SIP/2.0/UDP bobspc.biloxi.com:5060;branch=z9hG4bKnashds7
; received=192.0.2.4
To: Bob <sip:bob@biloxi.com>;tag=2493k59kd
From: Bob <sip:bob@biloxi.com>;tag=456248
Call-ID: 843817637684230@998sdasdh09
CSeq: 1826 REGISTER
Contact: <sip:bob@192.0.2.4>
Expires: 7200
Content-Length: 0
24.2
4 1
Allow Supported
F1 INVITE Aliceproxy
INVITE sip:bob@biloxi.com SIP/2.0
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
Max-Forwards: 70
To: Bob <sip:bob@biloxi.com>
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 314159 INVITE
Contact: <sip:alice@pc33.atlanta.com>
Content-Type: application/sdp
Content-Length: 142
(Alice SDP not shown)
F2 100 Trying proxy Alice
SIP/2.0 100 Trying
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
;received=192.0.2.1
To: Bob <sip:bob@biloxi.com>
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 314159 INVITE
Content-Length: 0
F3 INVITE proxy biloxi.com proxy
INVITE sip:bob@biloxi.com SIP/2.0
Via: SIP/2.0/UDP bigbox3.site3.atlanta.com;branch=z9hG4bK77ef4c2312983.1
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
;received=192.0.2.1
Max-Forwards: 69
To: Bob <sip:bob@biloxi.com>
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
proxy
Content-Length: 131
(BobSDP not shown)
F12 ACK Alice Bob
ACK sip:bob@192.0.2.4 SIP/2.0
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds9
Max-Forwards: 70
To: Bob <sip:bob@biloxi.com>;tag=a6c85cf
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 314159 ACK
Content-Length: 0
Alice Bob
Bob Bob SIP Cseq
231 Bob To URI From URI
F13 BYE BobAlice
BYE sip:alice@pc33.atlanta.com SIP/2.0
Via: SIP/2.0/UDP 192.0.2.4;branch=z9hG4bKnashds10
Max-Forwards: 70
From: Bob <sip:bob@biloxi.com>;tag=a6c85cf
To: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 231 BYE
Content-Length: 0
F14 200 OK Alice Bob
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.0.2.4;branch=z9hG4bKnashds10
From: Bob <sip:bob@biloxi.com>;tag=a6c85cf
To: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 231 BYE
Content-Length: 0
SIP [41] SIP
25
SIP BNF
RFC2234 SPLWSHTABCRLFDIGIT
ALPHA
25.1
US-ASCII ANSI X3.4-1986
Alphanum
= ALPHA / DIGIT
reserved
= "-" / "_" / "." / "" / "~ " / "*" / " "/ "(" / ")"
LWS
SWS
linebreakHCOLON
HCOLON
TEXT-UTF8 *TEXT-UTF8
UTF-8 RFC 2279 [6]TEXT-UTF8-TRIM
LWS SIP HTTPHTTP ISO 8859-1
TEXT-UTF8-TRIM
TEXT-UTF8char
= %x21-7E / UTF8-NONASCII
UTF8-NONASCII
= %xC0-DF 1UTF8-CONT
/ %xE0-EF 2UTF8-CONT
/ %xF0-F7 3UTF8-CONT
/ %xF8-Fb 4UTF8-CONT
/ %xFC-FD 5UTF8-CONT
UTF8-CONT
= %x80-BF
LHE
= DIGIT / %x61-66 ;
lowercase
a-f
Token
these characters:
STAR
SLASH
EQUAL
user-unreserved
Comment
Ctext
ctext
\
quoted-string
qdtext
\ HTTP/1.1
CR LF
quoted-pair
SIP-URI
SIPS-URI
userinfo
user
user-unreserved
password
= *( unreserved / escaped /
"&" / "=" / "+" / "$" / "," )
hostport
host
hostname
domainlabe
= alphanum
/ alphanum *( alphanum / "-" ) alphanum
toplabel
IPv4address
IPv6reference
IPv6address
Hexpart
Hexseq
hex4
= 1*4HEXDIG
port
= 1*DIGIT
uri-parameter
= *( ";" uri-parameter)
uri-parameter
transport-param = "transport="
( "udp" / "tcp" / "sctp" / "tls"
/ other-transport)
other-transport
user-param
= token
other-user
= token
method-param
= "method=" Method
ttl-param
= "ttl=" ttl
maddr-param
= "maddr=" host
lr-param
= "lr"
other-param
pname
= 1*paramchar
pvalue
= 1*paramchar
paramchar
param-unreserved
headers
header
hname
hvalue
hnv-unreserved
SIP-message
= Request / Response
Request
= Request-Line
*( message-header )
CRLF
[ message-body ]
Request-line
Request-URI
AbsoluteURI
hier-part
net-path
abs-path
= "/" path-segments
opaque-part
= uric-no-slash *uric
uric
uric-no-slash
path-segments
segment
param
= *pchar
pchar
= unreserved / escaped /
authority
= srvr / reg-name
srvr
reg-name
query
= *uric
SIP-Version
message-header
= (Accept
/ Accept-Encoding
/ Accept-Language
/ Alert-Info
/ Allow
/ Authentication-Info
/ Authorization
/ Call-ID
/ Call-Info
/ Contact
/ Content-Disposition
/ Content-Encoding
/ Content-Language
/ Content-Length
/ Content-Type
/ CSeq
/ Date
/ Error-Info
/ Expires
/ From
/ In-Reply-To
/ Max-Forwards
/ MIME-Version
/ Min-Expires
/ Organization
/ Priority
/ Proxy-Authenticate
/ Proxy-Authorization
/ Proxy-Require
/ Record-Route
/ Reply-To
/ Require
/ Retry-After
/ Route
/ Server
/ Subject
/ Supported
/ Timestamp
/ To
/ Unsupported
/ User-Agent
/ Via
/ Warning
/ WWW-Authenticate
/ extension-header) CRLF
INVITEm
ACKm
OPTIONSm
BYEm
CANCELm
REGISTERm
Method
extension-method
Response
= token
=Status-Line
*( message-header )
CRLF
[ message-body ]
Status-Line
Status-Code
= Informational
/
Redirection
Success
Client-Error
Server-Error
Global-Failure
extension-code
extension-code
= 3DIGIT
Reason-Phrase
Informational
= "100" ; Trying
/ "180" ; Ringing
/ "181" ; Call Is Being Forwarded
/ "182" ; Queued
/ "183" ; Session Progress
Success
Redirection
= "200" ; OK
Client-Error
"403" ; Forbidden
"410" ; Gone
"485" ; Ambiguous
"493" ; Undecipherable
Exist
Server-Error
Global-Failure
Accept
= "Accept" HCOLON
[ accept-range *(COMMA accept-range) ]
accept-range
media-range
accept-param
qvalue
generic-param
gen-value
content-coding
Accept-Language
= token
= "Accept-Language" HCOLON
[ language *(COMMA language) ]
language
language-range
Alert-Info
alert-param
Allow
Authorization
Credentials
username
username-value
= quoted-string
digest-uri
digest-uri-value
message-qop
cnonce
cnonce-value
= nonce-value
nonce-count
nc-value
= 8LHEX
dresponse
request-digest
auth-param
auth-param-name = token
other-response
auth-scheme
= token
= nextnonce / message-qop
/ response-auth / cnonce
/ nonce-count
nextnonce
response-auth
Called
Call-Info
Info
info-param
Contact
contact-param
name-addr
addr-spec
display-name
contact-params
= c-p-q / c-p-expires
/ contact-extension
c-p-q
c-p-expires
contact-extension
= generic-param
delta-seconds
= 1*DIGIT
disp-param
= handling-param / generic-param
handling-param
= "handling" EQUAL
( "optional" / "required"
/ other-handling )
other-handling
= token
disp-extension-token= token
content-Encoding
content-Language
= "Content-Language" HCOLON
language-tag *(COMMA language-tag)
language-tag
primary-tag
= 1*8ALPHA
subtag
= 1*8ALPHA
Content-Length
Content-Type
media-type
m-type
= discrete-type / composite-type
discrete-type
composite-type
= token
x-token
= "x-" token
m-subtype
= extension-token / iana-token
iana-token
= token
m-parameter
m-attribute
= token
m-value
= token / quoted-string
Cseq
Date
SIP-date
= rfc1123-date
rfc1123-date
date1
time
wkday
month
Error-Info
error-uri
Expires
From
from-spec
= ( name-addr / addr-spec )
*( SEMI from-param )
from-param
= tag-param / generic-param
tag-param
In-Reply-To
Max-Forwards
MIME-Version
Min-Expires
Organization
Priority
priority-value
other-priority
= token
Proxy-Authenticate
Challenge
realm
realm-value
= quoted-string
domain
URI
= absoluteURI / abs-path
Nonce
nonce-value
= quoted-string
opaque
stale
algorithm
qop-options
qop-value
proxy-Require
option-tag
= token
record-Route
rec-route
rr-param
= generic-param
Reply-To
rplyto-spec
= ( name-addr / addr-spec )
*( SEMI rplyto-param )
rplyto-param
Require
Retry-After
= generic-param
= "Require" HCOLON option-tag *(COMMA option-tag)
retry-param
Route
route-param
Server
server-val
= product / comment
product
product-version = token
Subject
Supported
Timestamp
delay
To
to-param
= tag-param / generic-param
Unsupported
User-Agent
Via
via-parm
via-params
= via-ttl / via-maddr
/ via-received / via-branch
/ via-extension
via-ttl
via-maddr
via-received
via-branch
via-extension
= generic-param
sent-protocol
protocol-name
protocol-version
transport
= "SIP" / token
= token
= "UDP" / "TCP" / "TLS" / "SCTP"
/ other-transport
sent-by
ttl
= 1*3DIGIT ; 0 to 255
Warning
warning-value
warn-code
= 3DIGIT
warn-agent
= hostport / pseudonym
; the name or pseudonym of the server adding
; the Warning header, for use in debugging
warn-text
=quoted-string
pseudonym
= token
WWW-Authenticate
extension-header
header-name
header-value
= token
= *(TEXT-UTF8char / UTF8-CONT / LWS)
message-body
26
= *OCTET
SIP
SIP
SIP SIP RTP
SIP MIME SIP
SIP
SIP
SIP
SIP
26.1
SIP SIP
SIP
SIP
26.1.1
SIP
REGISTER From
To
UA SIP
contact URI
SIP
26.1.2
Request-URI UA
UA
chicago.com biloxi.com
biloxi.com chicago.com
biloxi.com SIP
UA biloxi.com
UA SIP UA
UA
SIP
MIME SDP
SDP RTP
SIP SubjectUA
UA SIP
26.1.4
/
To From
BYE
BYE
re-INVITE
SIP
MIME SDP
SDP RTP
SIP SubjectUA
UA SIP
26.1.5
/
To From
BYE
BYE
re-INVITE
REGISTER
contact
SIP
26.2
SIP
SIP
SIP SIP HTTP SMTP
SIP
Request-URIRoute Via SIP
Via
SIP UA SIP
SIP
SIP SIP UA
SIP
SIP
26.2.1
TLS[24] IPSec[25]
IPSec IPInternet IPSec
IPSec
IPSec
IPSec SIP IPSec
SIP UA
IPSecSIP IPSec IPSec
SIP
TLS TCPtls
via SIP-URI
tls TCP TLS
26.2.3 HTTP
HTTP SIP HTTP 401 407
SIP HTTP
22 SIP
26.2.4 S/MIME
SIP
SIP
S/MIME SIP UA SIP MIME
S/MME
S/MME SIP SIP
23 SIP S/MIME
26.3
26.3.1 SIP
TLS
UA TLSUA TLS
UA
TLS TLS SIP
TLS
UA UAC TLS
SIP UAS TLS
UA 22
realm
UA MIME 23 S/MIME
UA TLS IPSec
S/MIME UA S/MIME
S/MIME
S/MIME
26.3.2
web email
UA
TLS UA
UA
S/MIME
UA
26.1
Registration UA TLS
10 UA
UA
UA UA
alice@atlanta.com sip.atlanta.com
TLS UA
UA REGISTER
UA UA
UA REGISTER
Request-URI UA TLS REGISTER
401() Proxy-Authenticate realm
UAC
realm REGISTER To
URI USERINFO Proxy-Authenticate
REGISTER
UA TLS
TLS
INVITE TLSUA
INVITE
UA INVITE Request-URI
[4] Request-URI domainname (Atlanta.com)
biloxi.com
alice@atlanta.com alex@atlanta.com
Alex TLS Alex
Alice
Request-URI
biloxi.xom TLS
SIP
biloxi.xom
TLS biloxi.com INVITE
biloxi.com
INVITE From domainname Biloxi
SMTP SIP
bioxi.com
Alice bioxi.com Alice
bioxi.com bioxi.com
bioxi INVITE
bob@biloxi.com TLS biloxi
TLS Alice Bob From
atlanta.com Alice
Record-Route
Record-Route
Alice Bob
S/MIME
Alice Bob
BYE Bob Alice
Bob Alice
NAT TCP UA
UA
TLS TCP
Dos Protection
SIP
ping TLS IPSec
SIP
SIP
UA 401 407
401 407
Via
TLS
SIP
26.4
26.4.1 HTTP
SIP HTTP SIP
Request-URI UA
RFC2617 SIP
HTTP
TLS
UA
26.4.2 S/MIME
S/MIME
23.2 SIP
S/MIME
CMS
CMS
UA
SSH SSH
SIP SSH
SIP
Clipper
UA S/MIME UA
UA S/MIME
UA
TLS
UA
TLS SIP TLS TLS
TCP
Request-URI To SIPS
Via
TLS UAC S/MIME To
UAS Request-URI UA
SIPS
26.5
SIP
SIP
From
To
Request-URI
To
Request-URI To
27
IANA
SIP IANA
RFC LANA
IANA
http://www.iana.org/assignments/sipparameters
27.1
http://www.iana.org/assignments/sip-parameters
RequireSupportedProxy-Require Unsupport
SIP ( 19.2 ) SIP
() SIP
RFC IANA RFC IANA
RFC IANA
z
z
20
25
27.2
http://www.iana.org/assignments/sip-parameters 20.43
RFC
(SDP)(RFC23271) SIP
3 SIP
3XX 3XX
300 329 330 339
370 379
QOS 390 399
27.3
IANA http://www.iana.org/assignments/sipparameters
RFC
z
RFC
( 7.3.3 ) SIP
RFC
27.4
http://www.iana.org/assignments/sip-parameters
INVITE
[RFC3261]
ACK
[RFC3261]
BYE
[RFC3261]
CANCEL
[RFC3261]
REGISTER
OPTIONS
[RFC3261]
[RFC3261]
INFO
[RFC2976]
21 Informational
(, Informational)
Number
[RFC3261]
RFC
z
RFC RFC
27.5 message/sipMIME
SIP SIP message/sipMIME
SIP (2.0)2.0
SIP 8 MIME
SIP SIP
23.4 S/MIME
27.6 Content-Disposition
4 Content-Dispositio disposition-type
Content-Disposition IANA
Content-Disposition 20.11 IAMA
alert
icon
render
session
28
RFC2327 SDP
RFC 2543
28.1
z
UAC CANCEL
INVITE 2xxUAC BYE
BYE RFC3261
RFC 2543
z
URI URI
Via
Via
RFC 2543
RFC 3261
SDP [12]
/ sip SIP
INVITE/200 200/ACK SDPRFC 2543 INVITE200
ACK SDP
SDP
ASCII
Supported
Require
BNF
RFC 3261 ()
Record-Route Route
Expires
RFC 3261
RFC2543 UA UA
RFC3261 INVITE
INVITE
SIPS URI
RFC3261 TLS
RFC2543 503
RFC2543 UA RFC3261
RFC2617
UA CANCEL RFC2543
RFC3261
RFC2543
RFC3261
RFC3261
RFC3261 6xx
UAC 2xx
6xx6xx
RFC2543
UA
28.2
z
Alert-InfError-Info Call-Info
Content-LanguageContent-Disposition MIME-Version
re-INVITE
491
IN-Reply-To Reply-To
RFC2543 RFC3261
BYE
TCP UDP
REGISTER Date
423
Min-Expires