SIP

SIP 182 Queued vs 412 Conditional Request Failed

SIP 182 (Queued) is a 1xx Provisional response, while 412 (Conditional Request Failed) is a 4xx Client Failure response. 182 indicates that the called party is temporarily unavailable but the server has decided to queue the call rather than reject it. The call will be attempted when the callee becomes available. In contrast, 412 means that the precondition given in the request was not met. Used with SIP event state publication (RFC 3903).

Mô tả

The called party is temporarily unavailable but the server has decided to queue the call rather than reject it. The call will be attempted when the callee becomes available.

Khi bạn thấy mã này

In call center or queuing scenarios where the callee is busy but the system holds the call in a queue.

Cách khắc phục

Wait for the call to be dequeued. If queuing is not desired, configure the server to reject calls instead of queuing them.

Mô tả

The precondition given in the request was not met. Used with SIP event state publication (RFC 3903).

Khi bạn thấy mã này

When a PUBLISH request includes an If-Match header with an entity tag that does not match the current state on the server.

Cách khắc phục

Refresh the entity tag by performing a new PUBLISH without If-Match, then use the returned SIP-ETag for subsequent updates.

Sự khác biệt chính

1.

182 is a 1xx Provisional response, while 412 is a 4xx Client Failure response.

2.

SIP 182: The called party is temporarily unavailable but the server has decided to queue the call rather than reject it. The call will be attempted when the callee becomes available.

3.

SIP 412: The precondition given in the request was not met. Used with SIP event state publication (RFC 3903).

4.

You encounter 182 when in call center or queuing scenarios where the callee is busy but the system holds the call in a queue.

5.

You encounter 412 when when a PUBLISH request includes an If-Match header with an entity tag that does not match the current state on the server.

Khi nào dùng cái nào

For 182 (Queued): Wait for the call to be dequeued. If queuing is not desired, configure the server to reject calls instead of queuing them. For 412 (Conditional Request Failed): Refresh the entity tag by performing a new PUBLISH without If-Match, then use the returned SIP-ETag for subsequent updates.

Tìm hiểu thêm