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).
คำอธิบาย
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 cannot be fulfilled because the source has not been granted consent by the recipient. Used in consent-based communications (RFC 5360).
เมื่อคุณพบเห็น
When attempting to communicate with a user who has not granted permission for the calling party to reach them.
วิธีแก้ไข
Request consent through a separate mechanism. The recipient must explicitly grant permission for future communications.
ความแตกต่างหลัก
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.
ควรใช้อันไหนเมื่อไร
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.