SIP 301 Moved Permanently vs 470 Consent Needed
SIP 301 (Moved Permanently) is a 3xx Redirection response, while 470 (Consent Needed) 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, 470 means that the request cannot be fulfilled because the source has not been granted consent by the recipient. Used in consent-based communications (RFC 5360).
Description
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 You See It
When a user has permanently changed their SIP address. All future calls should be directed to the new URI.
How to Fix
Update your address book or routing tables to use the new Contact URI provided in the response.
Description
The request cannot be fulfilled because the source has not been granted consent by the recipient. Used in consent-based communications (RFC 5360).
When You See It
When attempting to communicate with a user who has not granted permission for the calling party to reach them.
How to Fix
Request consent through a separate mechanism. The recipient must explicitly grant permission for future communications.
Key Differences
301 is a 3xx Redirection response, while 470 is a 4xx Client Failure response.
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.
SIP 470: The request cannot be fulfilled because the source has not been granted consent by the recipient. Used in consent-based communications (RFC 5360).
You encounter 301 when when a user has permanently changed their SIP address. All future calls should be directed to the new URI.
You encounter 470 when when attempting to communicate with a user who has not granted permission for the calling party to reach them.
When to Use Which
For 301 (Moved Permanently): Update your address book or routing tables to use the new Contact URI provided in the response. For 470 (Consent Needed): Request consent through a separate mechanism. The recipient must explicitly grant permission for future communications.