Session Initiation Protocol (SIP) response codes are three-digit replies that describe a request's progress or result. They can signal ringing, success, authentication, redirection, or failure. For developers operating voice calls, the useful distinction is what happens next: continue, correct the request, retry within limits, or stop. Read the code alongside its request method and call leg before turning it into a recovery rule.
What the six SIP response classes mean
Session Initiation Protocol (SIP) manages communication sessions. A response belongs to a particular request, such as INVITE to establish a session or BYE to end one. The first digit gives its class.
| Class | Meaning | Operational interpretation |
|---|---|---|
1xx | Provisional | Processing continues. Progress is not an answer. |
2xx | Successful | The particular request succeeded. |
3xx | Redirection | Another location or service may satisfy the request. |
4xx | Request failure | The request failed at this destination. Authentication challenges and busy outcomes also live here. |
5xx | Server failure | A server could not fulfill the request. Some causes permit recovery; others require a change. |
6xx | Global failure | The response conveys failure beyond one destination, so ordinary alternate-location hunting should stop. |
Only 1xx responses are provisional. Responses in classes 2xx through 6xx are final. A final response resolves a request; it does not necessarily end the call. For example, an unsuccessful session-change request can occur during an established conversation.
“SIP error codes” usually means the failure classes, while “SIP response codes” includes progress and success. Neither label makes every 4xx an infrastructure incident.
Common SIP codes and the next action
Use the numeric code for classification. The text after it, called the reason phrase, can vary between implementations. A carrier's diagnostic detail adds context without changing the standardized code's meaning. The SIP response specification defines that distinction.
| Code | Meaning | Application response |
|---|---|---|
100 Trying | A next-hop server is processing the request. | Keep the attempt pending. This does not prove the destination is ringing. |
180 Ringing | The receiving endpoint is trying to alert the user. | Continue the attempt within its ringing deadline. |
183 Session Progress | Additional setup progress. | Process any session description and early media. Do not mark the call answered. |
200 OK | The request succeeded. | Read the request method. Success for INVITE, CANCEL, and BYE means different things. |
301 / 302 | Permanent or temporary redirection. | Apply routing policy to the Contact destination. Prevent loops and unapproved destinations. |
401 / 407 | User-agent or proxy authentication challenge. | Let the SIP stack perform the authenticated request. Repeated challenges need an authentication fix. |
403 Forbidden | The server understood and refused the request. | Stop unchanged retries. Investigate authorization, source-address policy, caller identity, or destination restrictions. |
404 Not Found / 410 Gone | Unknown user/domain, or a resource known to be permanently unavailable. | Correct the target or routing data. Repeated dialing does not repair it. |
408 Request Timeout | Processing did not produce a response in time. | Diagnose the path and attempt state before scheduling another call. |
480 Temporarily Unavailable | The destination is currently unavailable. | Record an availability outcome. A later attempt needs its own permitted schedule. |
486 Busy Here | This endpoint cannot or will not accept another call now. | Record busy. An already-authorized alternate destination may still be available. |
487 Request Terminated | The request was terminated, often after CANCEL. | Identify who canceled and why. Do not automatically label it a carrier fault. |
488 Not Acceptable Here | The proposed session is unacceptable at this destination. | Inspect the session description and media requirements before repeating the offer. |
500 / 502 / 504 | Internal server error, invalid downstream response, or downstream timeout. | Preserve the failing leg and diagnostic context. Any retry needs a bounded policy. |
503 Service Unavailable | Temporary overload or maintenance. | Respect the affected server's Retry-After, when present, and use only approved alternate routing. |
600 / 603 | Busy everywhere or declined globally. | Stop alternate-location attempts for this request. Treat later contact as a separate policy decision. |
607 / 608 | Unwanted by the recipient, or rejected by an intermediary. | Stop automatic redial. Preserve rejection information and route any remediation through the responsible owner. |
For an initial INVITE, 200 OK means the session was accepted, and the SIP stack sends ACK. It does not establish that a person answered: voicemail or another automated system can accept a call. It also does not prove that two-way audio works.
Early media is media exchanged before acceptance. In voice calls, that includes audio such as announcements or ringback. It can accompany a provisional exchange without a completed call. The early media model explains this boundary. If reliable provisional responses are negotiated with 100rel, the SIP stack uses PRACK, the provisional-response acknowledgment method. This is separate from the ACK used for final INVITE responses, as defined by the provisional reliability extension.
Full SIP response code list
The Internet Assigned Numbers Authority (IANA) maintains the authoritative response code registry. These tables retain its registered names. Many extension codes apply to features other than ordinary call setup.
1xx: provisional responses
| Code | Registered name |
|---|---|
100 | Trying |
180 | Ringing |
181 | Call Is Being Forwarded |
182 | Queued |
183 | Session Progress |
199 | Early Dialog Terminated |
2xx: successful responses
| Code | Registered name |
|---|---|
200 | OK |
202 | Accepted (Deprecated) |
204 | No Notification |
202 is deprecated. 204 belongs to a subscription-specific exchange; it is not a substitute for answering a phone call.
3xx: redirection responses
| Code | Registered name |
|---|---|
300 | Multiple Choices |
301 | Moved Permanently |
302 | Moved Temporarily |
305 | Use Proxy |
380 | Alternative Service |
4xx: request failure responses
| Code | Registered name |
|---|---|
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
403 | Forbidden |
404 | Not Found |
405 | Method Not Allowed |
406 | Not Acceptable |
407 | Proxy Authentication Required |
408 | Request Timeout |
410 | Gone |
412 | Conditional Request Failed |
413 | Request Entity Too Large |
414 | Request-URI Too Long |
415 | Unsupported Media Type |
416 | Unsupported URI Scheme |
417 | Unknown Resource-Priority |
420 | Bad Extension |
421 | Extension Required |
422 | Session Interval Too Small |
423 | Interval Too Brief |
424 | Bad Location Information |
425 | Bad Alert Message |
428 | Use Identity Header |
429 | Provide Referrer Identity |
430 | Flow Failed |
433 | Anonymity Disallowed |
436 | Bad Identity Info |
437 | Unsupported Credential |
438 | Invalid Identity Header |
439 | First Hop Lacks Outbound Support |
440 | Max-Breadth Exceeded |
469 | Bad Info Package |
470 | Consent Needed |
480 | Temporarily Unavailable |
481 | Call/Transaction Does Not Exist |
482 | Loop Detected |
483 | Too Many Hops |
484 | Address Incomplete |
485 | Ambiguous |
486 | Busy Here |
487 | Request Terminated |
488 | Not Acceptable Here |
489 | Bad Event |
491 | Request Pending |
493 | Undecipherable |
494 | Security Agreement Required |
SIP 429 means a valid referrer-identity token is required. It does not mean HTTP's “Too Many Requests.” The referrer identity mechanism defines it. 402 is reserved for future use in the base specification. The older 409 Conflict and 411 Length Required are absent from the current registry.
5xx: server failure responses
| Code | Registered name |
|---|---|
500 | Server Internal Error |
501 | Not Implemented |
502 | Bad Gateway |
503 | Service Unavailable |
504 | Server Time-out |
505 | Version Not Supported |
513 | Message Too Large |
555 | Push Notification Service Not Supported |
580 | Precondition Failure |
6xx: global failure responses
| Code | Registered name |
|---|---|
600 | Busy Everywhere |
603 | Decline |
604 | Does Not Exist Anywhere |
606 | Not Acceptable |
607 | Unwanted |
608 | Rejected |
607 carries the recipient's unwanted-call signal. 608 identifies rejection by an intermediary, such as a call-analytics service, and provides a mechanism for reporting erroneous blocking. The rejected-call specification distinguishes them. Switching routes to evade either response is the wrong recovery policy.
Diagnose the exchange before assigning a cause
A response code is an observation at a signaling boundary. It is rarely a complete root-cause report.
Match the response to its method and leg
Record the application call identifier, SIP Call-ID, From and To tags, CSeq number and method, top Via branch, timestamp, direction, and sending endpoint.
Call-ID alone cannot distinguish every dialog created by a forked request. A SIP dialog identifier combines that value with the local and remote tags. CSeq and transaction context then separate setup, cancellation, and later session changes. A session border controller can also terminate and originate separate call legs, so an application-side code may differ from the downstream response.
Keep a compact incident record:
| Evidence | Question it answers |
|---|---|
| Request method and sequence | Which operation failed? |
| Call leg, tags, and branch | Which destination or fork produced it? |
| Sender and message order | Where did the failure first become visible? |
Retry-After | Did this response specify a delay? |
Contact | Was an alternate destination supplied? |
Warning, Reason, and response body | Is there a more specific media or termination explanation? |
| Application cancellation event | Did the caller, scheduler, or another branch end the attempt? |
A Reason header can contain a SIP cause or a Q.850 telephony cause. Preserve the protocol label with the number: a Q.850 cause is not a SIP status code. The Reason header definition defines that separation. The Q.850 response rules allow those telephony causes in SIP responses other than 100 Trying.
Shared traces also need redacted credentials, phone numbers, and sensitive session data.
Read cancellation as a sequence
This simplified exchange shows successful cancellation before answer:
Caller -> Peer: INVITE CSeq: 7 INVITE Peer -> Caller: 180 Ringing CSeq: 7 INVITE Caller -> Peer: CANCEL CSeq: 7 CANCEL Peer -> Caller: 200 OK CSeq: 7 CANCEL Peer -> Caller: 487 Request Terminated CSeq: 7 INVITE Caller -> Peer: ACK CSeq: 7 ACK
The 200 acknowledges CANCEL; it does not say the call was answered. The 487 resolves the original INVITE. Cancellation can also result from another fork winning or an application deadline, so a rise in 487 needs attribution rather than blanket removal from incident analysis.
There is a race: an INVITE can receive 200 OK while cancellation is in flight. The SIP stack must acknowledge that answer and terminate the unwanted established dialog with BYE. A successful CANCEL response alone does not establish that the original attempt was canceled. The cancellation race example shows why a scheduler must not launch a replacement call on that assumption.
Separate session rejection from broken audio
With 488, inspect Session Description Protocol (SDP) content: offered codecs, media profiles, encryption requirements, and any returned capability or warning detail. A codec mismatch is one possible cause; the code does not identify a codec by itself.
After a successful setup, silent or one-way audio requires media-path evidence. Repeating an answered call based only on its audio symptom can create a second live call. Real-time Transport Protocol (RTP) carries the media; our RTP packet guide explains that delivery boundary.
Turn failures into bounded recovery decisions
Keep SIP transaction retransmissions, authentication exchanges, and application-level redial separate. A SIP stack retransmission is part of the same transaction. A scheduler creating another outbound call is a new attempt with new cost and duplicate-contact risk.
A conservative application policy has four outcomes:
- Continue protocol processing. Provisional responses and expected authentication challenges stay with the SIP stack. They do not create new scheduled calls.
- Stop and correct. Malformed requests, wrong targets, policy refusals, and incompatible session offers need changed input or configuration.
- Retry within a budget. Eligible transient failures get a maximum attempt count, an overall deadline, paced backoff, and a permitted destination window. One logical call job owns the budget across every route.
- Use an approved alternate route. Redirects and server failures may justify another configured path. Route changes retain identity, destination restrictions, rejection handling, and the same attempt budget.
503 needs server-level handling. When Retry-After is present, place that server on cooldown for the specified interval rather than letting other workers immediately refill it. An approved alternate server may remain usable. When the header is absent, the server failure rules specify 500 handling; they do not supply a universal retry delay.
Add randomized backoff and shared admission limits so queued attempts do not all restart together. Excess retransmission traffic can worsen overload, a failure mode described in the SIP overload specification. Calls per second and concurrent calls are separate constraints: pacing starts does not cap the number already active.
For timeouts, distinguish an actual received 408 from a local timeout recorded by an application. A missing response does not establish what the far side did. Reconcile the prior attempt and serialize any replacement decision before redialing. Busy, declined, canceled, unwanted, and infrastructure-failed outcomes should remain separate in reporting.
Use SIP evidence in a production voice AI workflow
We help technical teams build and run production voice AI agents through a managed runtime, APIs, and a web application. SIP traces connect an application call record to its signaling exchange; they do not establish that the audio path or agent behavior was healthy.
Our SIP trace API retrieves traces using the Dasha application call ID:
GET /api/v1/calls/{callId}/sip-traces
The result contains trace groups with SIP Call-ID values and ordered messages, including timestamps, methods, status codes, source and destination addresses, transport, and raw content. Keep the application identifier and SIP identifiers distinct when correlating a failed attempt.
For outbound pacing, cpsLimit sets a trunk's calls-per-second limit, and cpsKey shares a limit across multiple credentials. These controls address call-start pressure. They do not establish a code-based retry or failover policy.
For a managed voice AI integration with your telephony setup, start with our SIP configuration guide.



