SIP
401 Unauthorized
The request requires user authentication. The response includes a WWW-Authenticate header with a challenge for the realm.
When You See This Code
When making a request that requires Digest authentication. Common for REGISTER and INVITE requests to authenticated SIP trunks.
How to Fix
Resend the request with proper Authorization header containing valid credentials (Digest authentication).