SIP 204 No Notification vs 410 Gone
SIP 204 (No Notification) is a 2xx Success response, while 410 (Gone) is a 4xx Client Failure response. 204 indicates that the request was successful but the server has decided not to send a NOTIFY for this SUBSCRIBE request. In contrast, 410 means that the requested resource is no longer available at the server and no forwarding address is known. This is expected to be a permanent condition.
Mô tả
The request was successful but the server has decided not to send a NOTIFY for this SUBSCRIBE request.
Khi bạn thấy mã này
When subscribing to event packages that may not generate immediate notifications, such as dialog or presence packages.
Cách khắc phục
No fix needed. The subscription was accepted but there is no state change to notify about yet.
Mô tả
The requested resource is no longer available at the server and no forwarding address is known. This is expected to be a permanent condition.
Khi bạn thấy mã này
When a user account has been permanently deactivated or removed from the server with no forwarding information.
Cách khắc phục
The user is permanently gone. Remove this URI from your contacts. Unlike 404, the server knows the user once existed here.
Sự khác biệt chính
204 is a 2xx Success response, while 410 is a 4xx Client Failure response.
SIP 204: The request was successful but the server has decided not to send a NOTIFY for this SUBSCRIBE request.
SIP 410: The requested resource is no longer available at the server and no forwarding address is known. This is expected to be a permanent condition.
You encounter 204 when when subscribing to event packages that may not generate immediate notifications, such as dialog or presence packages.
You encounter 410 when when a user account has been permanently deactivated or removed from the server with no forwarding information.
Khi nào dùng cái nào
For 204 (No Notification): No fix needed. The subscription was accepted but there is no state change to notify about yet. For 410 (Gone): The user is permanently gone. Remove this URI from your contacts. Unlike 404, the server knows the user once existed here.