SIP - 이상정

Download Report

Transcript SIP - 이상정

SIP
(Session Initiation Protocol)
순천향대학교 정보기술공학부
이상정
2004-2
SIP 개요
 Session Initiation Protocol
 호(call),세션 설정 프로토콜
 Peer-to-peer signaling protocol
 SIP-URL
• e-mail 형태의 주소를 이용해 사용자를 식별
 사용자 이동성 제공
• 동일한 SIP 주소, 다른 위치 (단말)에서 연결
• 현재 사용자의 위치 등록, 수정, 삭제, 검색 기능
 하위 전송 프로토콜에 독립적
순천향대학교 정보기술공학부 이 상 정
2
2004-2
SIP 개발단계
 1996
• Mark Hadley’s SIP(Session Invitation Protocol)
• Henning Schulzrinne’s SCIP(Simple Conference Control
Protocol)
 1999. 3.
• RFC 2543 by IETF MMUSIC WG
 1999. 9.
• IETF SIP WG
 2000. 6
• RFC 2543bis
 2002. 6
• RFC 3261
순천향대학교 정보기술공학부 이 상 정
3
2004-2
SIP 구성요소
 UAC (User Agent Client)
• 요청 메시지로 SIP transaction을 개시하는 논리적 실체
• 요청 메시지의 존속기간동안 UAC로 동작
 UAS (User Agent Server)
• SIP 요청 메시지에 응답하는 논리적 실체
• 요청 메시지 수용, 거절, 리다이렉트
 UA (User Agent) = UAC + UAS
 Redirect Server
• SIP 요청 메시지의 주소를 0개 이상의 새로운 주소로 매핑, 클라이언
트에게 새로운 주소 반환
 Proxy Server
• 요청 메시지를 내부적으로 처리하거나 다른 서버로 전달
• 요청 메시지를 해석하고 포워딩 전에 재작성 가능
 Registrar
• REGISTER 요청 메시지를 수용하는 서버
• Proxy나 Redirect Server와 함께 구현될 수 있음
순천향대학교 정보기술공학부 이 상 정
4
2004-2
SIP 아키텍처
Request
SIP Redirect
Server
Response
Location Service
2
Location
Server
3
5
4
1
11
12
6
11
7
SIP Proxy
10
8
SIP Client
(UAC:User Agent Client)
순천향대학교 정보기술공학부 이 상 정
9
SIP Client
(User Agent Server)
5
SIP Proxy
2004-2
SIP 메시지
순천향대학교 정보기술공학부 이 상 정
6
2004-2
SIP 메시지 형식
순천향대학교 정보기술공학부 이 상 정
7
2004-2
SIP 구문
session_id version
순천향대학교 정보기술공학부 이 상 정
8
IP4
2004-2
SIP 헤더
 Via : 응답 시 경유될 호스트 명시
 From, To
 Call-ID: 각 호(call)을 구분하는 유일한 ID
 Cseq: 각 요청 마다 증가되는 값
순천향대학교 정보기술공학부 이 상 정
9
2004-2
SDP
 Session Description Protocol
 메시지 바디에서 미디어 세션을 기술
 주요 미디어 형태를 표현하기 위해 RTP/AVP
Profiles을 사용
• 0 : PCM u-law
• 3 : GSM
• 4 : G.723
순천향대학교 정보기술공학부 이 상 정
10
2004-2
SIP 요청 메시지
순천향대학교 정보기술공학부 이 상 정
11
2004-2
SIP 응답 메시지
순천향대학교 정보기술공학부 이 상 정
12
2004-2
End-to-End SIP Model
순천향대학교 정보기술공학부 이 상 정
13
2004-2
Simple Call Flow
순천향대학교 정보기술공학부 이 상 정
14
2004-2
Simple Call Flow – 미디어 기술 예
순천향대학교 정보기술공학부 이 상 정
15
2004-2
코덱 협상
순천향대학교 정보기술공학부 이 상 정
16
2004-2
등록
순천향대학교 정보기술공학부 이 상 정
17
2004-2
Redirect Server에서의 세션 설정
cs.columbia.edu
location server
2. [email protected]
3. hgs@play.
1. INVITE
cs.columbia.edu
cs.tu-berlin.de
[email protected]
lion
[email protected]
4. 302 Moved tempoarily
contact : hgs@play
5. ACK
[email protected]
tune
6. INVITE
henning@play.
cs.colombia.edu
hgs@play
7. 200 OK
play
8. ACK [email protected]
순천향대학교 정보기술공학부 이 상 정
18
2004-2
Proxy Server에서의 세션 설정
cs.columbia.edu
location server
3. hgs@play.
2. henning@ cs.columbia.edu
cs.columbia.edu
cs.tu-berlin.de
4. INVITE
henning@play.
cs.colombia.edu
1. INVITE henning@
cs.colombia.edu
5. 200 OK
6. 200 OK
lion
7. ACK henning@
[email protected]
cs.colombia.edu
순천향대학교 정보기술공학부 이 상 정
hgs@play
tune
play
7. ACK henning@play.
cs.colombia.edu
19
2004-2
Overview of Operation
Alice’s
softphone
INVITE F1
100 F3
Bob’s
SIP Phone
biloxy.com
proxy
atlanta.com
proxy
INVITE F2
INVITE F4
100 F5
180 F6
180 F7
180 F8
200 OK F9
200 OK F10
200 OK F11
ACK F12
Media Session
BYE F13
200 OK F14
순천향대학교 정보기술공학부 이 상 정
20
2004-2
Overview of Operation
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds
Max-Forwards: 70
To: Bob <sip:[email protected]>
From: Alice <sip:[email protected]>;tag=1928301774
Call-ID: [email protected]
CSeq: 314159 INVITE
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 142
Request-Line : Method SP Request-URI SP SIP-Version CRLF
순천향대학교 정보기술공학부 이 상 정
21
2004-2
Overview of Operation
SIP/2.0 200 OK
Via: SIP/2.0/UDP server10.biloxi.com
;branch=z9hG4bKnashds8;received=192.0.2.3
Via: SIP/2.0/UDP bigbox3.site3.atlanta.com
;branch=z9hG4bK77ef4c2312983.1;received=192.0.2.2
Via: SIP/2.0/UDP pc33.atlanta.com
;branch=z9hG4bK776asdhds ;received=192.0.2.1
To: Bob <sip:[email protected]>;tag=a6c85cf
From: Alice <sip:[email protected]>;tag=1928301774
Call-ID: [email protected]
CSeq: 314159 INVITE
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 131
Status-Line : SIP-Version SP Status-Code SP Reason-Phrase CRLF
순천향대학교 정보기술공학부 이 상 정
22
2004-2
Overview of Operation
 Via
• Expecting to receive responses
• Branch parameter that identifies this transaction
 Call-ID
• Globally unique identifier for this call
• Random string
 CSeq
• Increment for each new request within a dialog
 Contact
• Tells other elements where to send future requests
 Max-Forwards
• Limit the number of hops
순천향대학교 정보기술공학부 이 상 정
23
2004-2
Dialogs
 Dialog
• Peer to Peer SIP relationship between two user agents
• < Call-ID, From tag, To tag >
 Early Dialog
• Established by a non-final response to a request
 Transaction
• From the first request sent from the client to the server up
to a final(non-1xx) response sent from the server to client
• Occur between a client and a server
순천향대학교 정보기술공학부 이 상 정
24
2004-2
SIP to SIP through two proxies
F1 INVITE A -> Proxy 1
INVITE
sip:[email protected]
SIP/2.0 Proxy 1 -> User A
F2
407 Proxy
Authorization Required
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
F3 ACK
A -> Proxy
1
Max-Forwards:
70 Authorization Required
SIP/2.0
407 Proxy
F4
INVITE
A -> <sip:[email protected]>;tag=9fxced76sl
Proxy
1
From:
BigGuy
Via:
here.com:5060;branch=z9hG4bK74bf9
ACKSIP/2.0/UDP
sip:[email protected]
SIP/2.0
To:
LittleGuy
<sip:[email protected]>
;received=100.101.102.103
F5
INVITE
Proxy
1
->
Proxy
2
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
INVITE
sip:[email protected]
SIP/2.0
Call-ID:
[email protected]
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Max-Forwards:
70
F6
(100
Trying)
Proxy
1
->
User
A
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
CSeq:
1
INVITE
To:
LittleGuy
<sip:[email protected]>;tag=3flal12sf
INVITE
sip:[email protected]
SIP/2.0
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Max-Forwards:
702
F7
INVITE
Proxy
-> B
Contact:
<sip:[email protected]>
Call-ID:
[email protected]
Via:
SIP/2.0/UDP
ss1.wcom.com:5060
To:
LittleGuy
<sip:[email protected]>;tag=3flal12sf
SIP/2.0
100
Trying
From:
BigGuy
Content-Type:
application/sdp
CSeq:
1
INVITE<sip:[email protected]>;tag=9fxced76sl
;branch=z9hG4bK2d4790.1
F8
(100
Trying)
Proxy
2 -> Proxy 1
CSeq:
1
ACK
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
To:
LittleGuy
<sip:[email protected]>
INVITE
sip:[email protected]
SIP/2.0
Content-Length:
Proxy-Authenticate:
Digest realm="wcom.com",
Via:
SIP/2.0/UDP 147
here.com:5060;branch=z9hG4bK74bf9
Content-Length:
0
;received=100.101.102.103
Call-ID:
[email protected]
Via:
SIP/2.0/UDP
ss2.wcom.com:5060
nonce="f84f1cec41e6cbe5aea9c8e88d359",
;received=100.101.102.103
SIP/2.0
100
Trying
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
CSeq:
2 INVITE
;branch=z9hG4bK721e418c4.1
opaque="",
stale=FALSE,
algorithm=MD5
Max-Forwards:
69ss1.wcom.com:5060;branch=z9hG4bK2d4790.1
Via:
SIP/2.0/UDP
To:
LittleGuy
<sip:[email protected]>
Contact:
<sip:[email protected]>
Via:
SIP/2.0/UDP
ss1.wcom.com:5060
Content-Length:
0
Record-Route:
<sip:ss1.wcom.com;lr>
;received=1.2.3.4
Call-ID:
[email protected]
Proxy-Authorization:Digest
username="UserA",
;branch=z9hG4bK2d4790.1
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
CSeq:
2
INVITE
realm="wcom.com",
;received=1.2.3.4
To:
LittleGuy <sip:[email protected]>
;received=100.101.102.103
Content-Length:
0
nonce="wf84f1ceczx41ae6cbe5aea9c8e88d359",
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
Call-ID:
[email protected]
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
opaque="",
uri="sip:[email protected]",
;received=100.101.102.103
CSeq:
2 INVITE
To:
LittleGuy
<sip:[email protected]>
response="42ce3cef44b22f50c6a6071bc8"
Max-Forwards:
68
Contact:
<sip:[email protected]>
Call-ID:
[email protected]
Content-Type:
Record-Route:
<sip:ss2.wcom.com;lr>,<sip:ss1.wcom.com;lr>
Content-Type:
application/sdp
CSeq: 2 INVITEapplication/sdp
Content-Length:
147
From:
BigGuy <sip:[email protected]>;tag=9fxced76sl
Content-Length:
147
0
To: LittleGuy <sip:[email protected]>
Call-ID: [email protected]
………
순천향대학교 정보기술공학부 이 상 정
25
2004-2
SIP to SIP through two proxies
F9 180 Ringing B -> Proxy 2
F10 180 Ringing Proxy 2 -> Proxy 1
SIP/2.0
Ringing
F11 180180
Ringing
Proxy 1 -> A
Via: SIP/2.0/UDP
ss2.wcom.com:5060;branch=z9hG4bK721e418c4.1
SIP/2.0
180 Ringing
F12
200
OK
B
->
Proxy
2
;received=2.3.4.5
Via:
SIP/2.0/UDP
ss1.wcom.com:5060;branch=z9hG4bK2d4790.1
SIP/2.0
180 Ringing
Via:
SIP/2.0/UDP
;received=1.2.3.4
F13
200
OK Proxyss1.wcom.com:5060;branch=z9hG4bK2d4790.1
2 -> Proxy 1
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
SIP/2.0
200
OK
;received=1.2.3.4
Via:
SIP/2.0/UDP
;received=100.101.102.103
F14
200
OK Proxyhere.com:5060;branch=z9hG4bK74bf9
1 -> A
Via:
SIP/2.0/UDP
ss2.wcom.com:5060;branch=z9hG4bK721e418c4.1
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
;received=100.101.102.103
SIP/2.0
200
OK
Record-Route:
<sip:ss2.wcom.com;lr>,
<sip:ss1.wcom.com;lr>
;received=2.3.4.5
F15
ACK
A -> Proxy
1
;received=100.101.102.103
Record-Route:
<sip:ss2.wcom.com;lr>,
<sip:ss1.wcom.com;lr>
Via:
SIP/2.0/UDP
ss1.wcom.com:5060;branch=z9hG4bK2d4790.1
From:
BigGuy
SIP/2.0
200 OK<sip:[email protected]>;tag=9fxced76sl
Via:
SIP/2.0/UDP
ss1.wcom.com:5060;branch=z9hG4bK2d4790.1
Record-Route:
<sip:ss2.wcom.com;lr>,
<sip:ss1.wcom.com;lr>
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
;received=1.2.3.4
F16
ACK
Proxy
1here.com:5060;branch=z9hG4bK74bf9
-> Proxy 2
To:
LittleGuy
<sip:[email protected]>;tag=314159
Via:
SIP/2.0/UDP
;received=1.2.3.4
ACK
sip:[email protected]
SIP/2.0
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
To:
LittleGuy
<sip:[email protected]>;tag=314159
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
Call-ID:
[email protected]
;received=100.101.102.103
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
To:
LittleGuy
<sip:[email protected]>;tag=314159
Call-ID:
[email protected]
;received=100.101.102.103
ACK
sip:[email protected]
SIP/2.0<sip:ss1.wcom.com;lr>
Contact:
<sip:[email protected]>
Record-Route:
<sip:ss2.wcom.com;lr>,
;received=100.101.102.103
Max-Forwards:
70
Call-ID:
[email protected]
Contact:
<sip:[email protected]>
Record-Route:
<sip:ss2.wcom.com;lr>,
<sip:ss1.wcom.com;lr>
Via:
SIP/2.0/UDP
ss1.wcom.com:5060;branch=z9hG4bK2d4790.1
CSeq:
2<sip:ss1.wcom.com;lr>,
INVITE
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Record-Route:
<sip:ss2.wcom.com;lr>,
<sip:ss1.wcom.com;lr>
Route:
<sip:ss2.wcom.com;lr>
Contact:
<sip:[email protected]>
CSeq:
2 INVITE
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Via:
SIP/2.0/UDP
here.com:5060;branch=z9hG4bK74bf9
Content-Length:
0
To:
LittleGuy
<sip:[email protected]>;tag=314159
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
CSeq:
2 INVITE
Content-Length:
0
To:
LittleGuy
<sip:[email protected]>;tag=314159
;received=100.101.102.103
Call-ID:
[email protected]
To:
LittleGuy
<sip:[email protected]>;tag=314159
Content-Length:
Call-ID:
Max-Forwards:
CSeq:
2 [email protected]
INVITE 69 0
Call-ID:
[email protected]
CSeq:
2<sip:ss2.wcom.com;lr>
INVITE
Route:
Contact:
<sip:[email protected]>
CSeq:
2
INVITE
ACK
Contact:
<sip:[email protected]>
From:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Content-Type:
application/sdp
Contact:
<sip:[email protected]>
Content-Length:
0
Content-Type:
application/sdp
To:
LittleGuy
<sip:[email protected]>;tag=314159
Content-Length:
147
Content-Type:
application/sdp
Content-Length:
147
Call-ID: [email protected]
Content-Length:
147
CSeq: 2 ACK
Content-Length: 0
순천향대학교 정보기술공학부 이 상 정
26
2004-2
SIP to SIP through two proxies
F18 BYE User B -> Proxy 2
F19 BYE Proxy 2 -> Proxy 1
BYE
sip:[email protected]
SIP/2.0
F20 BYE
Proxy 1 -> User A
Via: SIP/2.0/UDP
there.com:5060;branch=z9hG4bKnashds7
BYE
sip:[email protected]
SIP/2.0
F21
200
OK
User
A
->
Proxy
1
Max-Forwards:
70ss2.wcom.com:5060;branch=z9hG4bK721e418c4.1
Via:
BYE SIP/2.0/UDP
sip:[email protected]
SIP/2.0
Route:
<sip:ss2.wcom.com;lr>,
<sip:ss1.wcom.com;lr>
Via:
SIP/2.0/UDP
there.com:5060;branch=z9hG4bKnashds7
F22
200
OK
Proxy
1
->
Proxy
2
Via:
SIP/2.0/UDP
ss1.wcom.com:5060;branch=z9hG4bK2d4790.1
SIP/2.0
200 OK <sip:[email protected]>;tag=314159
From:
LittleGuy
;received=110.111.112.113
Via:
SIP/2.0/UDP
ss2.wcom.com:5060;branch=z9hG4bK721e418c4.1
F23
200
OK Proxyss1.wcom.com:5060;branch=z9hG4bK2d4790.1
2 -> User B
Via:
SIP/2.0/UDP
To:;received=2.3.4.5
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Max-Forwards:
69
SIP/2.0
200 OK
;received=1.2.3.4
Call-ID:
[email protected]
Route:
<sip:ss1.wcom.com;lr>
Via:
SIP/2.0/UDP
Via:
SIP/2.0/UDP
there.com:5060;branch=z9hG4bKnashds7
SIP/2.0
200
OK ss2.wcom.com:5060;branch=z9hG4bK721e418c4.1
Via:
SIP/2.0/UDP
ss2.wcom.com:5060;branch=z9hG4bK721e418c4.1
CSeq:
1
BYE
From:
LittleGuy
<sip:[email protected]>;tag=314159
;received=2.3.4.5
;received=110.111.112.113
Via:
SIP/2.0/UDP
there.com:5060;branch=z9hG4bKnashds7
;received=2.3.4.5
Content-Length:
0
To:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Via:
SIP/2.0/UDP
Max-Forwards:
68there.com:5060;branch=z9hG4bKnashds7
;received=110.111.112.113
Via:
SIP/2.0/UDP
there.com:5060;branch=z9hG4bKnashds7
Call-ID:
[email protected]
;received=100.101.102.103
From:
LittleGuy
<sip:[email protected]>;tag=314159
;received=110.111.112.113
CSeq:
1 BYE<sip:[email protected]>;tag=9fxced76sl
From:
LittleGuy
<sip:[email protected]>;tag=314159
To:
BigGuy
From:
LittleGuy
<sip:[email protected]>;tag=314159
Content-Length:
0
To:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Call-ID:
[email protected]
To:
BigGuy
<sip:[email protected]>;tag=9fxced76sl
Call-ID:
CSeq:
1 [email protected]
BYE
Call-ID:
[email protected]
CSeq:
1
BYE
Content-Length:
0
CSeq:
1
BYE
Content-Length:
0
Content-Length: 0
순천향대학교 정보기술공학부 이 상 정
27
2004-2
Header Fields
Routing Header
Max-Forwards
최대 Proxy를 거쳐 갈 수 있는 수
Record-Route
Proxy 에서 dialog 내의 request를 받고자
할 때 추가
Route
Record-Route Header의 List로 만들어 지며,
Request가 거쳐 가야 할 Proxy의 경로
순천향대학교 정보기술공학부 이 상 정
28
2004-2
Header Fields
Security Header
AuthenticationInfo
HTTP Digest에서 mutual authentication을
지원하기 위해 사용
Authorization
UA의 authentication credentials 를 포함
WWWAuthorization
Authentication challenge에 사용
Key를 만들 때 필요한 정보 포함
ProxyAuthorization
UA의 authentication information를 포함하
는 credentials로 구성
ProxyAuthenticate
Proxy에서 credential을 만들기 위해 필요한
정보 포함
순천향대학교 정보기술공학부 이 상 정
29
2004-2
Header Fields
Content Processing
ContentDisposition
Message body가 UAC or UAS interpret 할
지에 대한 내용
ContentEncoding
“media-type”의 modifier로 사용
ContentLanguage
사용 언어 표기
Content-Type
Message-body의 media type을 나타냄
Content-Length
Message-body의 길이
MIME-Version
MIME Version
순천향대학교 정보기술공학부 이 상 정
30
2004-2
Header Fields
Capability Information
Accept
사용 가능한 message format을 나타낸다.
Accept Header가 없는 경우 default는
application/sdp
AcceptEncoding
사용 가능한 encoding 방법을 알려 줌
AcceptLanguage
Message에 사용 가능한 언어를 알려 줌
Allow
처리 가능한 Method를 알려줌
Proxy-Require
Proxy가 지원해야 하는 feature를 알려줌
순천향대학교 정보기술공학부 이 상 정
31
2004-2
Header Fields
Capability Information
Require
Request를 처리하기 위해서 지원해야 하는
Extensions
Supported
지원하는 Extensions
Unsupported
지원 하지 않는 Extensions
순천향대학교 정보기술공학부 이 상 정
32
2004-2
Header Fields
SIP Processing
Call-ID
Identify a particular invitation or all
registrations of a particular client
Call-Info
Caller, Callee 의 부가적인 정보
Contact
Method, Request, Response에 따라서 의미가
다름 INVITE Request의 경우 Request를 수신할
곳에 대한 정보
CSeq
Dialog 에서 transaction의 순서로 사용
Date
날짜와 시간 정보를 포함
Error-Info
error status에 대한 부가 정보
순천향대학교 정보기술공학부 이 상 정
33
2004-2
Header Fields
SIP Processing
Expires
message가 expire 될 상대적인 시간
INVITE method에서는 무시
From
Initiator of the request
In-Reply-To
Enumerate the Call-IDs the this Call
references or returns
Min-Expires
Soft-state가 지원하는 최소 expire 시간 정보
Organization
Request나 Response 보낸 Organization의
Name
Priority
Indicate urgency
순천향대학교 정보기술공학부 이 상 정
34
Reply-To, Retry-After, Server, Subject, Timestamp, To, User-Agent, Warning,
Via
2004-2
Header Fields
SIP Processing
Reply-To
Logical return URI
Retry-After
현재 Call을 수락할 수 없을 때, 얼마나 후에
처리가 가능한지 알려줌
Server
UAS가 사용하는 Software 정보
Subject
Summary the nature of call
Timestamp
UAC가 UAS로 request를 보낸 시점
To
The logical recipient of the request
순천향대학교 정보기술공학부 이 상 정
User-Agent, Warning, Via
35
2004-2
Header Fields
SIP Processing
User-Agent
Request를 만든 UAC에 대한 정보
Warning
Additional information about the status
of response
Via
Request가 지나간 path
Response가 지나 가야 할 path
Branch value는 Transaction identifier로
사용,Loop detect를 가능하게 함
순천향대학교 정보기술공학부 이 상 정
36
2004-2
Response Code
Informational =
|
|
|
Success
Redirection
"100" ; Trying
"180" ; Ringing
"181" ; Call Is Being Forwarded
"182" ; Queued (temporarily unavailable,
server has decided to queue the call)
| “183” ; Session Progress
= "200" ; OK
= "300" ; Multiple Choices
| "301" ; Moved Permanently
| "302" ; Moved Temporarily
| "303" ; See Other
| "305" ; Use Proxy
| "380" ; Alternative Service
순천향대학교 정보기술공학부 이 상 정
37
2004-2
Response Code
Client-Error =
"400" ;
| "401"
| "402"
| "403"
| "404"
| "405"
| "406"
| "407"
| "408"
| "409"
| "410"
| "413"
| "414"
| "415"
| "416"
| "420"
순천향대학교 정보기술공학부 이 상 정
Bad Request
; Unauthorized
; Payment Required
; Forbidden
; Not Found
; Method Not Allowed
; Not Acceptable
; Proxy Authentication Required
; Request Timeout
; Conflict
; Gone
; Request Entity Too Large
; Request-URI Too Large
; Unsupported Media Type
; Unsupported URI Scheme
; Bad Extension
38
2004-2
Response Code
|
|
|
|
|
|
|
|
|
|
|
|
|
"421"
"423"
"480"
"481"
"482"
"483"
"484"
"485"
"486"
"487"
"488"
"491"
"493"
순천향대학교 정보기술공학부 이 상 정
;
;
;
;
;
;
;
;
;
;
;
;
;
Extension Required
Interval Too Brief
Temporarily not available
Call Leg/Transaction Does Not Exist
Loop Detected
Too Many Hops
Address Incomplete
Ambiguous
Busy Here
Request Terminated
Not Acceptable Here
Request Pending
Undecipherable
39
2004-2
Response Code
Server-Error = "500" ; Internal Server Error
| "501" ; Not Implemented
| "502" ; Bad Gateway
| "503" ; Service Unavailable
| "504" ; Server Time-out
| "505" ; Version not supported
| "513" ; Message To Large
Global-Failure =
|
|
|
"600"
"603"
"604"
"606"
순천향대학교 정보기술공학부 이 상 정
;
;
;
;
Busy Everywhere
Decline
Does not exist anywhere
Not Acceptable
40