1 / 18

SIP PRACK METHOD and QoS

SIP PRACK METHOD and QoS. Agenda. SIP PRACK method(RFC 3236) SIP QoS SIP in 3G + QoS. INVITE+SDP. 100: Trying. 180: Ringing. 200: OK+SDP. ACK. SIP Basic Call Flow. Server (Callee). Client (Caller). User Agent. User Agent. RTP.

lovie
Download Presentation

SIP PRACK METHOD and QoS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SIP PRACK METHOD and QoS

  2. Agenda • SIP PRACK method(RFC 3236) • SIP QoS • SIP in 3G + QoS

  3. INVITE+SDP 100: Trying 180: Ringing 200: OK+SDP ACK SIP Basic Call Flow Server (Callee) Client (Caller) User Agent User Agent RTP

  4. SIP defines two types of responses, provisional and final.

  5. Provisional responses is unreliability. • 提供打電話過程的資訊,一些臨時性的回應 • trying (100), ringing (180), queueing (182),session progress (183). • 不會回傳ACK • Final responses is reliability. • 每隔一段時間重送,直到收到ACK

  6. INVITE+SDP(80K) 100: Trying 180: Ringing 200: OK+SDP(50k) CANCEL SIP Basic Call Flow Server (Callee) Client (Caller) User Agent User Agent 無法建立連線

  7. 通訊建立初期會發生的問題 • Session time 太長 • SDP交換資料不足 • QoS來不及處理 • Need more negotiation. • 某些情況下我們需要Provisional responses reliability • 與PSTN連線,Session太長 • Application server, wireless phones, media servers… • 電話鈴聲響起之前(180 ringing傳送前),必須把所有事情都準備好。

  8. SIP PRACK method • Reliability of Provisional Responses in the SIP (RFC 3261) • 讓 Provisional Responses 也有ACK回應 • 有更多訊息、時間可以做QoS或媒體溝通能力的準備

  9. INVITE+SDP 183 Session Progress +SDP 200: OK (回應 PRACK) PRACK (回應183) SIP PRACK Server (Callee) Client (Caller) User Agent User Agent

  10. S -> C : SIP/2.0 183 Progress Require: 100rel Via: SIP/2.0/UDP saturn.bell-tel.com RSeq: 776655 From: sip:alexander@bell-tel.com;tag=736ad7789 To: sip:watson@bell-tel.com;tag=11 C->S: PRACK sip:watson@mypc.bell-tel.com SIP/2.0 RAck: 776655 1 INVITE Via: SIP/2.0/UDP saturn.bell-tel.com From: sip:alexander@bell-tel.com;tag=736ad7789 To: sip:watson@bell-tel.com;tag=11 Call-ID: 70710@saturn.bell-tel.com CSeq: 2 PRACK Content-Type: application/sdp

  11. SIP QoS INVITE + SDP1 (QoS) 183: Progress + SDP2 PRACK 200:OK (PRACK) UPDATE +SDP3 200:OK (UPDATE) +SDP4 180: Ringing B A RESERVATION RESERVATION

  12. CODEC使用頻寬範例 Codec Bandwidth (bps) Frame duration Frame size Raw pkt G.711 64 kbps 15 ms 120 Bytes 85.33k bps G.723.1 5.3 - 6.3 kbps 30 ms 24 Bytes 17.06k bps G.729 8 kbps 10 ms 10 Bytes 24k bps

  13. S-CSCF#1 SDP Final SDP Reserv Success Session Flow Procedure UE#1 S-CSCF#2 UE#2 INVITE Ringing 200 OK ACK

  14. INVITE Home Network#2 Home Network#1 Visited Network#1 Visited Network#2 P-CSCF UE#2 S-CSCF#2 UE#1 S-CSCF#1 P-CSCF HSS I-CSCF#2 INVITE+SDP 100 trying INVITE + SDP 100 trying Service Control INVITE + SDP 100 trying Location Query Response INVITE + SDP 100 trying Service Control INVITE + SDP 100 trying INVITE + SDP 100 trying

  15. 183 Session Progress + PRACK Home Network#1 Visited Network Home Network#2 Visited Network#2 S-CSCF#2 P-CSCF UE#2 HSS I-CSCF#2 S-CSCF#1 P-CSCF UE#1 183 (SDP) 183 (SDP) 183 (SDP) 183 (SDP) 183 (SDP) 183 (SDP) PRACK (Final SDP) Authorize QoS Resource PRACK (Final SDP) PRACK (Final SDP) PRACK (Final SDP) Authorize QoS Resource PRACK (Final SDP) 200 OK 200 OK 200 OK 200 OK 200 OK

  16. COMET COMET 200 OK ReservSuccess (COMET) Home Network#2 Visited Network#2 Home Network#1 Visited Network S-CSCF#2 P-CSCF UE#2 HSS I-CSCF#2 S-CSCF#1 P-CSCF UE#1 Resource Reservation Resource Reservation COMET COMET COMET 200 OK 200 OK 200 OK 200 OK

  17. Ring (180 Ringing) + 200 OK (Hang Up) + ACK ACK Home Network#1 Home Network#2 Visited Network Visited Network#2 UE#2 P-CSCF UE#1 HSS S-CSCF#2 P-CSCF I-CSCF#2 S-CSCF#1 Ring Ring Ring 200 OK Ring Ring Approval of QoS Commit Ring 200 OK Ringback Service Control 200 OK 200 OK Service Control 200 OK Approval of QoS Commit 200 OK ACK ACK ACK ACK

  18. References • Reliability of Provisional Responses in the Session Initiation Protocol (SIP) ,IETF RFC 3262 • draft-ietf-sip-100rel-04.txt • Integration of Resource Management and Session Initiation Protocol (SIP) , IETF RFC 3312 • 3GPP. TS 29.962

More Related