2016-05-23 5 views
0

SIP通信におけるSIPコアの動作については、以下の質問があります。SIPタイマー内部コア

パーティAの発呼者B.BがINVITEを受信し、「200 OK」を生成すると仮定します。 「200 OK」を生成した後、Bは終了状態(SIPステートマシン)に達し、結果的にBに状態機械は存在しない。

「200 OK」がAに達しない場合、Bは、 ACKを受信して​​いないので、「200 OK」を送信します。 RFC 3261は、「200 OK」を再送信することがSIPコアの責任であると述べています。

したがって、この再送信を送信するBのSIPコアのトリガーは何ですか?タイマーは維持されていますか?それとも実装依存ですか?

よろしく、 Sudhansu

答えて

1

Bから2XXのrestransmissionはセクション13.3.1.4 The INVITE is Accepted

に説明する正確なテキストは、この一つである:

The 2xx response is passed to the transport with an 
interval that starts at T1 seconds and doubles for each 
retransmission until it reaches T2 seconds (T1 and T2 are defined in 
Section 17). Response retransmissions cease when an ACK request for 
the response is received. 

再送の端部が後に説明される:

If the server retransmits the 2xx response for 64*T1 seconds without 
receiving an ACK, the dialog is confirmed, but the session SHOULD be 
terminated. This is accomplished with a BYE, as described in Section 
15. 

thi sは、アプリケーション層(つまり、トランザクション層ではない) がタイマーを管理する必要があることを意味します。

タイマT1およびT2は、表4で定義されている:タイマの値。

T1  500ms default Section 17.1.1.1  RTT Estimate 
T2  4s    Section 17.1.2.2  The maximum retransmit 
               interval for non-INVITE 
               requests and INVITE 
               responses 
T4  5s    Section 17.1.2.2  Maximum duration a 
               message will 
               remain in the network 

T1、T2、およびT4の値は変更できますか。しかし、理論的には、通常のインターネットでは変更しないでください。すべてのACKが失われた場合

は、例えば、再送信は、それらの間隔以内に行われます:合計は

500msの 1S 2S 4S 4S 4S 4S ...

になるまで64 * T1 = 32秒

+0

あなたからの回答が期待されます。ありがとうございました。 – Sudhansu