T.38 Fax Relay and the Fallback Nobody Tests
Fax is often declared obsolete right up to the moment a medical practice, a law firm or a government office explains that a signed document still has to arrive by fax. Sending fax over an IP network is possible in two main ways, and the difference between them explains most of the inconsistent results people report. One approach carries the fax as ordinary audio; the other, T.38, demodulates the pages at one end and sends the data as packets. Knowing which path a call took is the first step in diagnosing a failed transmission.
Two Ways to Send a Fax Over IP
The simple method, often called fax pass-through, treats the fax machine's tones as audio and carries them in an uncompressed codec such as G.711. This works when the path is clean, has low delay and does not repacketise the audio. It fails when compression, jitter buffering or packet loss disturb the tones, because fax modems are far less tolerant than human speech. Many single-page faxes succeed this way and multi-page ones fail, which is a characteristic symptom.
T.38 takes a different approach. A gateway or endpoint at the sending side demodulates the fax signal into data, sends that data across the IP network, and remodulates it at the receiving side. Because the content is data rather than audio, normal voice codec handling no longer applies and the transmission is much more robust over a packet network. It requires that both sides support T.38 and that the signalling negotiates it cleanly; otherwise the call falls back to audio.
| Method | How it carries fax | Strength | Weakness |
|---|---|---|---|
| G.711 pass-through | Audio tones | Simple, no T.38 needed | Sensitive to loss and compression |
| T.38 relay | Demodulated data packets | Robust over IP | Needs support on both sides |
| Mixed call | T.38 then fallback | Handles mismatch | Fallback may fail under loss |
Where the Handshake Goes Wrong
T.38 is negotiated during call setup. The sending side indicates that it can switch to T.38, typically after detecting fax tones, and the receiving side must accept. If it does not, the call stays as an audio call and proceeds with pass-through. This negotiation is where many failures begin: an carrier may advertise T.38 but reject the switch, a gateway may delay the re-INVITE until the fax has already begun, or an endpoint may ignore the request and continue sending tones.
A trace of a failed fax usually shows one of these patterns. A re-INVITE with T.38 that receives no answer, a switch that occurs after the fax has timed out, or a successful T.38 session that ends with a training failure at the far machine. Each points to a different fix, which is why capturing the signalling alongside the fax result is so valuable. Testing only whether a page arrived gives no clue about which stage failed.
The Fallback Path Must Be Deliberate
T.38 is not always available, so a fallback is necessary. The mistake is to treat fallback as an accident rather than a designed path. If a call falls back to G.711, the network must be capable of carrying uncompressed audio without loss or heavy jitter. On a congested wide-area link, that may not be true, and the fax fails in exactly the situation the fallback was meant to cover. Teams should know whether their carrier supports T.38 end to end and under what conditions the call will fall back.
- Confirm T.38 support on gateways, carrier and receiving device
- Capture signalling when a fax fails, not only the result
- Check that the T.38 switch happens before fax training begins
- Treat G.711 fallback as a designed path that must be tested
- Test multi-page faxes, not only a single short page
- Verify both directions, since sending and receiving differ
- Document which number ranges are expected to carry fax
A Practical Test Plan
A useful fax test is deliberately unglamorous. Send a page with a dense image and a page with small text, in both directions, to a known working machine. Repeat at a busy time of day as well as a quiet one. Record the result and capture the call signalling for each attempt. This small set of tests reveals most problems: a codec mismatch, a carrier that only works at low load, or a local machine that behaves differently from the rest of the estate.
Where fax remains business critical, dedicating a number range to fax traffic simplifies everything. Calls to those numbers can be routed to gateways with T.38 enabled and never sent through a path that compresses audio. Mixing fax and voice on the same numbers is possible, but it makes reliable detection harder and increases the chance that a fax call begins on a route that cannot handle it. A clear separation is easier to support and easier to explain when something fails.
| Test | Pass condition | If it fails |
|---|---|---|
| Single page, quiet period | Page arrives complete | Inspect T.38 negotiation |
| Multi-page, busy period | All pages arrive | Check congestion and fallback |
| Inbound fax | Receiving machine trains | Check receiving gateway support |
| Fallback forced | Page still arrives | Remove compression on that route |
Redstone Approach
Redstone RGW gateways support fax handling across analogue and IP legs, and REX IP-PBX platforms can route fax traffic to defined destinations so it follows a path suited to T.38. Because reliable fax depends on the carrier and receiving equipment as well as the local gateway, Redstone deployments are best validated with an end-to-end test that covers negotiation, fallback and busy-period behaviour.
Redstone Systems, Inc. founded in Delaware, USA in December 2002, has been the ODM vendor for many well-known communications companies, serving the Southeast Asian market. In 2020, Redstone Systems will begin to return to the North America market with its self-developed brand.
Redstone has a complete product line of intelligent voice gateways, providing IP-PBXs, analog VoIP gateways (FXS/FXO), digital VoIP gateways (E1/T1), border appliances, and session boundary controllers (SBCs).
With advanced technology in digital signal processor (DSP), speech coding and speech processing, as well as efficient operational tools such as cloud remote management, auto provisioning, Redstone gateways are widely used in markets of enterprise communications, cloud communications, call centers, operators’ IMS/SIP trunks, bringing users friendly, efficient and reliable communication experience.
For more information about Redstone, You can follow us on Facebook, Linkedin, and Youtube to be the first to get the latest news.

Current Location :

