AI disclosure: this article was written with the help of AI and checked by a human before publishing.
If your app places phone calls, sooner or later a call fails and your logs show a three-digit number. SIP response codes look like HTTP status codes, and many of them mean nearly the same thing, but a few are easy to misread. These are the ones developers actually meet, and what to do about each.
How to read them
1xx is progress. 100 Trying , 180 Ringing and 183 Session Progress (early media, such as a ringback tone or an announcement).
2xx is success. 200 OK means the call was answered.
4xx is a problem with this request: the number, the caller ID, the account.
5xx is a problem on a server along the way.
6xx is a global failure: the callee does not want this call anywhere.
Always log the code, the reason phrase and the Call-ID. When you open a ticket with a carrier, the Call-ID and the time in UTC are what they ask for first.
The codes you will meet
403 Forbidden. The far end refused you.…