SIP

SIP 301 Moved Permanently vs 423 Interval Too Brief

SIP 301 (Moved Permanently) is a 3xx Redirection response, while 423 (Interval Too Brief) 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, 423 means that the expiration time in the request is too short. The response contains a Min-Expires header indicating the minimum allowed value.

描述

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 expiration time in the request is too short. The response contains a Min-Expires header indicating the minimum allowed value.

何时出现

When a REGISTER or SUBSCRIBE request has an Expires value that is below the server's minimum. Common with aggressive keep-alive timers.

如何修复

Increase the Expires header value to at least the Min-Expires value from the response.

主要区别

1.

301 is a 3xx Redirection response, while 423 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 423: The expiration time in the request is too short. The response contains a Min-Expires header indicating the minimum allowed value.

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 423 when when a REGISTER or SUBSCRIBE request has an Expires value that is below the server's minimum. Common with aggressive keep-alive timers.

何时使用哪个

For 301 (Moved Permanently): Update your address book or routing tables to use the new Contact URI provided in the response. For 423 (Interval Too Brief): Increase the Expires header value to at least the Min-Expires value from the response.

了解更多