Skip to content

SIP 504 Server Time-out

What SIP 504 means

A server did reply, to tell you it could not get an answer from something further along. Unlike a 408, where nothing came back at all, a 504 confirms your signalling is reaching a working server and the problem lies beyond it.

What SIP 504 Server Time-out actually means

The server did not receive a timely response from an external server it needed to consult. That distinction from a 408 is diagnostically valuable: your path to that server is fine, so you can stop investigating your own firewall and start looking upstream.

What causes SIP 504 on a business phone system

How to fix SIP 504

  1. Test several destinationsIf only some fail, it is an upstream route. If all fail, it is closer to the platform. This narrows it in one test.
  2. Confirm your trunk host records are currentCompare against your provider current documentation, since host details change after platform migrations.
  3. Report it with the affected numbers and a Call-IDA 504 is beyond your edge. Giving the provider the destinations that fail and one Call-ID gets it looked at properly.

Fixing the underlying problem

This page explains the code. These guides walk through the fix in detail.

Questions about SIP 504

What is the difference between SIP 408 and SIP 504?
A 408 means nothing answered you at all, so suspect your own firewall or NAT. A 504 means a server did answer, to say it could not get a reply from something further upstream. A 504 therefore proves your signalling path is working and moves the investigation beyond you.

Call hangup causes that become SIP 504

If the call crossed a gateway between SIP and ISDN or SS7, this status may have started life as one of these Q.850 cause values. The mapping is defined in RFC 3398 section 7.2.4.1.

Related SIP response codes

Source. SIP 504 Server Time-out is defined in RFC 3261 section 21.5.5 and registered in the IANA SIP Parameters — Response Codes. The causes and fixes above are drawn from our own experience supporting UK business phone systems.

All VoIP & SIP codes

Sitemap