SIP

SIP 301 Moved Permanently vs 481 Call/Transaction Does Not Exist

SIP 301 (Moved Permanently) is a 3xx Redirection response, while 481 (Call/Transaction Does Not Exist) 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, 481 means that the UAS received a request that does not match any existing dialog or transaction. The call state may have been lost.

描述

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 UAS received a request that does not match any existing dialog or transaction. The call state may have been lost.

何时出现

When sending a BYE, re-INVITE, or UPDATE for a call that the server has no record of. Common after server restarts.

如何修复

The dialog has been lost. Terminate the local call state. For re-INVITE failures, re-establish the call from scratch.

主要区别

1.

301 is a 3xx Redirection response, while 481 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 481: The UAS received a request that does not match any existing dialog or transaction. The call state may have been lost.

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 481 when when sending a BYE, re-INVITE, or UPDATE for a call that the server has no record of. Common after server restarts.

何时使用哪个

For 301 (Moved Permanently): Update your address book or routing tables to use the new Contact URI provided in the response. For 481 (Call/Transaction Does Not Exist): The dialog has been lost. Terminate the local call state. For re-INVITE failures, re-establish the call from scratch.

了解更多