2009/01/06 10:44 Voice Portal/Network
크리에이티브 커먼즈 라이선스
Creative Commons License
아래 내용은 SIP 세미나를 위해 찾았던 자료를 정리한 것입니다.


SIP 소개
- http://blog.naver.com/blow1/150003192676
SIP/SDP
- http://blog.naver.com/blow1/150026889877
SIP 응답 메세지
- http://blog.naver.com/blow1/150032662135

SIP의 기능 개요
- 통신하고자 하는 측의 end system의 결정
- 통신에 참여할 것에 대한 결정
- 통신에 사용되는 미디어와 미디어 파라미터 결정
- 통신하고자 하는 양측에서 세션 파라미터의 결정
- 세션의 전달 및 종료, 세션 파라미터의 수정

RFC3261에서는 사용자에 대한 인증은 HTTP digest인증방법을 사용하며,
End-to-End 메시지 암호화 방법은 e-mail 보안을 위한 S/MIME을 선택하고 있다.
HTTP 인증 이해
S/MIME 이란

SIP 관련 용어
Dialog : 일정시간 동안 유지되는 두 UA간에 Peer-to-Peer SIP관계
Transaction : UAC가 request message를 보내고 UAS가 이를 받아 response를 보내는 일련의 과정(즉, client가 server로 처음 보내는 request부터, server가 client에게 마지막으로 보내는 response까지)

SIP 통신



SIP Request Message
INVITE - 클라이언트와 서버간에 콜을 성립하는 가장 기본적인 method. 이 때 Media Type, Media Port정보를 Message에 포함시킨다.
ACK - INVITE의 RESPONSE 메시지
BYE - 호 종료
CANCEL - 호 성립 취소
OPTION - UA에게 "가능한 옵션)을 요청합니다. 예를 들면, 해당 에이전트가 이해하는 메시지와 코덱 정보)
REGISTER - 사용자가 Contact Header에 위치 정보를 기입하고, Expire Time을 이용하여 위치를 Update, Delete, Add를 할 때 사용
INFO - UA에 의해서 호 시그널 링 정보를 미디어 세션이 설립된 다른 UA에게 보낼 때 사용


Multiple media list
http://blog.naver.com/ardor78?Redirect=Log&logNo=110007410738

RTP payload type
http://dorigom.springnote.com/pages/643594

SDP
Session Description
v= (protocol version)
o= (owner/creator and session identifier)
s= (session name)
i=* (session information)
u=* (URI of description)
e=* (email address)
p=* (phone number)
c=* (connection information)
b=* (bandwidth information)
z=* (time zone adjustments)
k=* (encryption key)
a=* (zero or more session attribute lines)

Time description
t= (time the session is active)
r=* (zero or more repeat times)

Media description
m= (media name and transport address)
i=* (media title)

SDP time field
v=0
o=alice 2345566342 2346553445 IN IP4 pc33.atlanta.com
s=
c=IN IP4 pc33.atlanta.com
t=0 0
m=audio 49170 RTP/AVP 0
a=rtpmap:0 PCMU/8000

- "fmtp"는 format-specific parameters를 의미하는데 이것은 캐릭터들이 SDP가 이해하지 못하는 방향(그러나 미디어 포맷에 분명히 나타나는, it's is specific to RPT)으로 전달 될 수 있음을 의미한다.

- "t="라인은 answer와 offer가 같아야만 한다. " t=0 0 "

time 필드를 0 0 으로 두는 것은 time 제한을 두지 않습니다. 협상 결과에 대한 유효 시간이 없으며, time을 지정하는 경우는 start time과 stop time 간의 time동안만 협상 결과가 유효하게 됩니다.

If the <stop-time> is set to zero, then the session is not bounded, though it will not become active until after the <start-time>.  If the <start-time> is also zero, the session is regarded as permanent.

telephone-event는 dynamic payload이기 때문에 media desc. 필드의 attribute가 명시된 것입니다. 말씀하신대로 DTMF 협상을 위해 표기한 것입니다.

posted by 조금까칠한남자
TAG , ,