SIP 301 Moved Permanently vs 491 Request Pending
SIP 301 (Moved Permanently) is a 3xx Redirection response, while 491 (Request Pending) 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, 491 means that the request was received by a UAS that had a pending request within the same dialog. The UAS cannot process both requests simultaneously.
คำอธิบาย
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 was received by a UAS that had a pending request within the same dialog. The UAS cannot process both requests simultaneously.
เมื่อคุณพบเห็น
When sending a re-INVITE while another re-INVITE is still being processed. Common during hold/unhold or codec change sequences.
วิธีแก้ไข
Wait for the pending transaction to complete before sending a new one. Implement proper glare handling (RFC 3261 Section 14.1).
ความแตกต่างหลัก
301 is a 3xx Redirection response, while 491 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 491: The request was received by a UAS that had a pending request within the same dialog. The UAS cannot process both requests simultaneously.
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 491 when when sending a re-INVITE while another re-INVITE is still being processed. Common during hold/unhold or codec change sequences.
ควรใช้อันไหนเมื่อไร
For 301 (Moved Permanently): Update your address book or routing tables to use the new Contact URI provided in the response. For 491 (Request Pending): Wait for the pending transaction to complete before sending a new one. Implement proper glare handling (RFC 3261 Section 14.1).