9. 도서관/__사. Network

Early Media in SIP #

행복 금융 2008. 12. 4.

Early Media in SIP #

SIP를 이용하여 컬러링 서비스나 소위 말하는 (Remote) Real Ringback tone을 제공할 수 있다.

이렇게 INVITE에 대한 Final Response 이전에 미디어가 전송,Play되는 것을 Early Media라고 한다. Early Media에 대해 크게 2가지 모델이 있는데, PSTN과 연계되는 경우에 해당되는 Gateway모델과 Application Server 모델이 있다.

Gateway 모델은 SIP 시그널링 상에서 Early Media에 대한 특별한 언급없이 동작하는 것이다. 180메시지를 받은 경우, Local Ring Backtone을 발생시키고, 만약 상대방에서 RTP(Early Media)가 오면 Local Ringback tone 발생을 중단하고, RTP를 Play한다. 상대방이 전화를 받으면 Session Media가 RTP로 전달되고, 통화를 하게 된다. 이 Gateway 모델의 문제점은 Forking 및 Security 문제가 있는 것이다.

Application Server 모델은 SIP 시그널시 early media에 대한 offer/answer를 가능하게 한다. 이는 Content-Disposition 헤더에 session과 early-session을 사용함으로서 가능하다. 이러한 확장을 이용하여 Early Media에 대한 시그널링을 추가로 할 수 있다.


다음 그림과 메시지는 Application Server 모델에서의 SIP 시그널링 예제이다. (RFC 3959)

rfc3959-msgflow-fig1.jpg

(1) INVITE에 포함된 offer
   Content-Type: application/sdp
Content-Disposition: session
v=0
o=alice 2890844730 2890844731 IN IP4 host.example.com
s=
c=IN IP4 192.0.2.1
t=0 0
m=audio 20000 RTP/AVP 0

(2) 183 Session Progress 메시지에 포함된, Early offer와 session answer
   Content-Type: multipart/mixed; boundary="boundary1"
Content-Length: 401
--boundary1
Content-Type: application/sdp
Content-Disposition: session
v=0
o=Bob 2890844725 2890844725 IN IP4 host.example.org
s=
c=IN IP4 192.0.2.2
t=0 0
m=audio 30000 RTP/AVP 0
--boundary1
Content-Type: application/sdp
Content-Disposition: early-session
v=0
o=Bob 2890844714 2890844714 IN IP4 host.example.org
s=
c=IN IP4 192.0.2.2
t=0 0
m=audio 30002 RTP/AVP 0
--boundary1--

(3) PRACK에 포함된 early answer
   Content-Type: application/sdp
Content-Disposition: early-session
v=0
o=alice 2890844717 2890844717 IN IP4 host.example.com
s=
c=IN IP4 192.0.2.1
t=0 0
m=audio 20002 RTP/AVP 0

참고:
RFC 3960 Early media and ringing tone generation in SIP
RFC 3959 Early Session Disposition Type in SIP

'9. 도서관 > __사. Network' 카테고리의 다른 글

오라클 dmp 와 dbf 파일 차이  (0) 2008.12.08
rdate 하드웨어 까지 동기화  (0) 2008.12.08
우분투 한영키 설정  (0) 2008.12.03
우분투에 대해  (0) 2008.12.02
ok 모드 하드 용량 확인  (0) 2008.12.01

댓글

💲 추천 글