The fax machine dials, the far end answers with its tone, the first page goes through, and then the send fails. Sometimes the recipient gets one page and half of the next. It worked for years on the copper line, and the trouble started the week the phones moved to a cloud system or a SIP trunk. Fax over VoIP fails this way because a fax call is a long, timing-sensitive modem session, and the network now carrying it was built for voice, which tolerates small losses that a modem cannot.
The fix depends on which of two transport methods the call is using, whether every device in the path agrees on it, and how much loss and jitter the path really has. Sometimes the right fix is to stop sending fax as audio at all.
Why does a fax fail after a page instead of at the start?
Cisco's fax troubleshooting guide splits a fax call into four phases: call setup, switchover, pre-message procedures, and in-message and post-message procedures. A failure at the very start points at setup or switchover. A failure after a page has gone through points at the last phase, where page data is sent and the machines then confirm it.
That confirmation is a short exchange of T.30 signals. Cisco defines MCF (Message Confirmation) as the receiver saying a message was satisfactorily received, RTN (Retrain Negative) as the receiver saying the previous message was not satisfactorily received, and DCN (Disconnect) as the signal that ends the call. A page that arrives damaged triggers a retrain, and Cisco notes that fax devices retrain to a lower speed if training at a higher speed fails. Each extra round trip is another chance for a lost packet to end the session.
Cisco is direct about the symptom: incomplete output on the receiving fax is a symptom of failures due to packet loss. Bandwidth, a carrier, says the same thing in its own fax guidance: packet loss or jitter can make a fax machine think the call has hung up, which can stop some pages from fully transmitting. A multi-page fax simply spends longer exposed to the network than a one-page test.
T.38 relay or G.711 pass-through: which one is carrying your fax?
There are two ways to carry fax across an IP network.
- G.711 pass-through. The fax tones are sent as ordinary uncompressed audio. Cisco describes pass-through as a common 64 kbps G.711 channel. Nothing interprets the fax; the network just has to deliver the audio cleanly.
- T.38 relay. The gateway or adapter nearest each fax machine demodulates the fax signal and sends the fax data itself across the network, then rebuilds the tones at the far end. RFC 3362, published in August 2002, registered the image/t38 media type for use in SDP, which is how SIP devices describe a T.38 stream.
Cisco publishes different network targets for each. For pass-through: delay under 1000 ms, jitter under 30 ms, and packet loss of none. For T.38: delay under 1000 ms, jitter under 300 ms, and packet loss of none unless T.38 is running with redundancy. T.38 is far more forgiving of jitter, partly because, per Cisco, it uses 300 ms fixed jitter or playout buffers. Neither method tolerates real packet loss.
Compressed voice codecs are out entirely. Bandwidth states that all codecs with compression will not work for fax. Cisco's guide adds that with G.729 and the default fax rate voice setting, a fax is limited to 7200 bps.
What do the ATA and the provider have to agree on?
A T.38 call almost always starts as a voice call. Bandwidth's T.38 guide describes the sequence: set up the call with G.711, then move to T.38 through a re-INVITE, which must be offered and accepted. In Cisco's example the re-INVITE carries an SDP line of the form m=image 17924 udptl t38 along with attributes such as a=T38FaxVersion:0, a=T38MaxBitRate, a=T38FaxRateManagement:transferredTCF, a=T38FaxMaxDatagram and a=T38FaxUdpEC:t38UDPRedundancy. The last one is where redundancy is negotiated.
If the far side refuses, the answer is a 488 Not Acceptable Here. Bandwidth advises being prepared to fall back to G.711 when a 488 is received. Its guide also notes that T.38 is vulnerable unless every carrier in the call path supports it, and that it recommends setting MaxDatagram to 176. That value is Bandwidth's; your provider may publish a different one, so ask.
On the adapter side, the settings to check have names like these on a Grandstream HT80x, and similar ones on most ATAs:
- Fax Mode: T.38 (Auto Detect) FoIP or Pass-Through. The default is T.38. Pass-Through needs PCMU or PCMA as the preferred codec.
- Re-INVITE after Fax Tone Detection: whether the adapter sends the re-INVITE when it hears a fax tone. The default is Enabled.
- Re-INVITE Upon CNG Count: when the adapter is the sender, how many CNG tones trigger the re-INVITE; 0 disables it.
- Jitter Buffer Type: Fixed or Adaptive, default Adaptive.
- VAD: silence suppression, default off. Leave it off on a fax port.
The rule is simple: both ends must be set to the same method. An ATA that insists on T.38 against a provider that answers 488 with no fallback will fail. An ATA in pass-through behind a provider that forces T.38 will fail differently. Ask the provider in writing which method it supports on your trunk or account, and set the adapter to match.
Should ECM be on or off, and what speed should the machine use?
Error Correction Mode lets the receiver ask for damaged blocks of a page to be resent. That sounds helpful on a lossy network, and on a clean one it is. On a lossy one it is the opposite. Cisco's fax relay guide states that ECM has a low tolerance, approximately two percent, for jitter and packet loss, and that fax reliability is increased greatly with ECM disabled, even with much higher packet loss, about 10 percent, and delay.
Bandwidth goes further for G.711 pass-through, stating that ECM is not supported today on G.711 faxing and that customers should turn ECM off on the fax machine. It also recommends setting the machine to its lowest baud rate, and notes G.711 faxing will be limited to 9600 or 14.4k.
There is one interaction to know. Cisco notes that ECM is optional for G3 fax but mandatory for Super G3, the faster mode, and that its gateways only support G3 calls with T.38. Turning ECM off on the machine therefore also keeps it out of Super G3, which is usually what you want on an IP path. Cisco's guide also says the fax rate command can be used to test operation at different speeds, which is the same idea on the gateway side.
Worked example: a clinic whose referrals stop at page two
A 40-person medical clinic moved to a hosted phone system and kept its fax number on a two-port ATA. Single-page faxes worked. Multi-page referrals to one hospital failed after the first page about half the time, and the hospital's staff reported receiving page one with a ragged strip at the bottom.
The admin worked through it in order. First, Cisco's advice to split the call into two legs: the ATA to the provider, and the provider to the hospital. The ATA's Fax Mode was T.38, but a packet capture on the LAN showed the re-INVITE to image/t38 being answered with a 488, after which the call stayed in G.711 with an adaptive jitter buffer. The call was running pass-through without anyone having chosen it.
Second, the provider confirmed its platform did not offer T.38 on that product and recommended pass-through. The admin set Fax Mode to Pass-Through with PCMU, set Jitter Buffer Type to Fixed, and confirmed VAD was off. Third, on the fax machine itself, ECM went off and the maximum speed went to 9600.
The result was better, not perfect. Ten-page tests to the hospital now completed most of the time, but a ping test from the office to the provider's edge showed jitter spikes well past Cisco's 30 ms pass-through target during busy hours, on a cable connection. The clinic moved referral sending to the provider's internet fax portal, kept the ATA for inbound faxes from small offices, and stopped losing pages.
Where this goes wrong
- Testing with a one-page fax. A cover sheet tells you almost nothing. Test with ten pages to the number that fails.
- Assuming T.38 is in use because the ATA says T.38. If the re-INVITE is refused, the call silently stays in G.711. Check the SIP trace, not the setting.
- Leaving a compressed codec first in the list. If the fax port negotiates G.729, the call is limited before it starts.
- Clock slips on a digital trunk. If a T1 or PRI is still in the path, Cisco notes fax relay is very sensitive to slips, and that those errors are not noticeable on voice calls but can cause faxes to fail.
- Expecting a guarantee. Bandwidth states there is no SLA on fax performance and that it cannot guarantee every fax transmission will complete.
- Ignoring the far end. T.38 needs every carrier in the path to cooperate. A fax that fails only to one destination may be failing on that carrier's side.
When should you stop tuning and move the line?
Bandwidth's own guidance is to avoid relying on VoIP for regular, large, multi-page faxing. It suggests a unified solution such as eFax for volume, and an analog line with a traditional fax machine for heavy fax users. Those are the two exits.
An internet fax service takes the audio out of the problem. Instead of tones crossing your network, documents move as files over HTTPS. Telnyx's fax API is a typical example: you send a fax with an HTTPS POST to its faxes endpoint, naming a media_url that points to the document, typically a PDF, and the service handles the call to the destination. The office network no longer carries the modem session at all.
A copper replacement product suits a fax machine that must stay a fax machine, for example where staff will not change a workflow or a device must keep dialing a number. That choice belongs with the building's other analog lines, such as alarms and elevators, and is a different evaluation.
The decision rule
First make the ATA and the provider agree: confirm in a SIP trace whether the call runs T.38 or G.711, and set the adapter to the method the provider supports. Then turn ECM off and cap the machine at 9600. Retest with ten pages. If multi-page faxes still fail, or if the measured jitter is above 30 ms on a pass-through call, stop tuning: move outbound faxing to an HTTPS fax service, and keep an analog-grade line only for the machines that genuinely cannot change.
