Structure of the SIP
- layered protocol
- element들은 논리적 개념임
- 논리적 개념의 element들은 transaction-by-transaction을 기본으로 동작
Syntax and encoding layer
- 가장 아래의 레이어
- augmented Backus-Naur(BNF) 문법으로 인코딩 됨
Transport layer
- 클라이언트가 어떻게 reqest를 보내고 response를 받는지, 서버가 request를 받고 response를 보내지에 대하여 정의
- 모든 SIP 엘리먼트들은 transport 레이어를 가짐
Transaction layer
- SIP 컴포넌트의 가장 기반이 됨
- transaction : client transaction이 server transaction에게 request를 보내고 해당하는 response를 받는 것
- application-layer 재전송, application-layer timeout, response와 request의 매칭을 처리
- client component : client transaction으로 처리
- server omponent : server transaction으로 처리
* stateful 프록시 : transaction layer를 가짐
* stateless 프록시 : transactio layer를 가지지 않음
Transaction user
- transaction layer 상위에 위치
- stateless 프로시를 제외한 모든 SIP 엔티티들
- client transaction instance 생성, 취소
- 취소시 서버는 남은 진행을 멈추고 세션 이전의 상태로 돌리게 됨
- CANCEL request는 자신의 transaction을 가지고 있으며 자신이 reference 하고 있는 transaction에 대하여 취소를 함
SIP elements
- UAC, UAS, stateful proxy, stateless proxy, registrar
- 각각의 위하여 core가 존재
- stateless proxy를 제외하고는 transaction user가 core임
- 각각 core의 동작은 메소드에 의존되어 짐
Dialog
- 두 UA간의 특정 시간에 peer-to-peer로 SIP 관계를 가지는 것
- 두 UA간의 메시지나 request의 라우팅을 용이하게 함
- INVITE 메소드만이 dialog를 생성하는 역할을 함
'Protocol > SIP' 카테고리의 다른 글
| 07. SIP Messages (0) | 2013.09.25 |
|---|---|
| 06. Definitions (0) | 2013.09.25 |
| 04. Overview of Operation (0) | 2013.09.25 |
| 02. Overview of SIP Functionality (0) | 2013.09.25 |
| 01. Introduction (0) | 2013.09.25 |