SIP 182 Queued vs 401 Unauthorized
SIP 182 (Queued) is a 1xx Provisional response, while 401 (Unauthorized) 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, 401 means that the request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.
Description
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.
Quand vous le voyez
In call center or queuing scenarios where the callee is busy but the system holds the call in a queue.
Comment résoudre
Wait for the call to be dequeued. If queuing is not desired, configure the server to reject calls instead of queuing them.
Description
The request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.
Quand vous le voyez
When making a request that requires Digest authentication. Common for REGISTER and INVITE requests to authenticated SIP trunks.
Comment résoudre
Resend the request with proper Authorization header containing valid credentials (Digest authentication).
Différences clés
182 is a 1xx Provisional response, while 401 is a 4xx Client Failure response.
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.
SIP 401: The request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.
You encounter 182 when in call center or queuing scenarios where the callee is busy but the system holds the call in a queue.
You encounter 401 when when making a request that requires Digest authentication. Common for REGISTER and INVITE requests to authenticated SIP trunks.
Quand utiliser lequel
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 401 (Unauthorized): Resend the request with proper Authorization header containing valid credentials (Digest authentication).