Fax over IP (FoIP)

Imagicle Team

How fax over IP works

A fax over IP call starts like a voice call. A fax machine or a fax server dials, the Session Initiation Protocol (SIP) sets up the call, and the media flows as G.711 audio. T.30 is the protocol fax devices use to negotiate a connection and send pages. T.30 was designed for analog lines, where timing is stable and no data is lost. When a gateway detects fax tones, the call takes one of two paths:

  • G.711 passthrough: the fax tones stay inside the voice stream as uncompressed audio. G.711 has no protection designed for fax data.
  • T.38: an ITU-T standard in which the gateway demodulates the fax signal and sends the fax data as dedicated packets. Each packet also carries copies of earlier packets, so a lost packet can be rebuilt from the next one. To move from audio to T.38, the gateway sends a SIP re-INVITE, a mid-call request to change the media of the session. If the other side declines, the fax stays on G.711.

The reliability of a fax over IP setup depends on four variables. The first is packet loss and jitter on the network path: a T.30 handshake that loses data or timing fails, and the fax is not delivered. The second is end-to-end T.38 support: every element between sender and receiver must accept T.38, including session border controllers, firewalls, the SIP provider, and the point where the call reaches the public phone network. The third is redundancy settings: the number of earlier packets repeated in each T.38 packet must be compatible on both sides. The fourth is Error Correction Mode (ECM), a T.30 option that retransmits damaged parts of a page. Without ECM, a page can arrive with missing or garbled lines, and neither side is warned.

What fax over IP is used for

Fax over IP is used wherever faxes still need to be sent and received after analog lines are removed. The uses split into two groups, by one question: does the fax start on a device that still produces an analog fax signal, or in software that produces the fax as data?

Analog fax devices on an IP network

  • Fax machines and multifunction printers: an analog telephone adapter (ATA) or a voice gateway connects the device to the IP network, so the device keeps working after the analog lines are migrated to SIP.

Software fax on an IP network

  • Fax servers on SIP trunks: a fax server sends and receives faxes directly on the SIP trunk, without fax boards or modems. Users get each fax as a PDF by email, in a web portal, or in their collaboration client.
  • Fax in regulated industries: insurance, public administration, and healthcare still use fax because regulation requires it. A fax server keeps every fax in a searchable archive instead of on paper.

What to check before you deploy one

When a fax leaves your SIP provider’s network, what carries it the rest of the way?
A real answer names where T.38 is converted back to audio, and how close that point is to the public phone network. An empty answer is “we support T.38”, with no word on where the support ends.

What happens when the other side rejects the T.38 re-INVITE?
A real answer says that the fax falls back to G.711, and shows where you can see which method each fax actually used. An empty answer is “the system handles it automatically”.

Which devices between your fax server and the provider could block a re-INVITE?
A real answer lists the session border controllers and firewalls that were tested, and the ports that T.38 traffic needs open. An empty answer is “it uses standard SIP”.

When a page arrives with missing lines, how would anyone know?
A real answer says whether ECM is enabled, and points to a transmission report per fax with pages, speed, and outcome. An empty answer is “you get a delivery confirmation”.

When a fax fails at three in the morning, what does the sender see the next day?
A real answer shows the failure reason for that fax, the retry policy, and the notification the sender receives. An empty answer is “you can resend it”.

Where Imagicle fits

Digital Fax is a software fax server that carries fax over IP with T.38 or G.711 passthrough on your SIP trunks, so analog lines, modems, and fax boards are no longer needed. Digital Fax runs on-premises, in the cloud, or in a hybrid setup. Users send and receive faxes from email, a web interface, a virtual printer, or their collaboration client. Every fax is stored in an encrypted archive with role-based access and an audit trail.

Digital Fax brings fax over IP to the calling platform you already run, with T.38 or G.711 passthrough on your SIP trunks.
Guides, webinars and articles that show these terms at work in real setups.