SIP

SIP 301 Moved Permanently vs 422 Session Interval Too Small

SIP 301 (Moved Permanently) is a 3xx Redirection response, while 422 (Session Interval Too Small) is a 4xx Client Failure response. 301 indicates that the user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header. In contrast, 422 means that the request's Session-Expires value is too small. The Min-SE header in the response indicates the minimum acceptable session interval.

설명

The user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header.

이 코드를 보게 되는 경우

When a user has permanently changed their SIP address. All future calls should be directed to the new URI.

해결 방법

Update your address book or routing tables to use the new Contact URI provided in the response.

설명

The request's Session-Expires value is too small. The Min-SE header in the response indicates the minimum acceptable session interval.

이 코드를 보게 되는 경우

When using SIP session timers (RFC 4028) and the proposed session refresh interval is below the server's minimum.

해결 방법

Increase the Session-Expires value to at least the value indicated in the Min-SE header of the 422 response.

주요 차이점

1.

301 is a 3xx Redirection response, while 422 is a 4xx Client Failure response.

2.

SIP 301: The user can no longer be found at the address in the Request-URI. The client should direct future requests to the new address in the Contact header.

3.

SIP 422: The request's Session-Expires value is too small. The Min-SE header in the response indicates the minimum acceptable session interval.

4.

You encounter 301 when when a user has permanently changed their SIP address. All future calls should be directed to the new URI.

5.

You encounter 422 when when using SIP session timers (RFC 4028) and the proposed session refresh interval is below the server's minimum.

언제 어떤 것을 사용할지

For 301 (Moved Permanently): Update your address book or routing tables to use the new Contact URI provided in the response. For 422 (Session Interval Too Small): Increase the Session-Expires value to at least the value indicated in the Min-SE header of the 422 response.

더 알아보기