200 2xx Success RFC 3261
SIP 200 OK
The request succeeded. For INVITE, the call was answered. For REGISTER, the registration was accepted.
200 OK is the response everyone hopes for, but it means different things depending on the request it answers. For an INVITE it means the call was answered, and it carries the far end's SDP answer. For REGISTER it confirms the binding and lists every contact registered for that account. For BYE it confirms the hang-up, for OPTIONS it shows the device is alive, and for CANCEL it only confirms the cancel was received.
A 200 OK to INVITE is special: it is the only response the caller acknowledges with a separate ACK request, sent end to end along the dialog's route. The answering side retransmits the 200 OK until that ACK arrives. If it never does, the answering side gives up after about 32 seconds and normally sends BYE, which is the classic "calls drop after 30 seconds" fault.
So a 200 OK in a trace is not proof that everything worked. Look at what follows it: an ACK, two-way RTP and, for registrations, a sensible contact address and expiry.
What it looks like in a SIP trace
Phone -> Registrar : REGISTER sip:pbx.example.com SIP/2.0 (with Authorization) Registrar -> Phone : SIP/2.0 200 OK SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.1.41:5060;rport=40312;received=198.51.100.7;branch=z9hG4bK3c55e1 From: <sip:2001@pbx.example.com>;tag=1928301774 To: <sip:2001@pbx.example.com>;tag=z9hG4bK3c55e1.srv Call-ID: a84b4c76e66710@192.168.1.41 CSeq: 3 REGISTER Contact: <sip:2001@198.51.100.7:40312>;expires=300 Contact: <sip:2001@203.0.113.88:5060>;expires=1650 Date: Fri, 30 Oct 2026 08:15:42 GMT Content-Length: 0
Example values only. Your headers, addresses and numbers will differ.
Common causes
- Normal success.
How to diagnose it
- Read the CSeq method to see which request the 200 OK answers. A 200 OK for CANCEL, BYE or OPTIONS says nothing about whether a call connected.
- For INVITE, check that an ACK with the same Call-ID follows promptly. Repeated 200 OK retransmissions mean the ACK is lost, usually because the Contact or Record-Route points at a private or wrong address. The 30-second drop guide covers this.
- Read the SDP in the 200 OK. The
c=address must be reachable from the caller, and the chosen codec must be one the caller offered. - For REGISTER, read every Contact. An entry you do not recognise, especially from a foreign IP, means someone else holds the credentials and should be treated as a security incident.
- Compare the
expiresthe registrar granted with what the phone requested. Registrars may shorten it, and a phone that ignores the shorter value drops off between refreshes.
How to fix it
- If calls connect but drop after about 30 seconds, the ACK for this 200 OK is not reaching the far end. This is almost always NAT or a wrong Contact or Record-Route header. Fix NAT handling or disable SIP ALG on the router.
Platform notes
Asterisk / FreePBX
pjsip show contacts lists the contacts Asterisk accepted, and pjsip show registrations shows whether your trunk registrations received 200 OK. If answered calls drop at about 32 seconds, check the external address and local networks under Settings > Asterisk SIP Settings in FreePBX.
OpenSIPS / Kamailio
The registrar sends 200 OK from save("location"); confirm what was stored with opensips-cli -x mi ul_dump or kamcmd ul.dump. For calls, record-route and fix NATed Contact headers in replies, or the ACK and BYE will bypass the proxy or head for private addresses.
Phones and softphones
A phone shows as registered only after a 200 OK to REGISTER. If it keeps flipping between registered and failed, compare its re-register interval with the granted expiry and with the router's UDP NAT timeout.
SIP 200 FAQ
Does 200 OK mean the call has audio?
No. It means the signalling succeeded. Audio depends on the SDP addresses and on RTP passing NAT and firewalls, which is a separate path from the SIP messages.
Why does the far end keep resending 200 OK?
It has not received the ACK. After about 32 seconds without one it normally ends the call, so later requests on that call may get 481.
Why does a REGISTER 200 OK list more than one Contact?
The registrar returns every current binding for the account, so several devices sharing one extension each appear. Unexpected entries can also be stale registrations or stolen credentials.
Related codes
Related guides
Calls Dropping After 30 Seconds
Why VoIP calls drop after about 32 seconds: lost ACKs, NAT, wrong Contact headers and SIP ALG, how to prove it in a trace, and fixes for Asterisk and routers.
How to Fix One-Way Audio on VoIP Calls
One side can't hear the other? A step-by-step guide to fixing one-way and no-audio VoIP calls caused by NAT, SIP ALG, firewalls and wrong SDP addresses.