408 4xx Client error RFC 3261
SIP 408 Request Timeout
The server could not produce a response in time, for example because the user could not be located or no answer came from downstream.
408 Request Timeout means nobody answered in time. Many 408s never cross the network: when a phone or PBX sends a request over UDP and hears nothing, its SIP stack retransmits for about 32 seconds and then reports a timeout to the application as if a 408 had arrived. RFC 3261 requires this, which is why a 408 can appear in logs even though the far end sent nothing.
Proxies also generate 408 when a downstream hop stays silent, or when a phone keeps ringing past the proxy's INVITE timer. Those 408s are real messages, but they still only describe silence further along the path.
For a caller, a 408 usually means a long wait without ringing, then failure. For a phone, it means "registration timed out" and the extension shows offline. Because it is a symptom of missing packets, the fix is almost always about reachability (wrong server address or port, firewall rules, NAT, DNS or a transport mismatch) rather than SIP settings as such.
What it looks like in a SIP trace
PBX -> Carrier : INVITE sip:+27215550123@sip.example.net SIP/2.0 t=0.0 s PBX -> Carrier : INVITE (retransmission) t=0.5 s PBX -> Carrier : INVITE (retransmission) t=1.5 s PBX -> Carrier : INVITE (retransmission) t=3.5 s PBX -> Carrier : INVITE (retransmission) t=7.5 s PBX -> Carrier : INVITE (retransmission) t=15.5 s PBX -> Carrier : INVITE (retransmission) t=31.5 s (no response; Timer B = 64 x T1 = 32 s expires) PBX : transaction timeout, handled as 408 Request Timeout PBX : fails the call or tries the next trunk in the route
Example values only. Your headers, addresses and numbers will differ.
Common causes
- The far end is unreachable (firewall, NAT, wrong IP or port).
- Packets lost because of UDP fragmentation or a SIP ALG.
- A downstream proxy or carrier is not responding.
How to diagnose it
- Work out whether the 408 crossed the wire. If the capture shows only your own retransmissions, your side generated it, and the question is why the far end never replied.
- Capture on the outside interface of your firewall or PBX. If requests leave but nothing returns, check the destination IP, port and transport, and confirm that the provider allows your source IP.
- Check DNS. A SIP domain resolved through SRV or NAPTR records may point at a server or port you did not expect, so resolve it from the PBX itself and compare with the trace.
- Check message size. Large INVITEs over UDP fragment and some firewalls drop fragments, so small OPTIONS succeed while INVITEs time out. Switching the trunk to TCP is a quick test.
- For phones, make sure the NAT binding stays open. If the router's UDP timeout is shorter than the keepalive or registration interval, calls to the phone time out until it re-registers; see the registration guide.
- A ringing call that ends in 408 after a fixed time is a ring timeout on a proxy or PBX, not a network fault.
How to fix it
- Check whether requests leave your network, using sngrep or tcpdump on the public interface.
- Open UDP 5060 (or your SIP port) and RTP ranges on the firewall, and disable SIP ALG.
- Try TCP or TLS transport if large INVITEs are being fragmented.
Platform notes
Asterisk / FreePBX
Set qualify_frequency on the trunk's AOR so pjsip show contacts shows whether the carrier answers OPTIONS and the round-trip time; a contact marked Unavail explains timeouts before any call is placed.
OpenSIPS / Kamailio
Proxies generate 408 when transaction timers expire: fr_timeout and fr_inv_timeout in OpenSIPS, fr_timer and fr_inv_timer in Kamailio. In a failure route, t_check_status("408") lets you fail over to another gateway, and dispatcher or drouting probing can mark silent gateways inactive before calls reach them.
Phones and softphones
If a phone shows 408 on registration, check the transport as well as the address: UDP sent to a TLS-only port simply times out.
SIP 408 FAQ
Who sends a SIP 408?
Either a proxy that waited too long for the next hop, or your own device, which treats an unanswered request as 408 after about 32 seconds. A locally generated 408 has no matching packet from the far end in the trace.
What is the difference between 408 and 503?
408 means silence: no answer arrived. 503 means a server answered and said it cannot help right now, which is a more useful clue.
Why does a 408 end a call that was already connected?
When an in-dialog request such as a re-INVITE or session-timer refresh times out, RFC 3261 says the sender should end the dialog, so a lost refresh can hang up an established call.
Related codes
Related guides
SIP Registration Failed? Troubleshooting Checklist
Fix failed SIP registrations step by step: read 401, 403, 404, 408, 423 and 503 replies, then check DNS, ports, NAT, fail2ban bans and Asterisk PJSIP.
SIP ALG: What It Is and Why to Disable It
What SIP ALG does, why it breaks VoIP calls and registrations, how to tell if it's causing problems, and how to turn it off on common routers and firewalls.