Every SIP call is a conversation between systems, and each reply carries a three-digit response code. When a call fails, the code tells you where to look. Learning the common ones turns "calls aren't working" into a specific fix.
The classes
- 1xx Provisional: the request is being processed.
- 2xx Success: the request worked.
- 3xx Redirection: try another address.
- 4xx Client error: something about the request was wrong.
- 5xx Server error: the server or network couldn't complete it.
- 6xx Global failure: the call won't succeed anywhere.
Common provisional and success codes
- 100 Trying: the next hop received the request.
- 180 Ringing: the destination is ringing.
- 183 Session Progress: early media, such as ringback tones or announcements from the network.
- 200 OK: the call was answered (or the request succeeded).
Errors you'll see most often
401 Unauthorized / 407 Proxy Authentication Required
The server wants credentials. This is normal at the start of a call; your system should reply with authentication. If calls fail here, the username or password is wrong.
403 Forbidden
The server understood but refuses. Common causes: your IP isn't whitelisted with the carrier, wrong credentials, account out of balance, or the destination is blocked (for example international calls disabled).
404 Not Found
The number doesn't exist in the format sent. Check country code, prefixes and number formatting.
408 Request Timeout
No final response in time. Often a network or firewall issue, or the far end is unreachable.
480 Temporarily Unavailable
The destination exists but can't take the call now, such as a phone that's offline or not registered.
486 Busy Here
The called party is busy.
487 Request Terminated
The call was cancelled before answer, usually because the caller hung up or the dialer's ring timeout expired. Normal in outbound dialing.
488 Not Acceptable Here
No common codec or media setting. Compare the codecs each side offers.
500 Server Internal Error
Something failed on the server. Check logs on whichever side sent it.
502 Bad Gateway / 503 Service Unavailable
Upstream routing problems, overload, or your concurrent call limit has been reached. If 503s spike during busy periods, check channel limits with the carrier.
603 Decline
The called party or network declined the call.
How to see the codes
- sngrep on the server shows SIP messages per call in a readable ladder view.
- Asterisk CLI with SIP or PJSIP logging turned on.
- VICIdial carrier log shows hangup causes and SIP codes per call.
- Your carrier's CDR portal often shows their side of the failure.
Read the codes in context
Look at patterns, not single calls. A few 486 and 487 responses are normal in any outbound campaign. A sudden wave of 403s points to an account or whitelist issue; many 404s suggest a list formatting problem; a burst of 503s at peak time suggests capacity limits.
Summary
SIP codes are your fastest clue. 4xx means fix the request (credentials, number format, codecs); 5xx means look at the server, carrier or capacity. Capture the call, read the code, and fix the specific cause.
Need help with VICIdial, Asterisk or AI voice agents?
SmartAiCalls sets up, secures and supports calling systems for call centers and growing businesses. Talk to us or request a free demo.